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
|
- 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:
|
generate-pipeline:
|
||||||
stage: generate
|
stage: generate
|
||||||
@ -80,11 +69,16 @@ trigger-downstream-prod:
|
|||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mirror-contour:
|
mirror-contour:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
image: alpine:3.21
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: "0"
|
GIT_DEPTH: "0"
|
||||||
rules:
|
before_script:
|
||||||
- if: '$CI_COMMIT_BRANCH == "contour" && $CI_PIPELINE_SOURCE == "push"'
|
- apk add --no-cache git ca-certificates
|
||||||
script:
|
script:
|
||||||
- git push --force "$CONTOUR_MIRROR_PUSH_URL" "$CI_COMMIT_SHA:refs/heads/contour"
|
- 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