Skip to content

Commit 2c5cca7

Browse files
committed
Add dependency to OCI publish jobs
1 parent 05a10a5 commit 2c5cca7

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
@@ -881,6 +882,49 @@ requirements_json_test:
881882
package-oci:
882883
needs: [ build ]
883884

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

0 commit comments

Comments
 (0)