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:05:52 +0100
commitfc3366594f36115f88f651255e43ed24abf28c19 (patch)
tree6532d98c645ed7096768615f3f2bce0dbe0e62e2
parentb3bb1cd651730773f2c4142335d68a9e9b11103c (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