Martin Polreich | 7e82eab | 2018-12-20 14:27:00 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: gerrit.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: info |
| 14 | formula: gerrit |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
| 20 | source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git |
| 21 | state_top: |
| 22 | base: |
| 23 | "*": |
| 24 | - linux.system.repo |
| 25 | - gerrit |
| 26 | pillars: |
| 27 | top.sls: |
| 28 | base: |
| 29 | "*": |
| 30 | - mcp_extra_repo |
| 31 | - gerrit |
| 32 | pillars-from-files: |
| 33 | mcp_extra_repo.sls: tests/pillar/mcp_extra_repo.sls |
| 34 | |
| 35 | verifier: |
| 36 | name: inspec |
| 37 | sudo: true |
| 38 | |
| 39 | docker_images: |
Martin Polreich | 7e82eab | 2018-12-20 14:27:00 +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 | |
| 43 | platforms: |
Martin Polreich | 7e82eab | 2018-12-20 14:27:00 +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 |
| 52 | platform: ubuntu |
| 53 | |
| 54 | suites: |
| 55 | - name: server |
| 56 | provisioner: |
| 57 | pillars-from-files: |
| 58 | gerrit.sls: tests/pillar/server.sls |
| 59 | |
| 60 | - name: client |
| 61 | provisioner: |
| 62 | pillars-from-files: |
| 63 | gerrit.sls: tests/pillar/client.sls |