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'%> |
Martin Polreich | 1cf891b | 2018-12-13 15:19:29 +0100 | [diff] [blame] | 48 | |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 49 | platforms: |
Martin Polreich | 1cf891b | 2018-12-13 15:19:29 +0100 | [diff] [blame] | 50 | - name: xenial-2017.7 |
| 51 | driver_config: |
| 52 | image: *xenial-20177 |
| 53 | platform: ubuntu |
| 54 | |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 55 | suites: |
| 56 | |
Ivan Berezovskiy | 1c909de | 2018-12-21 13:52:09 +0400 | [diff] [blame] | 57 | - name: client_images |
| 58 | provisioner: |
| 59 | pillars-from-files: |
| 60 | docker.sls: tests/pillar/client_images.sls |
| 61 | |
Pavel Cizinsky | 55e0f75 | 2019-05-06 09:28:12 +0200 | [diff] [blame] | 62 | - name: client_compose_pip |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 63 | provisioner: |
| 64 | pillars-from-files: |
Pavel Cizinsky | 55e0f75 | 2019-05-06 09:28:12 +0200 | [diff] [blame] | 65 | docker.sls: tests/pillar/client_compose_pip.sls |
| 66 | |
| 67 | - name: client_compose_pkg |
| 68 | provisioner: |
| 69 | pillars-from-files: |
| 70 | docker.sls: tests/pillar/client_compose_pkg.sls |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 71 | |
| 72 | - name: client_container |
| 73 | provisioner: |
| 74 | pillars-from-files: |
| 75 | docker.sls: tests/pillar/client_container.sls |
| 76 | |
Ivan Berezovskiy | 88d4402 | 2019-01-23 19:54:24 +0400 | [diff] [blame] | 77 | - name: host |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 78 | provisioner: |
| 79 | pillars-from-files: |
Ivan Berezovskiy | 88d4402 | 2019-01-23 19:54:24 +0400 | [diff] [blame] | 80 | docker.sls: tests/pillar/host.sls |
Martin Polreich | 48ae3e1 | 2017-04-13 10:53:32 +0200 | [diff] [blame] | 81 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |