Skip to content

Commit d1f9e56

Browse files
balasankarcRobert Marshall
authored andcommitted
Control runner tags for package promotion via env vars
Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8122 Signed-off-by: Balasankar "Balu" C <[email protected]>
1 parent d6f09d7 commit d1f9e56

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ variables:
7171
DEV_PROJECT_PATH: 'gitlab/omnibus-gitlab'
7272
QA_PROJECT_PATH: 'gitlab-org/build/omnibus-gitlab-mirror'
7373
ARM64_RUNNER_TAG: 'arm64'
74+
PACKAGE_PROMOTION_RUNNER_TAG: 'promotion'
7475

7576
.distribution-amd64-tags:
7677
- distribution-runner

gitlab-ci-config/dev-gitlab-org.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
cache: !reference [.tag-cache]
164164
retry: 2
165165
tags:
166-
- promotion
166+
- ${PACKAGE_PROMOTION_RUNNER_TAG}
167167
rules:
168168
- !reference [.default_rules, rules]
169169
- !reference [.skip_release_jobs, rules]
@@ -199,7 +199,7 @@
199199
retry: 2
200200
cache: !reference [.tag-cache]
201201
tags:
202-
- promotion
202+
- ${PACKAGE_PROMOTION_RUNNER_TAG}
203203
rules:
204204
- !reference [.default_rules, rules]
205205
- !reference [.skip_release_jobs, rules]

0 commit comments

Comments
 (0)