Skip to content
Snippets Groups Projects

Added molecule tests for 'test' role

Merged fejao requested to merge Setting_molecule_01 into main
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -140,7 +140,8 @@ stages:
molecule-test:
stage: molecule
# image: docker:latest
image: docker:27.5.1-alpine3.21
# image: docker:27.5.1-alpine3.21
image: docker:27.5.1-dind
before_script:
- apk add --no-cache python3 py3-pip
- rm /usr/lib/python*/EXTERNALLY-MANAGED
@@ -149,6 +150,7 @@ molecule-test:
- pip3 install --user "molecule-plugins[docker]"
script:
- echo "Running ansible-lint tests at the role-> 'test'"
- docker ps -a
- cd roles/test
- molecule test
allow_failure: false
Loading