Skip to content

Commit 83e2792

Browse files
committed
Name change and fix needs block
1 parent cd8653a commit 83e2792

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed
File renamed without changes.

.gitlab-ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,6 @@ deploy_artifacts_to_github:
804804
stage: publish
805805
image: registry.ddbuild.io/github-cli:v27480869-eafb11d-2.43.0
806806
tags: [ "docker-in-docker:amd64" ]
807-
needs: [] # DEBUG: Enforce no dependencies to run immediately
808807
services:
809808
- docker:dind
810809

@@ -820,10 +819,10 @@ deploy_artifacts_to_github:
820819
- when: manual # DEBUG: Allow manual trigger
821820
allow_failure: true
822821

823-
needs:
824-
- job: deploy_to_maven_central
825-
# The deploy_to_maven_central job is not run for release candidate versions
826-
optional: true
822+
needs: [] # DEBUG: Enforce no dependencies to run immediately
823+
# - job: deploy_to_maven_central
824+
# # The deploy_to_maven_central job is not run for release candidate versions
825+
# optional: true
827826

828827
script:
829828
# Get GitHub token using dd-octo-sts in a container
@@ -833,8 +832,8 @@ deploy_artifacts_to_github:
833832
registry.ddbuild.io/images/dd-octo-sts-ci-base:v68058725-73f34e7-2025.06-1
834833
sh -c "
835834
dd-octo-sts version &&
836-
dd-octo-sts debug --scope DataDog/dd-trace-java --policy dd-trace-java.release &&
837-
dd-octo-sts token --scope DataDog/dd-trace-java --policy dd-trace-java.release > /workspace/github-token.txt
835+
dd-octo-sts debug --scope DataDog/dd-trace-java --policy self.gitlab.release &&
836+
dd-octo-sts token --scope DataDog/dd-trace-java --policy self.gitlab.release > /workspace/github-token.txt
838837
"
839838
840839
# Verify token was generated

0 commit comments

Comments
 (0)