You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--jq ".[] | select(.workflowName==\"$WAIT_WORKFLOW_NAME\" and .status!=\"completed\" and .headBranch!=\"$ENVIRONMENT_NAME\" and .databaseId!=$CURRENT_WORKFLOW_DATABASE_ID) | .databaseId" \
# --jq '.[] | select(.workflowName=="'$WAIT_WORKFLOW_NAME'" and .status!="completed" and .headBranch!="'$ENVIRONMENT_NAME'" and .databaseId!="'$CURRENT_WORKFLOW_DATABASE_ID'")' \
28
-
# --repo code-kern-ai/refinery-gateway)
29
-
# echo "Waiting for running db upgrade workflow to complete ..."
30
-
# if [ -z $RUNNING_DB_UPGRADE_WORKFLOW ]; then
31
-
# sleep 5
32
-
# fi
33
-
# done
34
-
if [ -z$RUNNING_DB_UPGRADE_WORKFLOW_ID ];then
35
-
echo"No running db upgrade workflow found"
36
-
exit 0
37
-
fi
38
20
39
-
gh run watch $RUNNING_DB_UPGRADE_WORKFLOW_ID --repo code-kern-ai/refinery-gateway
--jq ".[] | select(.workflowName==\"$WAIT_WORKFLOW_NAME\" and .status!=\"completed\" and .headBranch!=\"$ENVIRONMENT_NAME\" and .databaseId!=$CURRENT_WORKFLOW_DATABASE_ID) | .databaseId" \
25
+
--repo code-kern-ai/refinery-gateway)
26
+
27
+
echo"Waiting for running db upgrade workflow to complete ..."
28
+
if [ -z$RUNNING_DB_UPGRADE_WORKFLOW_ID ];then
29
+
gh run watch $RUNNING_DB_UPGRADE_WORKFLOW_ID --repo code-kern-ai/refinery-gateway 1> /dev/null
30
+
fi
31
+
done
32
+
40
33
echo"::notice::Running db upgrade workflow completed"
0 commit comments