Skip to content

Commit

Permalink
break it to test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-dull committed Oct 4, 2024
1 parent b17f5fb commit babc89f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@ jobs:
- name: Wait for PyTerraBackTYL to start
run: |
cmd="exit 1"
for ct in {0..9}
do
OK=$(curl -Ss -o /dev/null -w "%{http_code}" http://localhost:2442 || true)
# OK=$(curl -Ss -o /dev/null -w "%{http_code}" http://localhost:2442 || true)
OK=$(curl -Ss -o /dev/null -w "%{http_code}" || true)
if [ ${OK} -ne 200 ]; then
sleep 1
else
cmd="exit 0"
break
exit 0
fi
done
echo $cmd | bash
exit 1
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
Expand Down

0 comments on commit babc89f

Please sign in to comment.