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 |
| 22 | - kubernetes-control-plane |
| 23 | networks: |
| 24 | - name: rke |
| 25 | purge_networks: true |
| 26 | |
| 27 | - name: kubernetes-node-1 |
| 28 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 29 | pre_build_image: true |
| 30 | privileged: true |
| 31 | override_command: false |
| 32 | restart_policy: unless-stopped |
| 33 | env: |
| 34 | container: docker |
| 35 | volumes: |
| 36 | - /var/lib/kubelet |
| 37 | - /var/lib/docker |
| 38 | groups: |
| 39 | - kubernetes |
| 40 | networks: |
| 41 | - name: rke |
| 42 | purge_networks: true |
| 43 | |
| 44 | - name: kubernetes-node-2 |
| 45 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 46 | pre_build_image: true |
| 47 | privileged: true |
| 48 | override_command: false |
| 49 | restart_policy: unless-stopped |
| 50 | env: |
| 51 | container: docker |
| 52 | volumes: |
| 53 | - /var/lib/kubelet |
| 54 | - /var/lib/docker |
| 55 | groups: |
| 56 | - kubernetes |
| 57 | networks: |
| 58 | - name: rke |
| 59 | purge_networks: true |
| 60 | |
| 61 | provisioner: |
| 62 | name: ansible |
| 63 | env: |
| 64 | ANSIBLE_ROLES_PATH: ../../../../test/roles |
| 65 | ANSIBLE_LIBRARY: ../../../../library |
| 66 | inventory: |
| 67 | links: |
| 68 | group_vars: ../../../../group_vars |
| 69 | options: |
| 70 | e: "app_data_path=/opt/onap" |
| 71 | lint: |
| 72 | name: ansible-lint |
| 73 | scenario: |
| 74 | name: default |
| 75 | verifier: |
| 76 | name: testinfra |
| 77 | lint: |
| 78 | name: flake8 |