batsim_ci.yaml 1.54 KB
Newer Older
Michael Mercier's avatar
Michael Mercier committed
1
2
3
4
5
6
7
8
9
10
11
12
#==============================================================================
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80
#==============================================================================
#
# DESCRIPTION: An applicance for batsim continuous integration (CI)
#   It contains all the dependencies mandatory for build and tests batsim
#
#==============================================================================

---
## Choose one of them the following extends

MERCIER Michael's avatar
MERCIER Michael committed
13
extend: default/from_upstream_build/debian-stretch
Michael Mercier's avatar
Michael Mercier committed
14
15
16
17
18
19
20
21

global:
  backend: qemu
  btrfs_volume: "/"
  virtualbox_memory_size: 2048
  qemu_memory_size : 2048
  appliance_formats: tar.gz
  appliance_tar_compression_level: fast
22
  setup_packages: git cmake build-essential e2fsprogs $${setup_packages}
Michael Mercier's avatar
Michael Mercier committed
23
24
25
26
  default_keyboard_layout: fr
  default_timezone: Europe/Paris
  root_password: root
  hostname: batsim
Michael Mercier's avatar
Michael Mercier committed
27
  work_dir: /root
Michael Mercier's avatar
Michael Mercier committed
28

29
  simgrid_remote: https://github.com/mpoquet/simgrid.git
Millian Poquet's avatar
Millian Poquet committed
30
  simgrid_commit: 587483ebe7882e # Fri Jan 6 15:45:05 2017
31
32
33
34

  #execo_remote: https://github.com/mickours/execo.git
  execo_remote: https://github.com/mpoquet/execo.git
  execo_commit: 406f4fa06
Michael Mercier's avatar
Michael Mercier committed
35
36
37
38
39
40
41
42
43
44
45

bootstrap:
  - "@base"

setup:
  #
  # General configuration
  #
  - "@base"
  - enable_root_ssh_login

46
47
48
49
50
  - install_ci_deps:
    - install_build_tools:
      - exec_in: apt-get update && apt-get -y install cmake gcc clang g++
    - install_ci_tools:
      - exec_in: apt-get update && apt-get -y install netcat
Michael Mercier's avatar
Michael Mercier committed
51

MERCIER Michael's avatar
MERCIER Michael committed
52
  - simgrid
Michael Mercier's avatar
Michael Mercier committed
53
  - batsim_dependencies
54
  - result_analysis
Michael Mercier's avatar
Michael Mercier committed
55
56
57

export:
  - "@base"
58
59
  - docker_export