Skip to content

Commit

Permalink
fix: multiple fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpantos committed Aug 4, 2024
1 parent 8eee4c6 commit 8da8c7b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
echo "Checking availability of http://localhost:$port..."
for i in {1..30}; do
if curl -s --max-time 5 http://localhost:$port/ -X POST -H "Content-Type: application/json" --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}'; then
echo "http://localhost:$port is accessible."
echo " ... http://localhost:$port is accessible."
break
else
echo "http://localhost:$port is not accessible. Retrying in 10 seconds..."
Expand All @@ -102,13 +102,10 @@ jobs:

- name: Build and load
run: |
docker buildx bake \
--set "*.cache-from=type=local,src=/tmp/.buildx-cache" \
make docker-build ARGS="--set "*.cache-from=type=local,src=/tmp/.buildx-cache" \
--set "*.cache-to=type=local,dest=/tmp/.buildx-cache-new" \
--set "*.platform=linux/amd64" \
--builder ${{ steps.buildx.outputs.name }} \
-f docker-compose.yml \
--load
--builder ${{ steps.buildx.outputs.name }}"
- name: Test image
timeout-minutes: 10
Expand Down Expand Up @@ -178,7 +175,7 @@ jobs:
- name: Run Docker
run: |
make docker
make docker-local
working-directory: ethereum-contracts
env:
DOCKER_TAG: "1.1.2"
Expand All @@ -189,7 +186,7 @@ jobs:
echo "Checking availability of http://localhost:$port..."
for i in {1..30}; do
if curl -s --max-time 5 http://localhost:$port/ -X POST -H "Content-Type: application/json" --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}'; then
echo "http://localhost:$port is accessible."
echo " ... http://localhost:$port is accessible."
break
else
echo "http://localhost:$port is not accessible. Retrying in 10 seconds..."
Expand Down

0 comments on commit 8da8c7b

Please sign in to comment.