mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
show status of osx codesigning and increase timeout (#3926)
This commit is contained in:
@@ -233,16 +233,19 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$(jq -r .body.state response.json)" == "completed" ]; then
|
||||
state="$(jq -r .body.state response.json)"
|
||||
|
||||
if [ "${state}" == "completed" ]; then
|
||||
echo "✅ signing complete ($(($(date +%s) - start_time))s)"
|
||||
break
|
||||
fi
|
||||
|
||||
if [ $(($(date +%s) - start_time)) -ge 900 ]; then
|
||||
if [ $(($(date +%s) - start_time)) -ge 3600 ]; then
|
||||
echo "⚠️ timed out ($(($(date +%s) - start_time))s)"
|
||||
exit 1
|
||||
fi
|
||||
echo "⏲️ waiting for signing to complete ($(($(date +%s) - start_time))s)"
|
||||
|
||||
echo "⏲️ waiting for signing to complete (${state}: $(($(date +%s) - start_time))s)"
|
||||
done
|
||||
|
||||
# parse lambda response
|
||||
|
||||
@@ -267,16 +267,19 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$(jq -r .body.state response.json)" == "completed" ]; then
|
||||
state="$(jq -r .body.state response.json)"
|
||||
|
||||
if [ "${state}" == "completed" ]; then
|
||||
echo "✅ signing complete ($(($(date +%s) - start_time))s)"
|
||||
break
|
||||
fi
|
||||
|
||||
if [ $(($(date +%s) - start_time)) -ge 900 ]; then
|
||||
if [ $(($(date +%s) - start_time)) -ge 3600 ]; then
|
||||
echo "⚠️ timed out ($(($(date +%s) - start_time))s)"
|
||||
exit 1
|
||||
fi
|
||||
echo "⏲️ waiting for signing to complete ($(($(date +%s) - start_time))s)"
|
||||
|
||||
echo "⏲️ waiting for signing to complete (${state}: $(($(date +%s) - start_time))s)"
|
||||
done
|
||||
|
||||
# parse lambda response
|
||||
|
||||
Reference in New Issue
Block a user