Skip to content

Commit 3dd1ff6

Browse files
author
Per Goncalves da Silva
committed
fix e2e gha
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 84e91cb commit 3dd1ff6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo "${JOB_ENV}" >> $GITHUB_OUTPUT
3232
- name: Build e2e fixtures if necessary
3333
if: env.UPDATE_FIXTURES == 'true'
34-
run: make build-e2e-fixtures
34+
run: scripts/e2e_test_fixtures.sh
3535
- name: Save images
3636
run: |
3737
if [ "${UPDATE_FIXTURES}" == "true" ]; then
@@ -43,7 +43,6 @@ jobs:
4343
with:
4444
name: docker-images
4545
path: "*.tar.gz"
46-
working-directory: ${{ github.workspace }}
4746

4847
# Run e2e tests in parallel jobs
4948
# Take olm image from the previous stage
@@ -60,7 +59,6 @@ jobs:
6059
E2E_TEST_CHUNK: ${{ matrix.parallel-id }}
6160
E2E_NODES: 2
6261
E2E_KUBECONFIG_ROOT: ${{ github.workspace }}/kubeconfigs
63-
UPDATE_FIXTURES: ${{ needs.build.outputs.UPDATE_FIXTURES }}
6462
steps:
6563
# checkout code and setup go
6664
- uses: actions/checkout@v4
@@ -106,7 +104,7 @@ jobs:
106104
KIND_CREATE_OPTS="--kubeconfig=${E2E_KUBECONFIG_ROOT}/kubeconfig-${i}" \
107105
HELM_INSTALL_OPTS="--kubeconfig ${E2E_KUBECONFIG_ROOT}/kubeconfig-${i}" \
108106
make kind-create deploy;
109-
if [ "${UPDATE_FIXTURES}" == "true" ]; then
107+
if [ "${{ needs.build.outputs.UPDATE_FIXTURES }}" == "true" ]; then
110108
scripts/e2e_test_fixtures.sh --kind-load
111109
fi
112110
done

0 commit comments

Comments
 (0)