debian-mirror-gitlab/.gitlab/ci/releases.gitlab-ci.yml

29 lines
927 B
YAML
Raw Normal View History

2020-01-01 13:55:28 +05:30
# Syncs any changes pushed to a stable branch to the corresponding
# gitlab-foss/CE stable branch. We run this prior to any tests so that random
# failures don't prevent a sync.
.merge-train-sync:
2019-12-26 22:10:19 +05:30
# We don't need/want any global before/after commands, so we overwrite these
# settings.
2021-03-11 19:13:27 +05:30
image: ${GITLAB_DEPENDENCY_PROXY}alpine:edge
2019-12-26 22:10:19 +05:30
stage: sync
before_script:
2020-03-13 15:44:24 +05:30
- apk add --no-cache --update curl bash jq
2019-12-26 22:10:19 +05:30
script:
- bash scripts/sync-stable-branch.sh
2020-01-01 13:55:28 +05:30
sync-stable-branch:
2020-03-13 15:44:24 +05:30
extends:
- .releases:rules:canonical-dot-com-gitlab-stable-branch-only
- .merge-train-sync
2020-01-01 13:55:28 +05:30
variables:
SOURCE_PROJECT: gitlab-org/gitlab
TARGET_PROJECT: gitlab-org/gitlab-foss
2020-01-03 18:37:03 +05:30
sync-security-branch:
2020-03-13 15:44:24 +05:30
extends:
- .releases:rules:canonical-dot-com-security-gitlab-stable-branch-only
- .merge-train-sync
2020-01-03 18:37:03 +05:30
variables:
SOURCE_PROJECT: gitlab-org/security/gitlab
TARGET_PROJECT: gitlab-org/security/gitlab-foss