From 2bf152514db04cb408050313b1a451afa6e560a7 Mon Sep 17 00:00:00 2001 From: Claudia Beresford Date: Wed, 3 Nov 2021 16:11:56 +0000 Subject: [PATCH] Update nightly_e2e workflow --- .github/workflows/nightly_e2e.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nightly_e2e.yml b/.github/workflows/nightly_e2e.yml index 3c90aad29..8b40c5c86 100644 --- a/.github/workflows/nightly_e2e.yml +++ b/.github/workflows/nightly_e2e.yml @@ -11,18 +11,14 @@ jobs: name: e2e tests steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 - with: - go-version: '^1.17.2' - # TODO - # have a custom action for the setup so that we can get outputs for the cleanup projects - # rather than hardcoding - name: Run tests - run: make test-e2e env: METAL_AUTH_TOKEN: ${{ secrets.METAL_AUTH_TOKEN }} - - name: Cleanup projects + run: | + pip3 install -r hack/tools/requirements.txt + hack/tools/run.py run-e2e -o ${{ secrets.EQUINIX_ORG_ID }} -p flintlock_nightly_e2e + - name: Cleanup project uses: weaveworks/metal-janitor-action@b0373b3a6a8bb1e6573616040121c22ba230cdc8 with: metal_auth_token: ${{ secrets.METAL_AUTH_TOKEN }} - project_names: 'quicksilver_e2e_1' + project_names: 'flintlock_nightly_e2e'