summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-05 13:05:52 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-05 13:31:46 +0100
commitfa2d4e47cce68eb4a23cb349f3f533047bf5b6b8 (patch)
treec1421d02c2104a29af1839e7d9b13d4f27ddc1db
parent292c95718c76b1eafb89e136e5425a31e2082fbe (diff)
[MOLECULE] Add 'ubuntu' scenario for cert_manager.yml playbook tests
Change-Id: Ibfd91503b9eb92126c90f4e9c1b0e418c0e63641 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml27
l---------ansible/test/play-cert_manager/molecule/ubuntu/vars.yml1
2 files changed, 28 insertions, 0 deletions
diff --git a/ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml b/ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml
new file mode 100644
index 00000000..4380c88d
--- /dev/null
+++ b/ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml
@@ -0,0 +1,27 @@
+---
+dependency:
+ name: galaxy
+driver:
+ name: docker
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
+platforms:
+ - name: infrastructure-play-ubuntu-cert-manager
+ image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04}
+ pre_build_image: True
+ groups:
+ - infrastructure
+provisioner:
+ name: ansible
+ env:
+ ANSIBLE_ROLES_PATH: ../../../../test/roles
+ ANSIBLE_LIBRARY: ../../../../library
+ playbooks:
+ prepare: ../default/prepare.yml
+ converge: ../default/converge.yml
+verifier:
+ name: testinfra
+ directory: ../../../../roles/cert-manager/molecule/default/tests/
diff --git a/ansible/test/play-cert_manager/molecule/ubuntu/vars.yml b/ansible/test/play-cert_manager/molecule/ubuntu/vars.yml
new file mode 120000
index 00000000..8be219f6
--- /dev/null
+++ b/ansible/test/play-cert_manager/molecule/ubuntu/vars.yml
@@ -0,0 +1 @@
+../default/vars.yml \ No newline at end of file