File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
.buildkite/nightly-benchmarks Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 88 containers :
99 - image : badouralix/curl-jq
1010 command :
11- - sh
12- - .buildkite/nightly-benchmarks/scripts/wait-for-image.sh
11+ - sh .buildkite/nightly-benchmarks/scripts/wait-for-image.sh
1312 - wait
1413 - label : " A100"
1514 agents :
Original file line number Diff line number Diff line change 22TOKEN=$( curl -s -L " https://public.ecr.aws/token?service=public.ecr.aws&scope=repository:q9t5s3a7/vllm-ci-test-repo:pull" | jq -r .token)
33URL=" https://public.ecr.aws/v2/q9t5s3a7/vllm-ci-test-repo/manifests/$BUILDKITE_COMMIT "
44
5+ TIMEOUT_SECONDS=10
6+
57retries=0
68while [ $retries -lt 1000 ]; do
7- if [ $( curl -s -L -H " Authorization: Bearer $TOKEN " -o /dev/null -w " %{http_code}" $URL ) -eq 200 ]; then
9+ if [ $( curl -s --max-time $TIMEOUT_SECONDS - L -H " Authorization: Bearer $TOKEN " -o /dev/null -w " %{http_code}" $URL ) -eq 200 ]; then
810 exit 0
911 fi
1012
You can’t perform that action at this time.
0 commit comments