Explorar el Código

tests: run subkey container without `-it` to work on github runner

Mokhtar Naamani hace 3 años
padre
commit
966106f812
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      tests/network-tests/run-test-node-docker.sh

+ 3 - 1
tests/network-tests/run-test-node-docker.sh

@@ -13,7 +13,9 @@ mkdir -p ${DATA_PATH}
 # Will be the source of funds for all new accounts that are created in the tests.
 SUDO_INITIAL_BALANCE=${SUDO_INITIAL_BALANCE:=100000000}
 SUDO_ACCOUNT_URI=${SUDO_ACCOUNT_URI:="//Alice"}
-SUDO_ACCOUNT=$(docker run -it --rm --pull=always docker.io/parity/subkey:2.0.1 inspect ${SUDO_ACCOUNT_URI} --output-type json | jq .ss58Address -r)
+SUDO_ACCOUNT=$(docker run --rm --pull=always docker.io/parity/subkey:2.0.1 inspect ${SUDO_ACCOUNT_URI} --output-type json | jq .ss58Address -r)
+
+>&2 echo "sudo account from suri: ${SUDO_ACCOUNT}"
 
 # The docker image tag to use for joystream/node
 RUNTIME=${RUNTIME:=latest}