Skip to content

Commit 037a02b

Browse files
sarahchen6randomandersongh-worker-campaigns-3e9aa4[bot]
authored
Separate release artifact publishing to depend on system test completion (#12009)
ci: update one-pipeline to 1.1.0 Add new shared-pipeline stages Separate release artifact publishing to depend on Gitlab system test completion Merge branch 'master' into sarahchen6/add-publish-artifact-step Merge branch 'master' into sarahchen6/add-publish-artifact-step Co-authored-by: randomanderson <randomanderson@users.noreply.github.com> Co-authored-by: gh-worker-campaigns-3e9aa4[bot] <244854796+gh-worker-campaigns-3e9aa4[bot]@users.noreply.github.com> Co-authored-by: sarah.chen <sarah.chen@datadoghq.com>
1 parent a996fee commit 037a02b

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.gitlab-ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ stages:
3434
- java-post-pr-comment
3535
- shared-pipeline-build
3636
- shared-pipeline-test
37+
- publish-release-artifacts
3738
- shared-pipeline-publish
3839
- benchmarks
3940
- tests
@@ -1289,8 +1290,11 @@ deploy_to_di_backend:manual:
12891290
# If the deploy_to_maven_central job is re-run, re-trigger the deploy_artifacts_to_github job as well so that the artifacts match.
12901291
deploy_to_maven_central:
12911292
extends: .gradle_build
1292-
stage: publish
1293-
needs: [ build ]
1293+
stage: publish-release-artifacts
1294+
needs:
1295+
- job: build
1296+
- job: system_tests
1297+
optional: true
12941298
variables:
12951299
CACHE_TYPE: "lib"
12961300
rules:
@@ -1342,7 +1346,7 @@ deploy_snapshot_with_ddprof_snapshot:
13421346
- 'workspace/dd-trace-ot/build/libs/*.jar'
13431347

13441348
deploy_artifacts_to_github:
1345-
stage: publish
1349+
stage: publish-release-artifacts
13461350
image: registry.ddbuild.io/images/dd-octo-sts-ci-base:2025.06-1
13471351
tags: [ "arch:amd64" ]
13481352
id_tokens:
@@ -1409,7 +1413,7 @@ override_verify_maven_central:
14091413
# Verify Maven Central deployment is publicly available before publishing OCI images
14101414
verify_maven_central_deployment:
14111415
image: registry.ddbuild.io/images/base/gbi-ubuntu_2204:release
1412-
stage: publish
1416+
stage: publish-release-artifacts
14131417
needs: [ deploy_to_maven_central ]
14141418
rules:
14151419
- if: '$POPULATE_CACHE'
@@ -1461,7 +1465,7 @@ verify_maven_central_deployment:
14611465
done
14621466
14631467
publishing-gate:
1464-
stage: publish
1468+
stage: publish-release-artifacts
14651469
needs:
14661470
- job: verify_maven_central_deployment
14671471
optional: true # Required for releases only

0 commit comments

Comments
 (0)