Skip to content

Commit 8e00666

Browse files
committed
Update CI flow to use the new runner
1 parent 695efa3 commit 8e00666

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/e2e-tests-main-devnet.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ jobs:
150150
- name: Build binary and docker image
151151
run: |
152152
cd e2e-tests/
153-
cargo build --release
153+
rm target/release/deps/aleph_e2e_client*
154+
cargo test --no-run --release
155+
cp $(find target/release/deps/ -executable | grep aleph_e2e_client | head) target/release/aleph-e2e-client
154156
docker build --tag aleph-e2e-client:latest -f Dockerfile .
155157
docker save -o aleph-e2e-client.tar aleph-e2e-client:latest
156158

e2e-tests/.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
target
2+
!target/release/aleph-e2e-client

e2e-tests/docker_entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ if [[ -n "${UPGRADE_VERSION:-}" && -n "${UPGRADE_SESSION:-}" && -n "${UPGRADE_FI
2525
)
2626
fi
2727

28-
aleph-e2e-client "${ARGS[@]}"
28+
E2E_CONFIG="${ARGS[*]}" aleph-e2e-client $TEST_CASES --nocapture
2929

3030
echo "Done!"

0 commit comments

Comments
 (0)