Skip to content

Commit 33593c5

Browse files
committed
Override new publishing-gate job
1 parent 899337f commit 33593c5

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
@@ -882,48 +881,9 @@ requirements_json_test:
882881
package-oci:
883882
needs: [ build ]
884883

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

928888
configure_system_tests:
929889
variables:

0 commit comments

Comments
 (0)