Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: docker.ci.local |
| 5 | use_sudo: false |
| 6 | |
| 7 | provisioner: |
| 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: |
Ivan Berezovskiy | 88d4402 | 2019-01-23 19:54:24 +0400 | [diff] [blame] | 35 | docker_debian_repo.sls: tests/repo_docker.sls |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 36 | dependencies: |
| 37 | - name: linux |
| 38 | repo: git |
Martin Polreich | 1cf891b | 2018-12-13 15:19:29 +0100 | [diff] [blame] | 39 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git |
Martin Polreich | 55e4d4b | 2019-04-10 08:21:43 +0200 | [diff] [blame] | 40 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 41 | |
| 42 | verifier: |
| 43 | name: inspec |
| 44 | sudo: true |
| 45 | |
Martin Polreich | 1cf891b | 2018-12-13 15:19:29 +0100 | [diff] [blame] | 46 | docker_images: |
Martin Polreich | dcc2a88 | 2019-04-25 15:47:52 +0200 | [diff] [blame] | 47 | - &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_STABLE'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2018.3:latest'%> |
Martin Polreich | 1cf891b | 2018-12-13 15:19:29 +0100 | [diff] [blame] | 49 | |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 50 | platforms: |
Martin Polreich | 1cf891b | 2018-12-13 15:19:29 +0100 | [diff] [blame] | 51 | - name: xenial-2017.7 |
| 52 | driver_config: |
| 53 | image: *xenial-20177 |
| 54 | platform: ubuntu |
| 55 | |
Martin Polreich | dcc2a88 | 2019-04-25 15:47:52 +0200 | [diff] [blame] | 56 | - name: xenial-2018.3 |
Martin Polreich | 1cf891b | 2018-12-13 15:19:29 +0100 | [diff] [blame] | 57 | driver_config: |
Martin Polreich | dcc2a88 | 2019-04-25 15:47:52 +0200 | [diff] [blame] | 58 | image: *xenial-20183 |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 59 | platform: ubuntu |
| 60 | |
| 61 | suites: |
| 62 | |
Ivan Berezovskiy | 1c909de | 2018-12-21 13:52:09 +0400 | [diff] [blame] | 63 | - name: client_images |
| 64 | provisioner: |
| 65 | pillars-from-files: |
| 66 | docker.sls: tests/pillar/client_images.sls |
| 67 | |
Pavel Cizinsky | 55e0f75 | 2019-05-06 09:28:12 +0200 | [diff] [blame^] | 68 | - name: client_compose_pip |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 69 | provisioner: |
| 70 | pillars-from-files: |
Pavel Cizinsky | 55e0f75 | 2019-05-06 09:28:12 +0200 | [diff] [blame^] | 71 | docker.sls: tests/pillar/client_compose_pip.sls |
| 72 | |
| 73 | - name: client_compose_pkg |
| 74 | provisioner: |
| 75 | pillars-from-files: |
| 76 | docker.sls: tests/pillar/client_compose_pkg.sls |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 77 | |
| 78 | - name: client_container |
| 79 | provisioner: |
| 80 | pillars-from-files: |
| 81 | docker.sls: tests/pillar/client_container.sls |
| 82 | |
Ivan Berezovskiy | 88d4402 | 2019-01-23 19:54:24 +0400 | [diff] [blame] | 83 | - name: host |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 84 | provisioner: |
| 85 | pillars-from-files: |
Ivan Berezovskiy | 88d4402 | 2019-01-23 19:54:24 +0400 | [diff] [blame] | 86 | docker.sls: tests/pillar/host.sls |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 87 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |