blob: 6ae613a92c84edc4c60d1dbf20ed9693254e6513 [file] [log] [blame]
Michal Zegan1ec19b02019-04-30 14:52:13 +02001---
2dependency:
3 name: galaxy
4driver:
5 name: docker
6lint:
7 name: yamllint
8platforms:
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 Zegan2f97acd2019-06-03 14:58:20 +020022 - kubernetes-etcd
Michal Zegan1ec19b02019-04-30 14:52:13 +020023 - kubernetes-control-plane
Michal Zegan89e63142019-05-28 17:16:47 +020024 - kubernetes
Michal Zegan1ec19b02019-04-30 14:52:13 +020025 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 Zegan89e63142019-05-28 17:16:47 +020042 - kubernetes-node
Michal Zegan1ec19b02019-04-30 14:52:13 +020043 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 Zegan89e63142019-05-28 17:16:47 +020060 - kubernetes-node
Michal Zegan1ec19b02019-04-30 14:52:13 +020061 networks:
62 - name: rke
63 purge_networks: true
64
65provisioner:
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
77scenario:
78 name: default
79verifier:
80 name: testinfra
81 lint:
82 name: flake8