Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: kubernetes |
| 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: kubernetes |
| 15 | grains: |
| 16 | noservices: True |
| 17 | dependencies: |
| 18 | - name: linux |
| 19 | repo: git |
| 20 | source: https://github.com/salt-formulas/salt-formula-linux |
Martin Polreich | 4271eda | 2019-04-10 08:21:45 +0200 | [diff] [blame] | 21 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Matthew Mosesohn | 65baceb | 2017-06-21 17:33:27 +0300 | [diff] [blame] | 22 | - name: contrail |
| 23 | repo: git |
| 24 | source: https://github.com/salt-formulas/salt-formula-opencontrail |
Martin Polreich | 4271eda | 2019-04-10 08:21:45 +0200 | [diff] [blame] | 25 | branch: <%=ENV['GERRIT_BRANCH'] || 'master' %> |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 26 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 27 | state_top: |
| 28 | base: |
| 29 | "*": |
| 30 | - linux |
| 31 | - kubernetes |
| 32 | pillars: |
| 33 | top.sls: |
| 34 | base: |
| 35 | "*": |
| 36 | - linux_repo_docker |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 37 | - linux_repo_opencontrail |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 38 | - linux |
| 39 | - kubernetes |
Petr Michalec | 52d4e1f | 2017-09-11 17:50:54 +0200 | [diff] [blame] | 40 | - kubernetes_extra |
| 41 | kubernetes_extra.sls: {} |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 42 | linux.sls: |
| 43 | linux: |
| 44 | system: |
| 45 | enabled: true |
| 46 | name: kubernetes |
| 47 | pillars-from-files: |
| 48 | linux_repo_docker.sls: tests/pillar/repo_docker.sls |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 49 | linux_repo_opencontrail.sls: tests/pillar/repo_contrail.sls |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 50 | |
| 51 | verifier: |
| 52 | name: inspec |
| 53 | sudo: true |
| 54 | |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 55 | docker_images: |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 56 | - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%> |
| 57 | - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%> |
| 58 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 59 | platforms: |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 60 | - name: xenial-2017.7 |
| 61 | driver_config: |
| 62 | image: *xenial-20177 |
| 63 | platform: ubuntu |
| 64 | |
| 65 | - name: xenial-stable |
| 66 | driver_config: |
| 67 | image: *xenial-stable |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 68 | platform: ubuntu |
| 69 | |
| 70 | suites: |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 71 | - name: master_cluster |
| 72 | provisioner: |
| 73 | pillars-from-files: |
| 74 | kubernetes.sls: tests/pillar/master_cluster.sls |
Martin Polreich | d3618ed | 2018-12-21 12:29:50 +0100 | [diff] [blame] | 75 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 76 | - name: pool_cluster |
| 77 | provisioner: |
| 78 | pillars-from-files: |
| 79 | kubernetes.sls: tests/pillar/pool_cluster.sls |
| 80 | |
Tomáš Kukrál | 23c4df0 | 2017-08-28 13:30:42 +0200 | [diff] [blame] | 81 | - name: pool_cluster_with_domain |
| 82 | provisioner: |
| 83 | pillars-from-files: |
| 84 | kubernetes.sls: tests/pillar/pool_cluster_with_domain.sls |
| 85 | |
Marek Celoud | dc241dc | 2017-06-20 16:23:07 +0200 | [diff] [blame] | 86 | - name: master_contrail4_0 |
| 87 | provisioner: |
| 88 | pillars-from-files: |
| 89 | kubernetes.sls: tests/pillar/master_contrail4_0.sls |
| 90 | |
| 91 | - name: pool_contrail4_0 |
| 92 | provisioner: |
| 93 | pillars-from-files: |
| 94 | kubernetes.sls: tests/pillar/pool_contrail4_0.sls |
Tomáš Kukrál | 13b1edb | 2017-06-08 16:47:34 +0200 | [diff] [blame] | 95 | |
Petr Michalec | 52d4e1f | 2017-09-11 17:50:54 +0200 | [diff] [blame] | 96 | - name: common_storageclass |
| 97 | provisioner: |
| 98 | pillars-from-files: |
| 99 | kubernetes.sls: tests/pillar/master_cluster.sls |
| 100 | kubernetes_extra.sls: tests/pillar/common_storageclass.sls |
| 101 | |
Marek Celoud | 43d293f | 2017-06-07 12:29:24 +0200 | [diff] [blame] | 102 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |