Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use correct env variable in CI
  • Loading branch information
anton-lisanin committed Oct 7, 2021
commit 8fdb7fe8d0e9adb5078e5f0d1fd686cc39d96941
10 changes: 9 additions & 1 deletion .buildkite/steps/deploy-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,17 @@ export PROXY_URL=http://127.0.0.1:9090/solana

echo "Wait proxy..." && wait-for-proxy "$PROXY_URL"

export EVM_LOADER=$(docker exec proxy bash -c "cat evm_loader_id" | sed '/Program Id: \([0-9A-Za-z]\+\)/,${s//\1/;b};s/^.*$//;$q1')
export SOLANA_URL=$(docker exec solana bash -c 'echo "$SOLANA_URL"')

echo "EVM_LOADER" $EVM_LOADER
echo "SOLANA_URL" $SOLANA_URL

echo "Run proxy tests..."
docker run --rm -ti --network=host \
docker run --rm -ti --network=container:proxy \
-e PROXY_URL \
-e EVM_LOADER \
-e SOLANA_URL \
-e EXTRA_GAS=100000 \
--entrypoint ./proxy/deploy-test.sh \
${EXTRA_ARGS:-} \
Expand Down