Skip to content

Commit

Permalink
unused aws instace and vpcs cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Dec 18, 2024
1 parent 74663f8 commit 88af736
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/awscleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ jobs:
GITHUB_REPOSITORY1=gpu-driver-container
RUN_ID1="12338981626"
JOB_NAME=e2e-tests-nvidiadriver
# https://api.github.com/repos/NVIDIA/gpu-driver-container/actions/runs/12338981626
# https://api.github.com/repos/NVIDIA/${GITHUB_REPOSITORY1}/actions/runs/${RUN_ID1}
response=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
"https://api.github.com/repos/${GITHUB_REPOSITORY1}/actions/runs/${RUN_ID1}/jobs")
"https://api.github.com/repos/NVIDIA/${GITHUB_REPOSITORY1}/actions/runs/${RUN_ID1}/jobs")
echo "Response: $response"
echo "SHIVA $response"
status=$(echo "$response" | jq -r ".jobs[] | select(.name == \"$JOB_NAME\") | .status")
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ on:
- opened
- synchronize
branches:
- main
- release-*
- main-no
- release-no
push:
branches:
- main
- release-*
- main-no
- release-no
schedule:
- cron: '31 11 * * 4'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ on:
- completed
branches:
- "pull-request/[0-9]+"
- main
- release-*
- main-no
- release-no

jobs:
e2e-test:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ name: Go
on:
push:
branches:
- main
- release-*
- main-no
- release-no
pull_request:
branches:
- main
- release-*
- main-no
- release-no

jobs:
build:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ name: Image
on:
pull_request:
branches:
- 'main'
- 'release-*'
- 'main-no'
- 'release-no'
push:
tags:
- 'v*.*.*'
branches:
- 'main'
- 'release-*'
- 'main-no'
- 'release-no'

jobs:
docker:
Expand Down

0 comments on commit 88af736

Please sign in to comment.