Skip to content
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

[CI] Fix S3 upload for manylinux2014 wheels #10483

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions tests/buildkite/build-manylinux2014-aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ mv -v wheelhouse/*.whl python-package/dist/

echo "--- Upload Python wheel"
buildkite-agent artifact upload python-package/dist/*.whl
$command_wrapper bash -c "${python_bin} -m pip install awscli"
if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
then
${python_bin} -m awscli s3 \
cp python-package/dist/*.whl s3://xgboost-nightly-builds/${BRANCH_NAME}/ \
aws s3 cp python-package/dist/*.whl s3://xgboost-nightly-builds/${BRANCH_NAME}/ \
--acl public-read --no-progress
fi
4 changes: 1 addition & 3 deletions tests/buildkite/build-manylinux2014-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ mv -v wheelhouse/*.whl python-package/dist/

echo "--- Upload Python wheel"
buildkite-agent artifact upload python-package/dist/*.whl
$command_wrapper bash -c "${python_bin} -m pip install awscli"
if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
then
${python_bin} -m awscli s3 \
cp python-package/dist/*.whl s3://xgboost-nightly-builds/${BRANCH_NAME}/ \
aws s3 cp python-package/dist/*.whl s3://xgboost-nightly-builds/${BRANCH_NAME}/ \
--acl public-read --no-progress
fi
Loading