Skip to content

Commit

Permalink
split e2e and upgrade-e2e into separate ghas to make upgrade-e2e easi…
Browse files Browse the repository at this point in the history
…er to re-run

Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
  • Loading branch information
Per Goncalves da Silva committed Jan 15, 2025
1 parent 8e6ee58 commit 57f652a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,3 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Run the upgrade e2e test
run: ARTIFACT_PATH=/tmp/artifacts make test-upgrade-e2e

- uses: cytopia/upload-artifact-retry-action@v0.1.7
if: failure()
with:
name: upgrade-e2e-artifacts
path: /tmp/artifacts/
28 changes: 28 additions & 0 deletions .github/workflows/upgrade-e2e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: e2e

on:
workflow_dispatch:
pull_request:
merge_group:
push:
branches:
- main

jobs:
upgrade-e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Run the upgrade e2e test
run: ARTIFACT_PATH=/tmp/artifacts make test-upgrade-e2e

- uses: cytopia/upload-artifact-retry-action@v0.1.7
if: failure()
with:
name: upgrade-e2e-artifacts
path: /tmp/artifacts/

0 comments on commit 57f652a

Please sign in to comment.