We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292e9ab commit 35bdc36Copy full SHA for 35bdc36
.github/workflows/trigger-hpsf-gitlab-ci.yml
@@ -84,23 +84,8 @@ jobs:
84
echo "Waiting on GitLab pipeline $PIPELINE_ID..."
85
86
STATUS="running"
87
- MAX_WAIT=86400 # 24 hours
88
- ELAPSED=0
89
-
90
while [[ "$STATUS" == "running" || "$STATUS" == "pending" ]]; do
91
- if [ $ELAPSED -ge $MAX_WAIT ]; then
92
- echo "Timeout waiting for pipeline after $MAX_WAIT seconds"
93
- echo "final_status=timeout" >> $GITHUB_OUTPUT
94
- exit 1
95
- fi
96
97
- if [ $ELAPSED -lt 7200 ]; then
98
- SLEEP_TIME=600 # 10 minutes
99
- else
100
- SLEEP_TIME=3600 # 1 hour
101
102
- sleep $SLEEP_TIME
103
- ELAPSED=$((ELAPSED + SLEEP_TIME))
+ sleep 900 # 15 minutes
104
105
STATUS=$(curl -s \
106
"https://gitlab.spack.io/api/v4/projects/${{ env.GITLAB_PROJECT_ID }}/pipelines/$PIPELINE_ID" \
0 commit comments