Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
72d9c316
Unverified
Commit
72d9c316
authored
Dec 22, 2024
by
youkaichao
Committed by
GitHub
Dec 22, 2024
Browse files
[cd][release] fix race conditions (#11407)
Signed-off-by:
youkaichao
<
youkaichao@gmail.com
>
parent
4a913978
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
.buildkite/upload-wheels.sh
.buildkite/upload-wheels.sh
+17
-3
No files found.
.buildkite/upload-wheels.sh
View file @
72d9c316
...
@@ -46,12 +46,26 @@ python3 .buildkite/generate_index.py --wheel "$normal_wheel"
...
@@ -46,12 +46,26 @@ python3 .buildkite/generate_index.py --wheel "$normal_wheel"
# generate index for this commit
# generate index for this commit
aws s3
cp
"
$wheel
"
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/"
aws s3
cp
"
$wheel
"
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/"
aws s3
cp
"
$normal_wheel
"
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/"
aws s3
cp
"
$normal_wheel
"
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/"
aws s3
cp
index.html
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/vllm/index.html"
aws s3
cp
"s3://vllm-wheels/nightly/index.html"
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/index.html"
if
[[
$normal_wheel
==
*
"cu118"
*
]]
;
then
# if $normal_wheel matches cu118, do not upload the index.html
echo
"Skipping index files for cu118 wheels"
else
# only upload index.html for cu12 wheels (default wheels)
aws s3
cp
index.html
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/vllm/index.html"
aws s3
cp
"s3://vllm-wheels/nightly/index.html"
"s3://vllm-wheels/
$BUILDKITE_COMMIT
/index.html"
fi
# generate index for nightly
# generate index for nightly
aws s3
cp
"
$wheel
"
"s3://vllm-wheels/nightly/"
aws s3
cp
"
$wheel
"
"s3://vllm-wheels/nightly/"
aws s3
cp
"
$normal_wheel
"
"s3://vllm-wheels/nightly/"
aws s3
cp
"
$normal_wheel
"
"s3://vllm-wheels/nightly/"
aws s3
cp
index.html
"s3://vllm-wheels/nightly/vllm/index.html"
if
[[
$normal_wheel
==
*
"cu118"
*
]]
;
then
# if $normal_wheel matches cu118, do not upload the index.html
echo
"Skipping index files for cu118 wheels"
else
# only upload index.html for cu12 wheels (default wheels)
aws s3
cp
index.html
"s3://vllm-wheels/nightly/vllm/index.html"
fi
aws s3
cp
"
$wheel
"
"s3://vllm-wheels/
$version
/"
aws s3
cp
"
$wheel
"
"s3://vllm-wheels/
$version
/"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment