summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/application/molecule/custom_role/molecule.yml2
-rw-r--r--ansible/roles/application/molecule/default/molecule.yml2
-rw-r--r--ansible/roles/application/molecule/helm3/molecule.yml52
l---------ansible/roles/application/molecule/helm3/tests1
l---------ansible/roles/application/molecule/ubuntu/Dockerfile.j2 (renamed from ansible/roles/application/molecule/helm3/Dockerfile.j2)0
-rw-r--r--ansible/roles/application/molecule/ubuntu/molecule.yml3
6 files changed, 3 insertions, 57 deletions
diff --git a/ansible/roles/application/molecule/custom_role/molecule.yml b/ansible/roles/application/molecule/custom_role/molecule.yml
index 64ebe3d2..fed1b121 100644
--- a/ansible/roles/application/molecule/custom_role/molecule.yml
+++ b/ansible/roles/application/molecule/custom_role/molecule.yml
@@ -32,7 +32,7 @@ provisioner:
app_helm_chart_name: "{{ app_name }}"
application_pre_install_role: application/test-patch-role
application_post_install_role: application/test-patch-role
- helm_version: v2
+ helm_version: v3
playbooks:
prepare: ../default/prepare.yml
converge: ../default/converge.yml
diff --git a/ansible/roles/application/molecule/default/molecule.yml b/ansible/roles/application/molecule/default/molecule.yml
index 53c5b154..8b2817b4 100644
--- a/ansible/roles/application/molecule/default/molecule.yml
+++ b/ansible/roles/application/molecule/default/molecule.yml
@@ -30,7 +30,7 @@ provisioner:
- all
- onap
app_helm_chart_name: "{{ app_name }}"
- helm_version: v2
+ helm_version: v3
scenario:
test_sequence:
- lint
diff --git a/ansible/roles/application/molecule/helm3/molecule.yml b/ansible/roles/application/molecule/helm3/molecule.yml
deleted file mode 100644
index aff7a242..00000000
--- a/ansible/roles/application/molecule/helm3/molecule.yml
+++ /dev/null
@@ -1,52 +0,0 @@
----
-dependency:
- name: galaxy
-driver:
- name: docker
-lint: |
- set -e
- yamllint .
- ansible-lint .
- flake8
-platforms:
- - name: instance-helm3
- image: centos:7
-provisioner:
- name: ansible
- env:
- ANSIBLE_ROLES_PATH: ../../../../test/roles
- inventory:
- group_vars:
- all:
- app_name: moleculetestapp
- app_data_path: "/opt/{{ app_name }}"
- app_helm_release_name: "{{ app_name }}"
- app_kubernetes_namespace: "{{ app_name }}"
- app_helm_charts_install_directory: application/helm_charts
- app_helm_plugins_directory: "{{ app_helm_charts_install_directory}}/helm/plugins/"
- app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
- helm_bin_dir: /usr/local/bin
- app_helm_build_targets:
- - all
- - onap
- app_helm_chart_name: "{{ app_name }}"
- helm_version: v3
- playbooks:
- prepare: ../default/prepare.yml
- converge: ../default/converge.yml
- cleanup: ../default/cleanup.yml
-scenario:
- test_sequence:
- - lint
- - cleanup
- - destroy
- - dependency
- - syntax
- - create
- - prepare
- - converge
- - verify
- - cleanup
- - destroy
-verifier:
- name: testinfra
diff --git a/ansible/roles/application/molecule/helm3/tests b/ansible/roles/application/molecule/helm3/tests
deleted file mode 120000
index b8ac4407..00000000
--- a/ansible/roles/application/molecule/helm3/tests
+++ /dev/null
@@ -1 +0,0 @@
-../default/tests/ \ No newline at end of file
diff --git a/ansible/roles/application/molecule/helm3/Dockerfile.j2 b/ansible/roles/application/molecule/ubuntu/Dockerfile.j2
index 867ec5c3..867ec5c3 120000
--- a/ansible/roles/application/molecule/helm3/Dockerfile.j2
+++ b/ansible/roles/application/molecule/ubuntu/Dockerfile.j2
diff --git a/ansible/roles/application/molecule/ubuntu/molecule.yml b/ansible/roles/application/molecule/ubuntu/molecule.yml
index 0d5049a5..e785f846 100644
--- a/ansible/roles/application/molecule/ubuntu/molecule.yml
+++ b/ansible/roles/application/molecule/ubuntu/molecule.yml
@@ -11,7 +11,6 @@ lint: |
platforms:
- name: instance
image: ubuntu:18.04
- dockerfile: ../default/Dockerfile.j2
provisioner:
name: ansible
env:
@@ -31,7 +30,7 @@ provisioner:
- all
- onap
app_helm_chart_name: "{{ app_name }}"
- helm_version: v2
+ helm_version: v3
playbooks:
prepare: ../default/prepare.yml
converge: ../default/converge.yml