From 12ab2310f0aaecc4ac7c12c86bf89f4b1b5c7800 Mon Sep 17 00:00:00 2001 From: Filip Bozic <70634661+fbozic@users.noreply.github.com> Date: Fri, 27 Dec 2024 16:37:41 +0100 Subject: [PATCH] fix(e2e-tests): SWARM_HOST env var --- .github/workflows/e2e_tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index 6f00a529b..c9bb2c9f5 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -31,6 +31,9 @@ jobs: - name: Build apps run: | + export SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | head -n 1) + echo "$SWARM_HOST" + ./apps/kv-store/build.sh - name: Build contracts @@ -47,8 +50,7 @@ jobs: NO_COLOR: '1' # RUST_LOG: calimero_node=debug,calimero_network=debug run: | - SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}') - export $SWARM_PORT + export SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | head -n 1) echo "Running e2e tests, check job summary for details" echo "# E2E tests 🏗️" >> $GITHUB_STEP_SUMMARY