| --- |
| driver: |
| name: docker |
| hostname: docker.ci.local |
| use_sudo: false |
| |
| provisioner: |
| name: salt_solo |
| salt_install: bootstrap |
| salt_bootstrap_url: https://bootstrap.saltstack.com |
| salt_version: latest |
| require_chef: false |
| log_level: error |
| formula: docker |
| grains: |
| noservices: True |
| state_top: |
| base: |
| "*": |
| - linux |
| - docker |
| pillars: |
| top.sls: |
| base: |
| "*": |
| - docker_debian_repo |
| - docker |
| docker.sls: |
| docker: |
| client: |
| compose: |
| source: |
| engine: pip |
| pillars-from-files: |
| docker_debian_repo.sls: tests/repo_docker.sls |
| dependencies: |
| - name: linux |
| repo: git |
| source: https://gerrit.mcp.mirantis.com/salt-formulas/linux.git |
| branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
| |
| verifier: |
| name: inspec |
| sudo: true |
| |
| docker_images: |
| - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2017.7:latest'%> |
| - &xenial-20183 <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/mirantis/drivetrain/salt-formulas-ci/salt-formulas-ci-xenial-2018.3:latest'%> |
| |
| platforms: |
| - name: xenial-2017.7 |
| driver_config: |
| image: *xenial-20177 |
| platform: ubuntu |
| |
| - name: xenial-2018.3 |
| driver_config: |
| image: *xenial-20183 |
| platform: ubuntu |
| |
| suites: |
| |
| - name: client_images |
| provisioner: |
| pillars-from-files: |
| docker.sls: tests/pillar/client_images.sls |
| |
| - name: client_compose_pip |
| provisioner: |
| pillars-from-files: |
| docker.sls: tests/pillar/client_compose_pip.sls |
| |
| - name: client_compose_pkg |
| provisioner: |
| pillars-from-files: |
| docker.sls: tests/pillar/client_compose_pkg.sls |
| |
| - name: client_container |
| provisioner: |
| pillars-from-files: |
| docker.sls: tests/pillar/client_container.sls |
| |
| - name: host |
| provisioner: |
| pillars-from-files: |
| docker.sls: tests/pillar/host.sls |
| # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |