Skip to content

Commit 21ab585

Browse files
committed
ci: suppress promote-oci jobs that bypass SKIP_SHARED_PIPELINE
promote-oci-to-staging fires on NIGHTLY_BUILD=true, and promote-oci-to-prod-beta and promote-oci-to-prod fire on tag rules, before the SKIP_SHARED_PIPELINE check. Their dependencies (package-oci, oci-internal-publish, publishing-gate) are suppressed in the parent pipeline, causing pipeline validation failures. These jobs run correctly in the child pipeline (package-gen.yml).
1 parent 988edd2 commit 21ab585

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,18 @@ deploy_to_reliability_env:
108108
variables:
109109
SKIP_SHARED_PIPELINE: "false"
110110

111+
promote-oci-to-staging:
112+
rules:
113+
- when: never
114+
115+
promote-oci-to-prod-beta:
116+
rules:
117+
- when: never
118+
119+
promote-oci-to-prod:
120+
rules:
121+
- when: never
122+
111123
# requirements_json_test doesn't check SKIP_SHARED_PIPELINE, suppress explicitly
112124
requirements_json_test:
113125
rules:

0 commit comments

Comments
 (0)