diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-06-05 14:56:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-05 14:56:38 +0000 |
commit | a2001d11fe5a880f6ad2aa19989c75f2eb1e66e9 (patch) | |
tree | 354889213f2f7f16d94f9e1c6e999f54454f9c08 /ansible/roles/helm/molecule/default/molecule.yml | |
parent | 093b48e4e697cc8db57c4b2a287f74db2a729aff (diff) | |
parent | 93c4303e07a17cf5882d8d9941d1aea647979115 (diff) |
Merge "Add tests for helm role"
Diffstat (limited to 'ansible/roles/helm/molecule/default/molecule.yml')
-rw-r--r-- | ansible/roles/helm/molecule/default/molecule.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ansible/roles/helm/molecule/default/molecule.yml b/ansible/roles/helm/molecule/default/molecule.yml new file mode 100644 index 00000000..869f87f6 --- /dev/null +++ b/ansible/roles/helm/molecule/default/molecule.yml @@ -0,0 +1,32 @@ +--- +dependency: + name: galaxy +driver: + name: docker +lint: + name: yamllint +platforms: + - name: infrastructure-server + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + pre_build_image: True + privileged: true + override_command: False + groups: + - infrastructure +provisioner: + name: ansible + lint: + name: ansible-lint + env: + ANSIBLE_ROLES_PATH: ../../../../test/roles + ANSIBLE_LIBRARY: ../../../../library + inventory: + group_vars: + all: + app_name: onap + app_data_path: "/opt/{{ app_name }}" + helm_bin_dir: /usr/local/bin +verifier: + name: testinfra + lint: + name: flake8 |