-
-
Notifications
You must be signed in to change notification settings - Fork 15.7k
[build] fix cu130 related release pipeline steps and publish as nightly image #32522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -ex | ||
|
Harry-Chen marked this conversation as resolved.
|
||
|
|
||
| # Get tag variant from argument, default to empty if not provided, should be something like "cu130". | ||
| # Due to limits in cleanup script, we must move variants to use separate tags like "cu130-nightly", | ||
| # otherwise they will be cleaned up together with the main "nightly" tags. | ||
|
|
||
| TAG_VARIANT="$1" | ||
| if [ -n "$TAG_VARIANT" ]; then | ||
| ORIG_TAG_SUFFIX="-$TAG_VARIANT" | ||
| TAG_NAME="$TAG_VARIANT-nightly" | ||
| else | ||
| ORIG_TAG_SUFFIX="" | ||
| TAG_NAME="nightly" | ||
| fi | ||
|
|
||
| ORIG_TAG_NAME="$BUILDKITE_COMMIT" | ||
|
|
||
| echo "Pushing original tag $ORIG_TAG_NAME$ORIG_TAG_SUFFIX to new nightly tag name: $TAG_NAME" | ||
|
|
||
| # pull original arch-dependent images from AWS ECR Public | ||
| aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/q9t5s3a7 | ||
| docker pull public.ecr.aws/q9t5s3a7/vllm-release-repo:$ORIG_TAG_NAME-x86_64$ORIG_TAG_SUFFIX | ||
| docker pull public.ecr.aws/q9t5s3a7/vllm-release-repo:$ORIG_TAG_NAME-aarch64$ORIG_TAG_SUFFIX | ||
| # tag arch-dependent images | ||
| docker tag public.ecr.aws/q9t5s3a7/vllm-release-repo:$ORIG_TAG_NAME-x86_64$ORIG_TAG_SUFFIX vllm/vllm-openai:$TAG_NAME-x86_64 | ||
| docker tag public.ecr.aws/q9t5s3a7/vllm-release-repo:$ORIG_TAG_NAME-aarch64$ORIG_TAG_SUFFIX vllm/vllm-openai:$TAG_NAME-aarch64 | ||
| # push arch-dependent images to DockerHub | ||
| docker push vllm/vllm-openai:$TAG_NAME-x86_64 | ||
| docker push vllm/vllm-openai:$TAG_NAME-aarch64 | ||
| # push arch-independent manifest to DockerHub | ||
| docker manifest create vllm/vllm-openai:$TAG_NAME vllm/vllm-openai:$TAG_NAME-x86_64 vllm/vllm-openai:$TAG_NAME-aarch64 --amend | ||
| docker manifest create vllm/vllm-openai:$TAG_NAME-$BUILDKITE_COMMIT vllm/vllm-openai:$TAG_NAME-x86_64 vllm/vllm-openai:$TAG_NAME-aarch64 --amend | ||
| docker manifest push vllm/vllm-openai:$TAG_NAME | ||
| docker manifest push vllm/vllm-openai:$TAG_NAME-$BUILDKITE_COMMIT | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.