Issue #10: Move integration tests into molecule playbook.

This commit is contained in:
Jeff Geerling
2020-02-13 11:21:26 -06:00
parent 1200460f26
commit b2e639b823
15 changed files with 205 additions and 191 deletions

View File

@@ -72,23 +72,10 @@
state: absent
no_log: yes
# Run full test suite
# Test openshift
- pip:
name:
- openshift>=0.9.2
- coverage
virtualenv: "{{ virtualenv }}"
virtualenv_command: "{{ virtualenv_command }}"
virtualenv_site_packages: no
- debug:
var: k8s_openshift
- include_tasks: full_test.yml
vars:
ansible_python_interpreter: "{{ virtualenv_interpreter }}"
create_crd_with_apply: no
playbook_namespace: ansible-test-k8s-full
- file:
path: "{{ virtualenv }}"
state: absent
no_log: yes
- include: openshift.yml
when: k8s_openshift | bool