Skip to content

Commit 1b1e50f

Browse files
committed
Override new publishing-gate job
1 parent 92750c5 commit 1b1e50f

File tree

1 file changed

+3
-43
lines changed

1 file changed

+3
-43
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ stages:
99
- build
1010
- shared-pipeline
1111
- publish
12-
- publish-oci-images
1312
- benchmarks
1413
- macrobenchmarks
1514
- tests
@@ -881,48 +880,9 @@ requirements_json_test:
881880
package-oci:
882881
needs: [ build ]
883882

884-
# "needs" parameters are taken from the one-pipeline template: https://github.com/DataDog/libdatadog-build/blob/main/templates/one-pipeline.yml
885-
# but with an additional dependency on the deploy_to_maven_central job.
886-
internal-publish-lib-init-tags:
887-
stage: publish-oci-images
888-
needs:
889-
- job: deploy_to_maven_central
890-
- job: generate-lib-init-pinned-tag-values
891-
artifacts: true
892-
- job: create-multiarch-lib-injection-image
893-
894-
promote-oci-to-prod:
895-
stage: publish-oci-images
896-
needs:
897-
- job: deploy_to_maven_central
898-
- job: package-oci
899-
artifacts: true
900-
- job: oci-internal-publish
901-
artifacts: true
902-
903-
promote-oci-to-prod-beta:
904-
stage: publish-oci-images
905-
needs:
906-
- job: package-oci
907-
artifacts: true
908-
- job: oci-internal-publish
909-
artifacts: true
910-
911-
promote-oci-to-staging:
912-
stage: publish-oci-images
913-
needs:
914-
- job: package-oci
915-
artifacts: true
916-
- job: oci-internal-publish
917-
artifacts: true
918-
919-
publish-lib-init-pinned-tags:
920-
stage: publish-oci-images
921-
needs:
922-
- job: deploy_to_maven_central
923-
- job: generate-lib-init-pinned-tag-values
924-
artifacts: true
925-
- job: create-multiarch-lib-injection-image
883+
# Publish OCI images after deployment to Maven Central is successful.
884+
publishing-gate:
885+
needs: [ deploy_to_maven_central ]
926886

927887
configure_system_tests:
928888
variables:

0 commit comments

Comments
 (0)