Skip to content
Snippets Groups Projects

Added molecule tests for 'test' role

1 file
+ 12
1
Compare changes
  • Side-by-side
  • Inline
+ 12
1
image: python:3.10.15-bullseye
# image: python:3.10.15-bullseye
variables:
AUTHOR: fejao
@@ -22,6 +22,7 @@ stages:
###
syntax-test:
stage: syntax-check
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -32,6 +33,7 @@ syntax-test:
syntax-dependencies:
stage: syntax-check
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -42,6 +44,7 @@ syntax-dependencies:
syntax-clone-repositories:
stage: syntax-check
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -52,6 +55,7 @@ syntax-clone-repositories:
syntax-docker-images:
stage: syntax-check
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -62,6 +66,7 @@ syntax-docker-images:
syntax-docker-containers:
stage: syntax-check
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -75,6 +80,7 @@ syntax-docker-containers:
###
lint-test:
stage: lint-tests
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -85,6 +91,7 @@ lint-test:
lint-dependencies:
stage: lint-tests
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -95,6 +102,7 @@ lint-dependencies:
lint-clone-repositories:
stage: lint-tests
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -105,6 +113,7 @@ lint-clone-repositories:
lint-docker-images:
stage: lint-tests
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -115,6 +124,7 @@ lint-docker-images:
lint-docker-containers:
stage: lint-tests
image: python:3.10.15-bullseye
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
@@ -129,6 +139,7 @@ lint-docker-containers:
###
molecule-test:
stage: molecule
image: docker:latest
before_script:
- apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/*
- pip3 install -r ci-cd/requirements.txt
Loading