diff --git a/.github/workflows/sns_lifecycle.yml b/.github/workflows/sns_lifecycle.yml index feed5b2..2328850 100644 --- a/.github/workflows/sns_lifecycle.yml +++ b/.github/workflows/sns_lifecycle.yml @@ -24,7 +24,7 @@ jobs: SNS_TESTING_INSTANCE=$( docker run -p 8000:8000 -p 8080:8080 -v "`pwd`":/dapp -d ghcr.io/dfinity/sns-testing dfx start --clean ) - while ! docker logs $SNS_TESTING_INSTANCE 2>&1 | grep -m 1 'Dashboard:' + while ! docker logs $SNS_TESTING_INSTANCE 2>&1 | grep -m 1 'Replica API running' do echo "Awaiting local replica ..." sleep 3 diff --git a/README.md b/README.md index 3854c8a..1e233d8 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ After getting familiar with the basic scenario, you may replace the test caniste SNS_TESTING_INSTANCE=$( docker run -p 8000:8000 -p 8080:8080 -v "`pwd`":/dapp -d ghcr.io/dfinity/sns-testing:main dfx start --clean ) - while ! docker logs $SNS_TESTING_INSTANCE 2>&1 | grep -m 1 'Dashboard:' + while ! docker logs $SNS_TESTING_INSTANCE 2>&1 | grep -m 1 'Replica API running' do echo "Awaiting local replica ..." sleep 3 diff --git a/upgrade_dapp.sh b/upgrade_dapp.sh index 3b4edf2..776f306 100755 --- a/upgrade_dapp.sh +++ b/upgrade_dapp.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -xeuo pipefail +set -euo pipefail CURRENTDIR="$(pwd)"