batsim_ci.yaml 1.56 KB
Newer Older
Michael Mercier's avatar
Michael Mercier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#==============================================================================
# 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

# Checkpoint only with btrfs
checkpoint: btrfs.yaml
extend: default/from_image/debian8.yaml

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

  simgrid_commit: dccf1b41e9c7b # Wed Nov 30 14:08:01 2016
32
  execo_commit: 75d668d
Michael Mercier's avatar
Michael Mercier committed
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

bootstrap:
  - "@base"

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

  #
  # Simulator and schedulers install
  #
  - configure_apt_testing

  - install_common_deps:

    - install_build_tools:
      - exec_in: |
          apt-get -y -t testing install cmake gcc clang g++
          update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-6 100

  - simgrid_install:
57
    - commit_hash: $${simgrid_commit}
Michael Mercier's avatar
Michael Mercier committed
58

Michael Mercier's avatar
Michael Mercier committed
59
  - batsim_dependencies
Michael Mercier's avatar
Michael Mercier committed
60
61
62
63
64
65

  - reprozip:
    - reprozip_version: 1.0.8

export:
  - "@base"
66
67
  - docker_export