From b451dce88361a10a40e4650cc208410187504053 Mon Sep 17 00:00:00 2001 From: Andrew Hughes-Onslow Date: Tue, 23 Jul 2024 00:21:41 +0100 Subject: [PATCH] ATO-762: Removed weekly cleanup [deploy] --- .github/workflows/clean-up-deployments.yml | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/clean-up-deployments.yml diff --git a/.github/workflows/clean-up-deployments.yml b/.github/workflows/clean-up-deployments.yml deleted file mode 100644 index 70b0527ea..000000000 --- a/.github/workflows/clean-up-deployments.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Clean up deployments -run-name: Delete stale deployments - -on: - workflow_dispatch: - schedule: - # Every weekday at 10am - - cron: '0 10 * * 1-5' - -permissions: read-all - -jobs: - delete-fargate-deployments: - name: Clean up Fargate deployments - runs-on: ubuntu-latest - environment: development - concurrency: deploy-fargate-development-${{ github.head_ref || github.ref_name }} - - permissions: - id-token: write - contents: read - - steps: - - name: Deregister stale task definitions - uses: govuk-one-login/github-actions/aws/ecs/deregister-stale-task-definitions@94bfee8a40ab914626a7fb5bc459dd2c6a4ed435 # 5/03/2024 - with: - aws-role-arn: ${{ vars.DEPLOYMENT_ROLE_ARN }} - family: self-service-frontend - container: self-service-frontend