From 12ec47118234d5270966135ce1a1d49a9ae12303 Mon Sep 17 00:00:00 2001 From: fejao <mail@fejao.de> Date: Mon, 27 Jan 2025 20:12:23 +0100 Subject: [PATCH] Updating the .gitlab-ci.yml file --- .gitlab-ci.yml | 5 +++-- requirements.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6033b8e..8bcaf12 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ -# image: python:3.10.15-bullseye -image: ansible:latest +image: python:3.10.15-bullseye +# image: ansible:latest variables: TEST_VAR_BUILD: "Building the application..." @@ -47,6 +47,7 @@ ansible-lint-test: stage: test before_script: # - apt-get update && apt-get install -y python3-pip libcups2-dev && apt-get clean && rm -rf /var/lib/apt/lists/* + - 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 - pip3 install -r requirements.txt script: diff --git a/requirements.txt b/requirements.txt index 7dca993..a42d9c6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ +ansible ansible-dev-tools ansible-lint -- GitLab