Skip to content

Commit a41c407

Browse files
committed
Add dependency to OCI publish jobs
1 parent ee43e5f commit a41c407

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.gitlab-ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ stages:
99
- build
1010
- shared-pipeline
1111
- publish
12+
- publish-oci-images
1213
- benchmarks
1314
- macrobenchmarks
1415
- tests
@@ -880,6 +881,49 @@ requirements_json_test:
880881
package-oci:
881882
needs: [ build ]
882883

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
926+
883927
configure_system_tests:
884928
variables:
885929
SYSTEM_TESTS_SCENARIOS_GROUPS: "simple_onboarding,simple_onboarding_profiling,simple_onboarding_appsec,docker-ssi,lib-injection"

0 commit comments

Comments
 (0)