Petr Michalec | 39f3dfb | 2017-02-10 12:08:30 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: git.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 | dependencies: |
| 14 | - name: linux |
| 15 | repo: git |
Martin Polreich | 229338e | 2018-12-14 13:43:44 +0100 | [diff] [blame] | 16 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux |
Martin Polreich | 0bec8e2 | 2019-04-10 08:21:44 +0200 | [diff] [blame^] | 17 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Richard Felkl | 66375d8 | 2017-10-09 11:26:23 +0200 | [diff] [blame] | 18 | - name: nginx |
| 19 | repo: git |
Martin Polreich | 229338e | 2018-12-14 13:43:44 +0100 | [diff] [blame] | 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/nginx |
Martin Polreich | 0bec8e2 | 2019-04-10 08:21:44 +0200 | [diff] [blame^] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Petr Michalec | 39f3dfb | 2017-02-10 12:08:30 +0100 | [diff] [blame] | 22 | log_level: error |
| 23 | formula: git |
| 24 | grains: |
| 25 | noservices: True |
| 26 | state_top: |
| 27 | base: |
| 28 | "*": |
| 29 | - git |
| 30 | pillars: |
| 31 | top.sls: |
| 32 | base: |
| 33 | "*": |
| 34 | - git |
| 35 | verifier: |
| 36 | name: inspec |
| 37 | sudo: true |
| 38 | |
Martin Polreich | 229338e | 2018-12-14 13:43:44 +0100 | [diff] [blame] | 39 | docker_images: |
Martin Polreich | 229338e | 2018-12-14 13:43:44 +0100 | [diff] [blame] | 40 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 41 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 42 | |
Petr Michalec | 39f3dfb | 2017-02-10 12:08:30 +0100 | [diff] [blame] | 43 | platforms: |
Martin Polreich | 229338e | 2018-12-14 13:43:44 +0100 | [diff] [blame] | 44 | - name: xenial-2017.7 |
| 45 | driver_config: |
| 46 | image: *xenial-20177 |
| 47 | platform: ubuntu |
| 48 | |
| 49 | - name: xenial-stable |
| 50 | driver_config: |
| 51 | image: *xenial-stable |
Petr Michalec | 39f3dfb | 2017-02-10 12:08:30 +0100 | [diff] [blame] | 52 | platform: ubuntu |
| 53 | |
| 54 | suites: |
Petr Michalec | 39f3dfb | 2017-02-10 12:08:30 +0100 | [diff] [blame] | 55 | - name: client_single |
| 56 | provisioner: |
| 57 | pillars-from-files: |
| 58 | git.sls: tests/pillar/client_single.sls |
Martin Polreich | 229338e | 2018-12-14 13:43:44 +0100 | [diff] [blame] | 59 | |
Richard Felkl | 66375d8 | 2017-10-09 11:26:23 +0200 | [diff] [blame] | 60 | - name: server_single |
| 61 | provisioner: |
| 62 | pillars-from-files: |
| 63 | git.sls: tests/pillar/server_single.sls |
Petr Michalec | 39f3dfb | 2017-02-10 12:08:30 +0100 | [diff] [blame] | 64 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |