blob: 8f19d7ff0c9a9b97365bc371018c62de0be70061 [file] [log] [blame]
Samuli Silvius8fd23142019-04-17 19:42:59 +03001---
2dependency:
3 name: galaxy
4driver:
5 name: docker
6lint:
7 name: yamllint
8platforms:
9 - name: instance
10 image: centos:7
11provisioner:
12 name: ansible
13 env:
14 ANSIBLE_ROLES_PATH: ../../../../test/roles
15 inventory:
16 group_vars:
17 all:
18 app_name: moleculetestapp
19 app_data_path: "/opt/{{ app_name }}"
20 app_helm_release_name: "{{ app_name }}"
21 app_kubernetes_namespace: "{{ app_name }}"
22 app_helm_charts_install_directory: application/helm_charts
23 app_helm_plugins_directory: "{{ app_helm_charts_install_directory}}/helm/plugins/"
24 app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
25 helm_bin_dir: /usr/local/bin
26 app_helm_build_targets:
27 - all
28 - onap
29 app_helm_chart_name: "{{ app_name }}"
30 application_pre_install_role:
31 application_post_install_role:
32 lint:
33 name: ansible-lint
34scenario:
35 name: default
36 test_sequence:
37 - lint
38 - cleanup
39 - destroy
40 - dependency
41 - syntax
42 - create
43 - prepare
44 - converge
45 # - idempotence
46 # --> Action: 'idempotence'
47 # ERROR: Idempotence test failed because of the following tasks:
48 # * [instance] => application : Get helm dir
49 # * [instance] => application : Helm init and upgrade
50 # * [instance] => application : Helm Serve
51 # * [instance] => application : Helm Add Repo
52 # * [instance] => application : Helm Install application moleculetestapp
53 - side_effect
54 - verify
55 - cleanup
56 - destroy
57verifier:
58 name: testinfra
59 lint:
60 name: flake8