From 50d7f9dd52083e8810d109412c93d1ac3913b399 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 16 Jul 2024 09:52:07 +0200 Subject: [PATCH] destroy stale instances --- .github/workflows/pull_request.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 885bcf19..f21687ae 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -241,3 +241,19 @@ jobs: infra_agent_env: staging test_report_filename: test-report-staging.xml secrets: inherit + + destroy_everything_suse_builders: + needs: [setup_environment,build_suse_packages] + uses: ./.github/workflows/run_task.yml + if: failure() + with: + container_make_target: "terraform/ec2-suse-builders/clean PRE_RELEASE_NAME=${{ needs.setup_environment.outputs.pre_release_name }}" + secrets: inherit + + destroy_everything_tests_executors: + needs: [setup_environment,build_suse_packages] + uses: ./.github/workflows/run_task.yml + if: failure() + with: + container_make_target: "terraform/ec2-test-executors/clean PRE_RELEASE_NAME=${{ needs.setup_environment.outputs.pre_release_name }}" + secrets: inherit