mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-27 03:13:08 +00:00
* Clean up CI build There were a few problems with the existing build process, such as, the python version not being passed during sanity tests and versions being hard coded elsewhere. This change ensures that each test scenario gets the correct parameters passed through. It also generally cleans up the process for building the test environment to let ansible-galaxy do its thing. This will make sure the correct version of dependencies get installed. * Add changelog fragment
50 lines
1015 B
YAML
50 lines
1015 B
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
options:
|
|
requirements-file: requirements.yml
|
|
driver:
|
|
name: delegated
|
|
platforms:
|
|
- name: cluster
|
|
groups:
|
|
- k8s
|
|
provisioner:
|
|
name: ansible
|
|
log: true
|
|
options:
|
|
vvv: True
|
|
config_options:
|
|
inventory:
|
|
enable_plugins: community.okd.openshift
|
|
lint: |
|
|
set -e
|
|
ansible-lint
|
|
inventory:
|
|
hosts:
|
|
plugin: community.okd.openshift
|
|
host_vars:
|
|
localhost:
|
|
virtualenv: ${MOLECULE_EPHEMERAL_DIRECTORY}/virtualenv
|
|
virtualenv_command: '{{ ansible_playbook_python }} -m virtualenv'
|
|
virtualenv_interpreter: '{{ virtualenv }}/bin/python'
|
|
playbook_namespace: molecule-tests
|
|
env:
|
|
ANSIBLE_FORCE_COLOR: 'true'
|
|
ANSIBLE_COLLECTIONS_PATHS: ${OVERRIDE_COLLECTION_PATH:-$MOLECULE_PROJECT_DIRECTORY}
|
|
verifier:
|
|
name: ansible
|
|
lint: |
|
|
set -e
|
|
ansible-lint
|
|
scenario:
|
|
name: default
|
|
test_sequence:
|
|
- dependency
|
|
- lint
|
|
- syntax
|
|
- prepare
|
|
- converge
|
|
- idempotence
|
|
- verify
|