From d26ee15e9f3c71a238997c785a6b6d8185daabdc Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Thu, 7 Mar 2024 16:29:35 +0100 Subject: [PATCH] fix quoting of custom images in TOML, echo test compatibility matrix --- .github/actions/setup-create-base64-config/action.yml | 11 ++++++----- .github/workflows/evm-version-compatibility-tests.yml | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-create-base64-config/action.yml b/.github/actions/setup-create-base64-config/action.yml index aed4a78db8c..3b988730421 100644 --- a/.github/actions/setup-create-base64-config/action.yml +++ b/.github/actions/setup-create-base64-config/action.yml @@ -97,12 +97,13 @@ runs: custom_images="" if [ -n "$CUSTOM_DOCKER_IMAGES" ]; then - custom_images+="[PrivateEthereumNetwork.CustomDockerImages]" - IFS=',' read -r -a array <<< "$CUSTOM_DOCKER_IMAGES" + custom_images+="[PrivateEthereumNetwork.CustomDockerImages]" + IFS=',' read -r -a array <<< "$CUSTOM_DOCKER_IMAGES" - for element in "${array[@]}"; do - custom_images+=$'\n'"$element" - done + for element in "${array[@]}"; do + IFS='=' read -r key value <<< "$element" + custom_images+=$'\n'"$key=\"$value\"" + done fi if [ -n "$ETH_EXECUTION_CLIENT" ]; then diff --git a/.github/workflows/evm-version-compatibility-tests.yml b/.github/workflows/evm-version-compatibility-tests.yml index 1df981babba..fd53dd0692d 100644 --- a/.github/workflows/evm-version-compatibility-tests.yml +++ b/.github/workflows/evm-version-compatibility-tests.yml @@ -146,6 +146,7 @@ jobs: cd ./integration-tests JOB_MATRIX_JSON=$(./scripts/buildEvmClientTestMatrixList.sh ./evm_node_compatibility_test_list.json ubuntu-latest) echo "JOB_MATRIX_JSON=${JOB_MATRIX_JSON}" >> $GITHUB_ENV + echo $JOB_MATRIX_JSON | jq . # End Build Test Dependencies