File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -804,7 +804,7 @@ get_github_token:
804804 stage : publish
805805 image : registry.ddbuild.io/images/dd-octo-sts-ci-base:v68058725-73f34e7-2025.06-1
806806 tags : [ "arch:amd64" ]
807- needs : [] # DEBUG: No dependencies - can run immediately
807+ needs : [] # DEBUG: Enforce no dependencies to run immediately
808808
809809 id_tokens :
810810 DDOCTOSTS_ID_TOKEN :
@@ -820,9 +820,9 @@ get_github_token:
820820
821821 script :
822822 - dd-octo-sts version
823- # - dd-octo-sts debug --scope DataDog/dd-trace-java --policy dd-trace-java.release
823+ - dd-octo-sts debug --scope DataDog/dd-trace-java --policy dd-trace-java.release
824824 - dd-octo-sts token --scope DataDog/dd-trace-java --policy dd-trace-java.release > github-token.txt
825- # DEBUG
825+ # DEBUG: Check token file
826826 - echo "Token file exists:" $(test -f github-token.txt && echo "YES" || echo "NO")
827827 - echo "Token file size:" $(wc -c < github-token.txt) "bytes"
828828 - echo "Token preview:" $(head -c 10 github-token.txt)...
@@ -851,10 +851,10 @@ deploy_artifacts_to_github:
851851 - job : get_github_token
852852
853853 script :
854- # - aws ssm get-parameter --region us-east-1 --name ci.dd-trace-java.gh_release_token --with-decryption --query "Parameter.Value" --out text > github-token.txt
855- # Debug token reception
854+ # DEBUG: Check token file
856855 - echo "Token file exists:" $(test -f github-token.txt && echo "YES" || echo "NO")
857856 - echo "Token file size:" $(wc -c < github-token.txt) "bytes"
857+
858858 - gh auth login --with-token < github-token.txt
859859 - gh auth status # Maybe helpful to have this output in logs?
860860 # - export VERSION=${CI_COMMIT_TAG##v} # remove "v" from front of tag to get version
You can’t perform that action at this time.
0 commit comments