Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ stages:
- java-post-pr-comment
- shared-pipeline-build
- shared-pipeline-test
- publish-release-artifacts
- shared-pipeline-publish
- benchmarks
- tests
Expand Down Expand Up @@ -1289,8 +1290,11 @@ deploy_to_di_backend:manual:
# 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.
deploy_to_maven_central:
extends: .gradle_build
stage: publish
needs: [ build ]
stage: publish-release-artifacts
needs:
- job: build
- job: system_tests
optional: true
variables:
CACHE_TYPE: "lib"
rules:
Expand Down Expand Up @@ -1342,7 +1346,7 @@ deploy_snapshot_with_ddprof_snapshot:
- 'workspace/dd-trace-ot/build/libs/*.jar'

deploy_artifacts_to_github:
stage: publish
stage: publish-release-artifacts
image: registry.ddbuild.io/images/dd-octo-sts-ci-base:2025.06-1
tags: [ "arch:amd64" ]
id_tokens:
Expand Down Expand Up @@ -1409,7 +1413,7 @@ override_verify_maven_central:
# Verify Maven Central deployment is publicly available before publishing OCI images
verify_maven_central_deployment:
image: registry.ddbuild.io/images/base/gbi-ubuntu_2204:release
stage: publish
stage: publish-release-artifacts
needs: [ deploy_to_maven_central ]
rules:
- if: '$POPULATE_CACHE'
Expand Down Expand Up @@ -1461,7 +1465,7 @@ verify_maven_central_deployment:
done

publishing-gate:
stage: publish
stage: publish-release-artifacts
needs:
- job: verify_maven_central_deployment
optional: true # Required for releases only
Expand Down