Skip to content
Snippets Groups Projects
Commit 1b3a9dd2 authored by fejao's avatar fejao
Browse files

Updated ci-cd

parent 57c1a7c4
Branches
Tags
1 merge request!10Added molecule tests for 'test' role
Pipeline #37415 failed
...@@ -140,7 +140,8 @@ stages: ...@@ -140,7 +140,8 @@ stages:
molecule-test: molecule-test:
stage: molecule stage: molecule
# image: docker:latest # 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: before_script:
- apk add --no-cache python3 py3-pip - apk add --no-cache python3 py3-pip
- rm /usr/lib/python*/EXTERNALLY-MANAGED - rm /usr/lib/python*/EXTERNALLY-MANAGED
...@@ -149,6 +150,7 @@ molecule-test: ...@@ -149,6 +150,7 @@ molecule-test:
- pip3 install --user "molecule-plugins[docker]" - pip3 install --user "molecule-plugins[docker]"
script: script:
- echo "Running ansible-lint tests at the role-> 'test'" - echo "Running ansible-lint tests at the role-> 'test'"
- docker ps -a
- cd roles/test - cd roles/test
- molecule test - molecule test
allow_failure: false allow_failure: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment