From 927083eb58bfcb6e328d261cd48a7e6d02edf383 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Tue, 9 May 2023 13:12:02 +0200 Subject: [PATCH] Due to 'image is defined in top-level and default entry', move image into each section --- .gitlab-ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7349ba0..f0f29de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,3 @@ -default: - image: - name: quay.io/rhn_support_ofalk/fedora35-python3 - entrypoint: [ '/bin/sh', '-c' ] - before_script: - virtualenv -p python3 /tmp/.virtualenv - source /tmp/.virtualenv/bin/activate @@ -14,6 +9,9 @@ before_script: - pip install django_coverage_plugin test_and_coverage: + image: + name: quay.io/rhn_support_ofalk/fedora35-python3 + entrypoint: [ '/bin/sh', '-c' ] stage: test coverage: '/^TOTAL.*\s+(\d+\%)$/' script: @@ -31,6 +29,9 @@ test_and_coverage: - htmlcov/ pycco: + image: + name: quay.io/rhn_support_ofalk/fedora35-python3 + entrypoint: [ '/bin/sh', '-c' ] stage: test script: - /bin/true @@ -41,6 +42,9 @@ pycco: expire_in: 14 days pages: + image: + name: quay.io/rhn_support_ofalk/fedora35-python3 + entrypoint: [ '/bin/sh', '-c' ] before_script: - /bin/true - /bin/true