Michal Zegan | 1ec19b0 | 2019-04-30 14:52:13 +0200 | [diff] [blame] | 1 | --- |
| 2 | dependency: |
| 3 | name: galaxy |
| 4 | driver: |
| 5 | name: docker |
| 6 | lint: |
| 7 | name: yamllint |
| 8 | platforms: |
| 9 | - name: infrastructure-server |
| 10 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 11 | pre_build_image: true |
| 12 | privileged: true |
| 13 | override_command: false |
| 14 | restart_policy: unless-stopped |
| 15 | volumes: |
| 16 | - /var/lib/kubelet |
| 17 | - /var/lib/docker |
| 18 | env: |
| 19 | container: docker |
| 20 | groups: |
| 21 | - infrastructure |
Michal Zegan | 2f97acd | 2019-06-03 14:58:20 +0200 | [diff] [blame^] | 22 | - kubernetes-etcd |
Michal Zegan | 1ec19b0 | 2019-04-30 14:52:13 +0200 | [diff] [blame] | 23 | - kubernetes-control-plane |
Michal Zegan | 89e6314 | 2019-05-28 17:16:47 +0200 | [diff] [blame] | 24 | - kubernetes |
Michal Zegan | 1ec19b0 | 2019-04-30 14:52:13 +0200 | [diff] [blame] | 25 | networks: |
| 26 | - name: rke |
| 27 | purge_networks: true |
| 28 | |
| 29 | - name: kubernetes-node-1 |
| 30 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 31 | pre_build_image: true |
| 32 | privileged: true |
| 33 | override_command: false |
| 34 | restart_policy: unless-stopped |
| 35 | env: |
| 36 | container: docker |
| 37 | volumes: |
| 38 | - /var/lib/kubelet |
| 39 | - /var/lib/docker |
| 40 | groups: |
| 41 | - kubernetes |
Michal Zegan | 89e6314 | 2019-05-28 17:16:47 +0200 | [diff] [blame] | 42 | - kubernetes-node |
Michal Zegan | 1ec19b0 | 2019-04-30 14:52:13 +0200 | [diff] [blame] | 43 | networks: |
| 44 | - name: rke |
| 45 | purge_networks: true |
| 46 | |
| 47 | - name: kubernetes-node-2 |
| 48 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 49 | pre_build_image: true |
| 50 | privileged: true |
| 51 | override_command: false |
| 52 | restart_policy: unless-stopped |
| 53 | env: |
| 54 | container: docker |
| 55 | volumes: |
| 56 | - /var/lib/kubelet |
| 57 | - /var/lib/docker |
| 58 | groups: |
| 59 | - kubernetes |
Michal Zegan | 89e6314 | 2019-05-28 17:16:47 +0200 | [diff] [blame] | 60 | - kubernetes-node |
Michal Zegan | 1ec19b0 | 2019-04-30 14:52:13 +0200 | [diff] [blame] | 61 | networks: |
| 62 | - name: rke |
| 63 | purge_networks: true |
| 64 | |
| 65 | provisioner: |
| 66 | name: ansible |
| 67 | env: |
| 68 | ANSIBLE_ROLES_PATH: ../../../../test/roles |
| 69 | ANSIBLE_LIBRARY: ../../../../library |
| 70 | inventory: |
| 71 | links: |
| 72 | group_vars: ../../../../group_vars |
| 73 | options: |
| 74 | e: "app_data_path=/opt/onap" |
| 75 | lint: |
| 76 | name: ansible-lint |
| 77 | scenario: |
| 78 | name: default |
| 79 | verifier: |
| 80 | name: testinfra |
| 81 | lint: |
| 82 | name: flake8 |