mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
fixing HTTP problem
This commit is contained in:
parent
46d17158b9
commit
8a63668b7f
1 changed files with 3 additions and 3 deletions
6
.github/workflows/deploy-devnet.yml
vendored
6
.github/workflows/deploy-devnet.yml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "Waiting for Geth RPC to be ready..."
|
echo "Waiting for Geth RPC to be ready..."
|
||||||
for i in {1..30}; do
|
for i in {1..30}; do
|
||||||
if curl -s http://localhost:8545 > /dev/null; then
|
if docker exec $CONTAINER_NAME curl -s http://localhost:8545 > /dev/null; then
|
||||||
echo "Geth RPC is up!"
|
echo "Geth RPC is up!"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
@ -48,7 +48,7 @@ jobs:
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
if ! curl -s http://localhost:8545 > /dev/null; then
|
if ! docker exec $CONTAINER_NAME curl -s http://localhost:8545 > /dev/null; then
|
||||||
echo "❌ Geth RPC did not start within 60 seconds."
|
echo "❌ Geth RPC did not start within 60 seconds."
|
||||||
echo "--- Container logs ---"
|
echo "--- Container logs ---"
|
||||||
docker logs $CONTAINER_NAME
|
docker logs $CONTAINER_NAME
|
||||||
|
|
@ -56,7 +56,7 @@ jobs:
|
||||||
docker ps -a
|
docker ps -a
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue