From ee8ce32ae95f86ceae8076e7c86db0dd81ed9033 Mon Sep 17 00:00:00 2001 From: Claudia Beresford Date: Fri, 15 Oct 2021 10:56:45 +0100 Subject: [PATCH] Cleanup equinix projects after e2e run --- .github/workflows/nightly_e2e.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly_e2e.yml b/.github/workflows/nightly_e2e.yml index 140a5b9ad..2cad73258 100644 --- a/.github/workflows/nightly_e2e.yml +++ b/.github/workflows/nightly_e2e.yml @@ -6,8 +6,8 @@ on: jobs: e2e: - runs-on: ubuntu-latest name: e2e tests + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 @@ -17,6 +17,11 @@ jobs: with: terraform_version: 1.0.1 - name: Run tests - run: make test-e2e env: METAL_AUTH_TOKEN: ${{ secrets.METAL_AUTH_TOKEN }} + run: make test-e2e + - name: Cleanup + uses: weaveworks/metal-janitor-action@b0373b3a6a8bb1e6573616040121c22ba230cdc8 + with: + metal-auth-token: ${{ secrets.METAL_AUTH_TOKEN }} + project-names: 'quicksilver_e2e_1'