From 2888a09a9b70c9fe05d4a897c5527fa00f6b2ebb Mon Sep 17 00:00:00 2001 From: Gleb Date: Thu, 5 Dec 2024 12:44:04 -0800 Subject: [PATCH] wait for qs --- .github/workflows/bindings-ts.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bindings-ts.yml b/.github/workflows/bindings-ts.yml index e39ca35b3..f84019bcc 100644 --- a/.github/workflows/bindings-ts.yml +++ b/.github/workflows/bindings-ts.yml @@ -46,13 +46,16 @@ jobs: colima start - name: Run quickstart run: | - docker run -d --name quickstart stellar/quickstart:testing \ + docker run -d --name quickstart \ -p 8000:8000 -e ENABLE_LOGS=true -e NETWORK=local -e ENABLE_SOROBAN_RPC=true \ --health-cmd "curl --no-progress-meter --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' && curl --no-progress-meter \"http://localhost:8000/friendbot\" | grep '\"invalid_field\": \"addr\"'" \ --health-interval 10s \ --health-timeout 5s \ - --health-retries 50 - - run: docker inspect quickstart + --health-retries 50 \ + stellar/quickstart:testing + until [ "`docker inspect -f {{.State.Health.Status}} quickstart`"=="healthy" ]; do + sleep 0.1; + done; - run: rustup update - run: cargo build - run: rustup target add wasm32-unknown-unknown