This commit is contained in:
Bertrand Lanson 2023-03-20 22:50:33 +01:00
parent a68a207395
commit d0df392b5b

View File

@ -2,7 +2,7 @@
stages: stages:
- verify - verify
- test-default - test-default
- test-with-acl-enabled - test-with-custom-config
image: image:
name: registry.ednz.fr/forge/ansible-runner name: registry.ednz.fr/forge/ansible-runner
@ -16,8 +16,8 @@ variables:
.stage-test-default: .stage-test-default:
stage: test-default stage: test-default
.stage-test-with-acl-enabled: .stage-test-with-custom-config:
stage: test-with-acl-enabled stage: test-with-custom-config
.variables-ubuntu-2004: .variables-ubuntu-2004:
variables: variables:
@ -35,9 +35,9 @@ variables:
script: script:
- molecule test - molecule test
.script-molecule-test-with-acl-enabled: .script-molecule-test-with-custom-config:
script: script:
- molecule test -s with_acl_enabled - molecule test -s with_custom_config
ansible-verify: ansible-verify:
stage: verify stage: verify
@ -65,18 +65,18 @@ ansible-test-debian-11-default:
ansible-test-ubuntu-2004-with-acl-enabled: ansible-test-ubuntu-2004-with-acl-enabled:
extends: extends:
- .stage-test-with-acl-enabled - .stage-test-with-custom-config
- .variables-ubuntu-2004 - .variables-ubuntu-2004
- .script-molecule-test-with-acl-enabled - .script-molecule-test-with-custom-config
ansible-test-ubuntu-2204-with-acl-enabled: ansible-test-ubuntu-2204-with-acl-enabled:
extends: extends:
- .stage-test-with-acl-enabled - .stage-test-with-custom-config
- .variables-ubuntu-2204 - .variables-ubuntu-2204
- .script-molecule-test-with-acl-enabled - .script-molecule-test-with-custom-config
ansible-test-debian-11-with-acl-enabled: ansible-test-debian-11-with-acl-enabled:
extends: extends:
- .stage-test-with-acl-enabled - .stage-test-with-custom-config
- .variables-debian-11 - .variables-debian-11
- .script-molecule-test-with-acl-enabled - .script-molecule-test-with-custom-config