File tree 2 files changed +4
-3
lines changed
.buildkite/nightly-benchmarks
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 8
8
containers :
9
9
- image : badouralix/curl-jq
10
10
command :
11
- - sh
12
- - .buildkite/nightly-benchmarks/scripts/wait-for-image.sh
11
+ - sh .buildkite/nightly-benchmarks/scripts/wait-for-image.sh
13
12
- wait
14
13
- label : " A100"
15
14
agents :
Original file line number Diff line number Diff line change 2
2
TOKEN=$( curl -s -L " https://public.ecr.aws/token?service=public.ecr.aws&scope=repository:q9t5s3a7/vllm-ci-test-repo:pull" | jq -r .token)
3
3
URL=" https://public.ecr.aws/v2/q9t5s3a7/vllm-ci-test-repo/manifests/$BUILDKITE_COMMIT "
4
4
5
+ TIMEOUT_SECONDS=10
6
+
5
7
retries=0
6
8
while [ $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
8
10
exit 0
9
11
fi
10
12
You can’t perform that action at this time.
0 commit comments