From 398fe490efbd0d833582440166f2de6203a6e000 Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:32:05 +0200 Subject: [PATCH 1/4] ci: set timeout in teardown surge deployments Ensure the step doesn't take too much time --- .github/workflows/teardown-inactive-surge-deployments.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/teardown-inactive-surge-deployments.yml b/.github/workflows/teardown-inactive-surge-deployments.yml index ba7779d29..636d22b69 100644 --- a/.github/workflows/teardown-inactive-surge-deployments.yml +++ b/.github/workflows/teardown-inactive-surge-deployments.yml @@ -16,6 +16,7 @@ jobs: steps: - name: Teardown surge deployement inactive than more 1 month uses: adrianjost/actions-surge.sh-teardown@v1.0.3 + timeout-minutes: 1 with: regex: '[1-9]+ month.? ago' env: From 338f124d0a7e8b87b9669df889cf6030a37d660f Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:53:41 +0200 Subject: [PATCH 2/4] improve step name --- .github/workflows/teardown-inactive-surge-deployments.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/teardown-inactive-surge-deployments.yml b/.github/workflows/teardown-inactive-surge-deployments.yml index 636d22b69..8e2cbfbd3 100644 --- a/.github/workflows/teardown-inactive-surge-deployments.yml +++ b/.github/workflows/teardown-inactive-surge-deployments.yml @@ -14,7 +14,7 @@ jobs: teardown_inactive_deployement: runs-on: ubuntu-22.04 steps: - - name: Teardown surge deployement inactive than more 1 month + - name: Teardown deployments older than more 1 month uses: adrianjost/actions-surge.sh-teardown@v1.0.3 timeout-minutes: 1 with: From 421c7d6cf9f336c635208d992e322185ed9f8804 Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:57:47 +0200 Subject: [PATCH 3/4] timeout: from 1 min to 10 min --- .github/workflows/teardown-inactive-surge-deployments.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/teardown-inactive-surge-deployments.yml b/.github/workflows/teardown-inactive-surge-deployments.yml index 8e2cbfbd3..aa06ac0c4 100644 --- a/.github/workflows/teardown-inactive-surge-deployments.yml +++ b/.github/workflows/teardown-inactive-surge-deployments.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Teardown deployments older than more 1 month uses: adrianjost/actions-surge.sh-teardown@v1.0.3 - timeout-minutes: 1 + timeout-minutes: 10 with: regex: '[1-9]+ month.? ago' env: From c708d4d9be3b3d653c0f625b64b158531a49198a Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Wed, 4 Sep 2024 09:58:49 +0200 Subject: [PATCH 4/4] improve step name --- .github/workflows/teardown-inactive-surge-deployments.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/teardown-inactive-surge-deployments.yml b/.github/workflows/teardown-inactive-surge-deployments.yml index aa06ac0c4..a19fa94d4 100644 --- a/.github/workflows/teardown-inactive-surge-deployments.yml +++ b/.github/workflows/teardown-inactive-surge-deployments.yml @@ -14,7 +14,7 @@ jobs: teardown_inactive_deployement: runs-on: ubuntu-22.04 steps: - - name: Teardown deployments older than more 1 month + - name: Teardown deployments older than 1 month uses: adrianjost/actions-surge.sh-teardown@v1.0.3 timeout-minutes: 10 with: