Skip to content

Janitor

Janitor #322

Workflow file for this run

name: Janitor
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
jobs:
azure-janitor:
name: azure-janitor
runs-on: ubuntu-latest
steps:
- name: Cleanup
uses: rancher-sandbox/[email protected]
with:
resource-groups: highlander-e2e*
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID}}
client-id: ${{ secrets.AZURE_CLIENT_ID}}
client-secret: ${{ secrets.AZURE_CLIENT_SECRET}}
tenant-id: ${{ secrets.AZURE_TENANT_ID}}
commit: true
aws-janitor:
if: success() || failure()
name: aws-janitor
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Cleanup
uses: rancher-sandbox/[email protected]
with:
regions: eu-west-2
commit: true
ignore-tag: janitor-ignore