2023-04-03 20:49:15 +00:00
|
|
|
---
|
|
|
|
stages:
|
|
|
|
- verify
|
|
|
|
- test-default
|
|
|
|
- test-with-custom-ascii
|
|
|
|
|
|
|
|
image:
|
|
|
|
name: registry.ednz.fr/forge/ansible-runner
|
|
|
|
|
|
|
|
variables:
|
|
|
|
ANSIBLE_HOST_KEY_CHECKING: 'false'
|
|
|
|
ANSIBLE_FORCE_COLOR: 'true'
|
|
|
|
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3
|
|
|
|
DOCKER_AUTH_CONFIG: $CI_DOCKER_AUTH_CONFIG
|
|
|
|
|
|
|
|
.stage-test-default:
|
|
|
|
stage: test-default
|
|
|
|
|
|
|
|
.stage-test-with-custom-ascii:
|
|
|
|
stage: test-with-custom-ascii
|
|
|
|
|
|
|
|
.variables-ubuntu-2004:
|
|
|
|
variables:
|
|
|
|
MOLECULE_TEST_OS: "ubuntu2004"
|
|
|
|
|
|
|
|
.variables-ubuntu-2204:
|
|
|
|
variables:
|
|
|
|
MOLECULE_TEST_OS: "ubuntu2204"
|
|
|
|
|
|
|
|
.variables-debian-11:
|
|
|
|
variables:
|
|
|
|
MOLECULE_TEST_OS: "debian11"
|
|
|
|
|
|
|
|
.script-molecule-test-default:
|
|
|
|
script:
|
|
|
|
- molecule test
|
|
|
|
|
|
|
|
.script-molecule-test-with-custom-ascii:
|
|
|
|
script:
|
2023-04-03 21:01:39 +00:00
|
|
|
- molecule test -s with_custom_ascii
|
2023-04-03 20:49:15 +00:00
|
|
|
|
|
|
|
ansible-verify:
|
|
|
|
stage: verify
|
|
|
|
script:
|
|
|
|
- yamllint . -c .yamllint
|
|
|
|
- ansible-lint
|
|
|
|
|
|
|
|
ansible-test-ubuntu-2004-default:
|
|
|
|
extends:
|
|
|
|
- .stage-test-default
|
|
|
|
- .variables-ubuntu-2004
|
|
|
|
- .script-molecule-test-default
|
|
|
|
|
|
|
|
ansible-test-ubuntu-2204-default:
|
|
|
|
extends:
|
|
|
|
- .stage-test-default
|
|
|
|
- .variables-ubuntu-2204
|
|
|
|
- .script-molecule-test-default
|
|
|
|
|
|
|
|
ansible-test-debian-11-default:
|
|
|
|
extends:
|
|
|
|
- .stage-test-default
|
|
|
|
- .variables-debian-11
|
|
|
|
- .script-molecule-test-default
|
|
|
|
|
|
|
|
ansible-test-ubuntu-2004-with-custom-ascii:
|
|
|
|
extends:
|
|
|
|
- .stage-test-with-custom-ascii
|
|
|
|
- .variables-ubuntu-2004
|
|
|
|
- .script-molecule-test-with-custom-ascii
|
|
|
|
|
|
|
|
ansible-test-ubuntu-2204-with-custom-ascii:
|
|
|
|
extends:
|
|
|
|
- .stage-test-with-custom-ascii
|
|
|
|
- .variables-ubuntu-2204
|
|
|
|
- .script-molecule-test-with-custom-ascii
|
|
|
|
|
|
|
|
ansible-test-debian-11-with-custom-ascii:
|
|
|
|
extends:
|
|
|
|
- .stage-test-with-custom-ascii
|
|
|
|
- .variables-debian-11
|
|
|
|
- .script-molecule-test-with-custom-ascii
|