Skip to content

Commit

Permalink
skip dbs on init
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi committed May 31, 2024
1 parent d0199b9 commit 5e11cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
describe_out=$($ASTRA_BIN db describe $name -o json --token $ASTRA_TOKEN --env $ASTRA_ENV)
status=$(echo "$describe_out" | jq -r '.data.status')
echo "Status: $status"
if [ "$status" == "TERMINATING" ]; then
if [[ "$status" == "TERMINATING" || "$status" == "INITIALIZING" ]]; then
echo "Skipping $name"
continue
fi
Expand Down

0 comments on commit 5e11cb3

Please sign in to comment.