++ add push mirror

This commit is contained in:
gitlab-pusher 2026-07-17 10:19:29 +00:00
parent 3434187302
commit a6dd669ef1

View File

@ -1,6 +1,17 @@
stages:
- generate
- trigger
- deploy
mirror-contour:
stage: deploy
variables:
GIT_DEPTH: "0"
rules:
- if: '$CI_COMMIT_BRANCH == "contour" && $CI_PIPELINE_SOURCE == "push"'
script:
- git push --force "$CONTOUR_MIRROR_PUSH_URL" "$CI_COMMIT_SHA:refs/heads/contour"
generate-pipeline:
stage: generate
@ -65,3 +76,12 @@ trigger-downstream-prod:
- if: '$CI_COMMIT_BRANCH =~ /^feature\/.*/'
##
mirror-contour:
stage: deploy
variables:
GIT_DEPTH: "0"
rules:
- if: '$CI_COMMIT_BRANCH == "contour" && $CI_PIPELINE_SOURCE == "push"'
script:
- git push --force "$CONTOUR_MIRROR_PUSH_URL" "$CI_COMMIT_SHA:refs/heads/contour"