Updated run.sh scripts for test services
This commit is contained in:
parent
610e4e7742
commit
9a7c243295
|
@ -8,7 +8,6 @@ demo/validator*/.keys.staging
|
||||||
src/deploy/deploy*/build/
|
src/deploy/deploy*/build/
|
||||||
src/deploy/.keys.staging
|
src/deploy/.keys.staging
|
||||||
src/test-services/.keys.staging
|
src/test-services/.keys.staging
|
||||||
src/test-services/.keys.development
|
|
||||||
src/test.js
|
src/test.js
|
||||||
tests/results.xml
|
tests/results.xml
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
FOREIGN_PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000000
|
|
|
@ -9,4 +9,8 @@ TARGET_NETWORK=${TARGET_NETWORK:=development}
|
||||||
|
|
||||||
docker build -t binance-balance . > /dev/null
|
docker build -t binance-balance . > /dev/null
|
||||||
|
|
||||||
docker run --rm --network binance_net --env-file ".env.$TARGET_NETWORK" binance-balance $@
|
if [[ "$TARGET_NETWORK" == "development" ]]; then
|
||||||
|
docker run --rm --network binance_net --env-file ".env.$TARGET_NETWORK" binance-balance $@
|
||||||
|
else
|
||||||
|
docker run --rm --env-file ".env.$TARGET_NETWORK" binance-balance $@
|
||||||
|
fi
|
|
@ -9,4 +9,8 @@ TARGET_NETWORK=${TARGET_NETWORK:=development}
|
||||||
|
|
||||||
docker build -t binance-send . > /dev/null
|
docker build -t binance-send . > /dev/null
|
||||||
|
|
||||||
docker run --rm --network binance_net --env-file ".env.$TARGET_NETWORK" --env-file "../.keys.$TARGET_NETWORK" -e "PRIVATE_KEY=$PRIVATE_KEY" binance-send $@
|
if [[ "$TARGET_NETWORK" == "development" ]]; then
|
||||||
|
docker run --rm --network binance_net --env-file ".env.$TARGET_NETWORK" -e "PRIVATE_KEY=$PRIVATE_KEY" binance-send $@
|
||||||
|
else
|
||||||
|
docker run --rm --env-file ".env.$TARGET_NETWORK" --env-file "../.keys.$TARGET_NETWORK" -e "PRIVATE_KEY=$PRIVATE_KEY" binance-send $@
|
||||||
|
fi
|
||||||
|
|
|
@ -9,4 +9,8 @@ TARGET_NETWORK=${TARGET_NETWORK:=development}
|
||||||
|
|
||||||
docker build -t ethereum-balance . > /dev/null
|
docker build -t ethereum-balance . > /dev/null
|
||||||
|
|
||||||
docker run --network blockchain_home --rm --env-file ".env.$TARGET_NETWORK" ethereum-balance $@
|
if [[ "$TARGET_NETWORK" == "development" ]]; then
|
||||||
|
docker run --network blockchain_home --rm --env-file ".env.$TARGET_NETWORK" ethereum-balance $@
|
||||||
|
else
|
||||||
|
docker run --rm --env-file ".env.$TARGET_NETWORK" ethereum-balance $@
|
||||||
|
fi
|
||||||
|
|
|
@ -9,4 +9,8 @@ TARGET_NETWORK=${TARGET_NETWORK:=development}
|
||||||
|
|
||||||
docker build -t ethereum-send . > /dev/null
|
docker build -t ethereum-send . > /dev/null
|
||||||
|
|
||||||
docker run --network blockchain_home --rm --env-file ".env.$TARGET_NETWORK" --env-file "../.keys.$TARGET_NETWORK" -e "PRIVATE_KEY=$PRIVATE_KEY" ethereum-send $@
|
if [[ "$TARGET_NETWORK" == "development" ]]; then
|
||||||
|
docker run --network blockchain_home --rm --env-file ".env.$TARGET_NETWORK" -e "PRIVATE_KEY=$PRIVATE_KEY" ethereum-send $@
|
||||||
|
else
|
||||||
|
docker run --rm --env-file ".env.$TARGET_NETWORK" --env-file "../.keys.$TARGET_NETWORK" -e "PRIVATE_KEY=$PRIVATE_KEY" ethereum-send $@
|
||||||
|
fi
|
||||||
|
|
|
@ -11,4 +11,8 @@ echo "Using $TARGET_NETWORK network"
|
||||||
|
|
||||||
docker build -t side-prefund . > /dev/null
|
docker build -t side-prefund . > /dev/null
|
||||||
|
|
||||||
docker run --network blockchain_side --rm --env-file ".env.$TARGET_NETWORK" --env-file "../.keys.$TARGET_NETWORK" side-prefund $@
|
if [[ "$TARGET_NETWORK" == "development" ]]; then
|
||||||
|
docker run --network blockchain_side --rm --env-file ".env.$TARGET_NETWORK" side-prefund $@
|
||||||
|
else
|
||||||
|
docker run --rm --env-file ".env.$TARGET_NETWORK" --env-file "../.keys.$TARGET_NETWORK" side-prefund $@
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue