Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: opencontrail |
| 5 | use_sudo: true |
| 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: opencontrail |
| 15 | grains: |
| 16 | noservices: True |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
| 20 | source: https://github.com/salt-formulas/salt-formula-linux |
| 21 | state_top: |
| 22 | base: |
| 23 | "*": |
| 24 | - linux |
| 25 | - opencontrail |
| 26 | pillars: |
| 27 | top.sls: |
| 28 | base: |
| 29 | "*": |
Martin Polreich | 9ea2c47 | 2017-04-06 09:59:10 +0200 | [diff] [blame] | 30 | - linux_repo_openstack |
| 31 | - linux_repo_opencontrail |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 32 | - linux_repo_cassandra |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 33 | - linux |
| 34 | - opencontrail |
| 35 | - opencontrail_juniper |
| 36 | linux.sls: |
| 37 | linux: |
| 38 | system: |
| 39 | enabled: true |
| 40 | name: opencontrail |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 41 | opencontrail_juniper.sls: {} |
| 42 | pillars-from-files: |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 43 | linux_repo_cassandra.sls: tests/pillar/repo_cassandra.sls |
Marek Celoud | 2953624 | 2017-05-23 16:14:52 +0200 | [diff] [blame^] | 44 | linux_repo_opencontrail.sls: tests/pillar/repo_opencontrail_<%= ENV['OC_REPO'] || 'oc311' %>.sls |
Martin Polreich | 9ea2c47 | 2017-04-06 09:59:10 +0200 | [diff] [blame] | 45 | linux_repo_openstack.sls: tests/pillar/repo_openstack.sls |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 46 | |
| 47 | verifier: |
| 48 | name: inspec |
| 49 | sudo: true |
| 50 | |
| 51 | platforms: |
Martin Polreich | 9ea2c47 | 2017-04-06 09:59:10 +0200 | [diff] [blame] | 52 | - name: <%= ENV['PLATFORM'] || 'ubuntu-xenial' %> |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 53 | driver_config: |
Martin Polreich | 9ea2c47 | 2017-04-06 09:59:10 +0200 | [diff] [blame] | 54 | image: <%= ENV['PLATFORM'] || 'trevorj/salty-whales:xenial' %> |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 55 | platform: ubuntu |
| 56 | |
| 57 | suites: |
| 58 | |
Marek Celoud | 2953624 | 2017-05-23 16:14:52 +0200 | [diff] [blame^] | 59 | # - name: single<%= ENV['OC_VERSION'] || '' %> |
| 60 | # provisioner: |
| 61 | # pillars-from-files: |
| 62 | # opencontrail.sls: tests/pillar/single<%= ENV['OC_VERSION'] || '' %>.sls |
| 63 | - name: analytics<%= ENV['OC_VERSION'] || '' %> |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 64 | provisioner: |
| 65 | pillars-from-files: |
Marek Celoud | 2953624 | 2017-05-23 16:14:52 +0200 | [diff] [blame^] | 66 | opencontrail.sls: tests/pillar/analytics<%= ENV['OC_VERSION'] || '' %>.sls |
| 67 | - name: control<%= ENV['OC_VERSION'] || '' %> |
| 68 | provisioner: |
| 69 | pillars-from-files: |
| 70 | opencontrail.sls: tests/pillar/control<%= ENV['OC_VERSION'] || '' %>.sls |
| 71 | # - name: cluster<%= ENV['OC_VERSION'] || '' %> |
| 72 | # provisioner: |
| 73 | # pillars-from-files: |
| 74 | # opencontrail.sls: tests/pillar/cluster<%= ENV['OC_VERSION'] || '' %>.sls |
| 75 | - name: tor<%= ENV['OC_VERSION'] || '' %> |
| 76 | provisioner: |
| 77 | pillars-from-files: |
| 78 | opencontrail.sls: tests/pillar/tor<%= ENV['OC_VERSION'] || '' %>.sls |
| 79 | - name: vrouter<%= ENV['OC_VERSION'] || '' %> |
| 80 | provisioner: |
| 81 | pillars-from-files: |
| 82 | opencontrail.sls: tests/pillar/vrouter<%= ENV['OC_VERSION'] || '' %>.sls |
Petr Michalec | 579e64d | 2017-03-24 12:54:29 +0100 | [diff] [blame] | 83 | |
| 84 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |