Skip to content

Commit

Permalink
wip: Retrieve status directly from console log
Browse files Browse the repository at this point in the history
Since the status property is set a side-effect of having the exospere
webapp running in a browser, we explicitly retrieve the status.
  • Loading branch information
jcfr committed May 7, 2024
1 parent f3a94f6 commit 486fd81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ jobs:
while [ $total_wait_time -lt $max_wait_time ]; do
status=$(openstack server show "$INSTANCE_NAME" -f json -c properties | \
jq -r .properties | \
jq -r .exoSetup | \
status=$(openstack console log show $INSTANCE_NAME | \
grep "^\{\"status\":\"" | \
tail -1 | \
jq -r .status)
has_pwd=$(
Expand Down

0 comments on commit 486fd81

Please sign in to comment.