Skip to content

Commit

Permalink
Add logs to understand check instance script issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bidoubiwa committed May 2, 2023
1 parent dbdd90f commit 7af4160
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/check_instance.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

PUBLIC_IP=$1
echo "http://$PUBLIC_IP"
echo $PUBLIC_IP
start_time=$(date +%s)

while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' --max-time 5 http://$PUBLIC_IP)" != "200" ]]; do
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
- name: check env
run: echo ${{ env.IMAGE_ID }}
- name: check env
run: echo $IMAGE_ID

- name: Install Terraform
run: |
Expand Down

0 comments on commit 7af4160

Please sign in to comment.