Skip to content

Commit

Permalink
add echo for get only 17 caracters from commit ref
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbarrasuse committed Jan 14, 2025
1 parent 4d483d6 commit 2a10e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ pre_release_cluster_agent_image:
script:
- echo "-----"
- aws dynamodb list-tables --output json | jq -r '.TableNames[] | select(contains("beest"))' | xargs -I {} aws dynamodb scan --table-name {} --output json | jq -r --arg ci_commit_ref_name "${CI_COMMIT_REF_NAME:0:17}" '.Items[] | select(.LockID.S | contains($ci_commit_ref_name)) | .LockID.S'
- echo "${CI_COMMIT_REF_NAME:0:17}"
- echo "-----"
- beest destroy $BEEST_SCENARIO -y
retry:
Expand Down

0 comments on commit 2a10e57

Please sign in to comment.