blob: ece2c75ed19f10a6ce4dd51650276fcf4384c67d [file] [log] [blame]
Martin Polreich48ae3e12017-04-13 10:53:32 +02001---
2driver:
3 name: docker
4 hostname: docker.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
11 salt_version: latest
12 require_chef: false
13 log_level: error
14 formula: docker
15 grains:
16 noservices: True
17 state_top:
18 base:
19 "*":
20 - linux
21 - docker
22 pillars:
23 top.sls:
24 base:
25 "*":
26 - docker_debian_repo
27 - docker
28 docker.sls:
29 docker:
30 client:
31 compose:
32 source:
33 engine: pip
34 pillars-from-files:
35 docker_debian_repo.sls: tests/pillar/repo_docker.sls
36 dependencies:
37 - name: linux
38 repo: git
Martin Polreich1cf891b2018-12-13 15:19:29 +010039 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git
Martin Polreich24508972019-04-25 17:36:02 +020040 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin Polreich48ae3e12017-04-13 10:53:32 +020041
42verifier:
43 name: inspec
44 sudo: true
45
Martin Polreich1cf891b2018-12-13 15:19:29 +010046docker_images:
Martin Polreich24508972019-04-25 17:36:02 +020047 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%>
48 - &xenial-20183 <%=ENV['IMAGE_XENIAL_20183'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2018.3:latest'%>
Martin Polreich1cf891b2018-12-13 15:19:29 +010049
Martin Polreich48ae3e12017-04-13 10:53:32 +020050platforms:
Martin Polreich1cf891b2018-12-13 15:19:29 +010051 - name: xenial-2017.7
52 driver_config:
53 image: *xenial-20177
54 platform: ubuntu
55
Martin Polreich24508972019-04-25 17:36:02 +020056 - name: xenial-2018.3
Martin Polreich1cf891b2018-12-13 15:19:29 +010057 driver_config:
Martin Polreich24508972019-04-25 17:36:02 +020058 image: *xenial-20183
Martin Polreich48ae3e12017-04-13 10:53:32 +020059 platform: ubuntu
60
61suites:
62
Ivan Berezovskiy1c909de2018-12-21 13:52:09 +040063 - name: client_images
64 provisioner:
65 pillars-from-files:
66 docker.sls: tests/pillar/client_images.sls
67
Martin Polreich48ae3e12017-04-13 10:53:32 +020068 - name: client_compose
69 provisioner:
70 pillars-from-files:
71 docker.sls: tests/pillar/client_compose.sls
72
73 - name: client_container
74 provisioner:
75 pillars-from-files:
76 docker.sls: tests/pillar/client_container.sls
77
78 - name: host_single
79 provisioner:
80 pillars-from-files:
81 docker.sls: tests/pillar/host_single.sls
82# vim: ft=yaml sw=2 ts=2 sts=2 tw=125