summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/molecule/default/molecule.yml
diff options
context:
space:
mode:
authorPetr OspalĂ˝ <p.ospaly@partner.samsung.com>2019-06-14 09:07:08 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-14 09:07:08 +0000
commit0a16f1267c3bd1c33def62861e6e1726097f239a (patch)
tree440bfa34219a52dcb89ab4663d65deb62d87f4df /ansible/roles/nexus/molecule/default/molecule.yml
parentcf81ff7da21aed314f2dfc74fc6cd04d7354bdf1 (diff)
parente45ccdc955978a1078e79a823035f4e469274cdf (diff)
Merge changes from topic "OOM-1915"
* changes: Update 'busybox' and 'haproxy' docker images path in tests Add role level tests for 'nexus' role Improve 'nexus' role testability
Diffstat (limited to 'ansible/roles/nexus/molecule/default/molecule.yml')
-rw-r--r--ansible/roles/nexus/molecule/default/molecule.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/ansible/roles/nexus/molecule/default/molecule.yml b/ansible/roles/nexus/molecule/default/molecule.yml
new file mode 100644
index 00000000..63c47724
--- /dev/null
+++ b/ansible/roles/nexus/molecule/default/molecule.yml
@@ -0,0 +1,30 @@
+---
+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
+ volumes:
+ - /var/lib/docker
+ groups:
+ - infrastructure
+provisioner:
+ name: ansible
+ env:
+ ANSIBLE_ROLES_PATH: ../../../../test/roles
+ inventory:
+ links:
+ group_vars: ../../../../group_vars
+ lint:
+ name: ansible-lint
+verifier:
+ name: testinfra
+ lint:
+ name: flake8