From 11ae8c8d30b3e69a3535b975ea82b548c816d9af Mon Sep 17 00:00:00 2001 From: gitlab-pusher Date: Fri, 17 Jul 2026 10:24:40 +0000 Subject: [PATCH] ++ fix --- .gitlab-ci.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e1556a4..38b4407 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,17 +4,6 @@ stages: - deploy -mirror-contour: - stage: deploy - image: alpine:3.21 - variables: - GIT_DEPTH: "0" - before_script: - - apk add --no-cache git ca-certificates - script: - - git push --force "$CONTOUR_MIRROR_PUSH_URL" "$CI_COMMIT_SHA:refs/heads/contour" - rules: - - if: '$CI_COMMIT_BRANCH == "contour" && $CI_PIPELINE_SOURCE == "push"' generate-pipeline: stage: generate @@ -80,11 +69,16 @@ trigger-downstream-prod: ## + + mirror-contour: stage: deploy + image: alpine:3.21 variables: GIT_DEPTH: "0" - rules: - - if: '$CI_COMMIT_BRANCH == "contour" && $CI_PIPELINE_SOURCE == "push"' + before_script: + - apk add --no-cache git ca-certificates script: - - git push --force "$CONTOUR_MIRROR_PUSH_URL" "$CI_COMMIT_SHA:refs/heads/contour" \ No newline at end of file + - git push --force "$CONTOUR_MIRROR_PUSH_URL" "$CI_COMMIT_SHA:refs/heads/contour" + rules: + - if: '$CI_COMMIT_BRANCH == "contour" && $CI_PIPELINE_SOURCE == "push"' \ No newline at end of file