Skip to content

Commit

Permalink
Update nightly_e2e workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Callisto13 committed Nov 4, 2021
1 parent f8622b6 commit f668cfc
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/nightly_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
uses: weaveworks/metal-janitor-action@b0373b3a6a8bb1e6573616040121c22ba230cdc8
run: |
pip3 install -r test/tools/requirements.txt
test/tools/run.py run-e2e -o ${{ secrets.EQUINIX_ORG_ID }} -p flintlock_nightly_e2e
- name: Cleanup project
uses: weaveworks/metal-janitor-action@27a0594c5c92d85585b553fc0c5ef2a3de7bec95
with:
metal_auth_token: ${{ secrets.METAL_AUTH_TOKEN }}
project_names: 'quicksilver_e2e_1'
project_names: 'flintlock_nightly_e2e'

0 comments on commit f668cfc

Please sign in to comment.