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 |
Martin Polreich | a718242 | 2019-04-10 08:21:44 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Martin Polreich | 7e82eab | 2018-12-20 14:27:00 +0100 | [diff] [blame] | 22 | state_top: |
| 23 | base: |
| 24 | "*": |
| 25 | - linux.system.repo |
| 26 | - gerrit |
| 27 | pillars: |
| 28 | top.sls: |
| 29 | base: |
| 30 | "*": |
| 31 | - mcp_extra_repo |
| 32 | - gerrit |
| 33 | pillars-from-files: |
| 34 | mcp_extra_repo.sls: tests/pillar/mcp_extra_repo.sls |
| 35 | |
| 36 | verifier: |
| 37 | name: inspec |
| 38 | sudo: true |
| 39 | |
| 40 | docker_images: |
Martin Polreich | 7e82eab | 2018-12-20 14:27:00 +0100 | [diff] [blame] | 41 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 42 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 43 | |
| 44 | platforms: |
Martin Polreich | 7e82eab | 2018-12-20 14:27:00 +0100 | [diff] [blame] | 45 | - name: xenial-2017.7 |
| 46 | driver_config: |
| 47 | image: *xenial-20177 |
| 48 | platform: ubuntu |
| 49 | |
| 50 | - name: xenial-stable |
| 51 | driver_config: |
| 52 | image: *xenial-stable |
| 53 | platform: ubuntu |
| 54 | |
| 55 | suites: |
| 56 | - name: server |
| 57 | provisioner: |
| 58 | pillars-from-files: |
| 59 | gerrit.sls: tests/pillar/server.sls |
| 60 | |
| 61 | - name: client |
| 62 | provisioner: |
| 63 | pillars-from-files: |
| 64 | gerrit.sls: tests/pillar/client.sls |