Skip to content

Commit

Permalink
Add gh and jq runner dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <[email protected]>
  • Loading branch information
anmazzotti committed Dec 31, 2024
1 parent b52d2b2 commit c65c0c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-e2e-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ jobs:
- name: Cleanup e2e test image
if: always() && ${{ inputs.MANAGEMENT_CLUSTER_ENVIRONMENT == 'eks' }}
run: |
sudo apt-get update
sudo apt-get install -y gh jq
IMAGE_URL="$(gh api /orgs/rancher/packages/container/turtles-e2e/versions | jq ".[] | select( .metadata.container.tags | contains([\"$TAG\"])) | .url" | sed 's/\"//g')"
gh api -X DELETE "$IMAGE_URL"
- name: Send failed status to slack
Expand Down

0 comments on commit c65c0c7

Please sign in to comment.