Skip to content

Commit db00bbd

Browse files
committed
Add dependency to OCI publish jobs
1 parent 13efd64 commit db00bbd

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
@@ -8,6 +8,7 @@ include:
88
stages:
99
- build
1010
- shared-pipeline
11+
- publish-oci-images
1112
- publish
1213
- benchmarks
1314
- macrobenchmarks
@@ -838,6 +839,49 @@ requirements_json_test:
838839
package-oci:
839840
needs: [ build ]
840841

842+
# "needs" parameters are taken from the one-pipeline template: https://github.com/DataDog/libdatadog-build/blob/main/templates/one-pipeline.yml
843+
# but with an additional dependency on the deploy_to_maven_central job.
844+
internal-publish-lib-init-tags:
845+
stage: publish-oci-images
846+
needs:
847+
- job: deploy_to_maven_central
848+
- job: generate-lib-init-pinned-tag-values
849+
artifacts: true
850+
- job: create-multiarch-lib-injection-image
851+
852+
promote-oci-to-prod:
853+
stage: publish-oci-images
854+
needs:
855+
- job: deploy_to_maven_central
856+
- job: package-oci
857+
artifacts: true
858+
- job: oci-internal-publish
859+
artifacts: true
860+
861+
promote-oci-to-prod-beta:
862+
stage: publish-oci-images
863+
needs:
864+
- job: package-oci
865+
artifacts: true
866+
- job: oci-internal-publish
867+
artifacts: true
868+
869+
promote-oci-to-staging:
870+
stage: publish-oci-images
871+
needs:
872+
- job: package-oci
873+
artifacts: true
874+
- job: oci-internal-publish
875+
artifacts: true
876+
877+
publish-lib-init-pinned-tags:
878+
stage: publish-oci-images
879+
needs:
880+
- job: deploy_to_maven_central
881+
- job: generate-lib-init-pinned-tag-values
882+
artifacts: true
883+
- job: create-multiarch-lib-injection-image
884+
841885
configure_system_tests:
842886
variables:
843887
SYSTEM_TESTS_SCENARIOS_GROUPS: "simple_onboarding,simple_onboarding_profiling,simple_onboarding_appsec,docker-ssi,lib-injection"

0 commit comments

Comments
 (0)