Skip to content

Commit

Permalink
Update the timeout of the clean-up cluster step to 1h (#7938)
Browse files Browse the repository at this point in the history
# Description
Update the timeout of the clean-up cluster step to 1h.

## Type of change
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

Signed-off-by: ytimocin <[email protected]>
  • Loading branch information
ytimocin authored Sep 19, 2024
1 parent 69d6726 commit 50c1600
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

set -e

echo "cleaning up cluster"
echo "cleaning up long-running cluster on Azure"

# Delete all test resources in queuemessages.
if kubectl get crd queuemessages.ucp.dev >/dev/null 2>&1; then
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/long-running-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ jobs:
env:
RESOURCE_GROUP: ${{ env.AZURE_TEST_RESOURCE_GROUP }}
- name: Clean up cluster
run: ./.github/scripts/cleanup-cluster.sh
if: always()
timeout-minutes: 60
run: ./.github/scripts/cleanup-long-running-cluster.sh
- name: Download Bicep
run: |
chmod +x ./bin/rad
Expand Down Expand Up @@ -512,7 +514,7 @@ jobs:
- name: Clean up cluster
if: always()
timeout-minutes: 60
run: ./.github/scripts/cleanup-cluster.sh
run: ./.github/scripts/cleanup-long-running-cluster.sh
report-failure:
name: Report test failure
needs: [build, tests]
Expand Down

0 comments on commit 50c1600

Please sign in to comment.