mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
++ fix
This commit is contained in:
parent
d64962f6b2
commit
11ae8c8d30
@ -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"
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "contour" && $CI_PIPELINE_SOURCE == "push"'
|
||||
Loading…
Reference in New Issue
Block a user