Skip to content

Commit

Permalink
Remove superfluous wait
Browse files Browse the repository at this point in the history
  • Loading branch information
eversC committed Nov 17, 2023
1 parent d589179 commit 03478ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/ci_concurrency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@ while true ; do
JOB_NAME_STATII=$(curl "${CURL_OPTS[@]}" -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${GITHUB_TOKEN}" "${API_CALL_URL_JOBS}" | jq -r '.jobs[] | .name,.status' || true)
for JOB_NAME_STATUS in $JOB_NAME_STATII; do
if [ "${JOB_NAME_STATUS}" == "e2e_test in_progress" ] ; then
echo "Another e2e is currently in progress, need to wait"
echo "Another e2e_test job is currently in progress, need to wait"
WAIT=true
break
fi
done
done
echo "${COUNT} CI workflows with status ${STATUS}"
WAIT=true
fi
done

Expand Down

0 comments on commit 03478ca

Please sign in to comment.