Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix cd by adding to $PATH (#19939)
Browse files Browse the repository at this point in the history
* change cd mxnetlib task to use g4 node

* add g4 mapping

* revert changes

* Update runtime_functions.sh

* Update runtime_functions.sh
  • Loading branch information
Zha0q1 authored Feb 24, 2021
1 parent 2ddbf88 commit 5070f1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1307,13 +1307,14 @@ cd_pypi_publish() {

cd_s3_publish() {
set -ex
pip3 install --user awscli
pip3 install --upgrade --user awscli
filepath=$(readlink -f wheel_build/dist/*.whl)
filename=$(basename $filepath)
variant=$(echo $filename | cut -d'-' -f1 | cut -d'_' -f2 -s)
if [ -z "${variant}" ]; then
variant="cpu"
fi
export PATH=/usr/local/bin:$PATH
aws s3 cp ${filepath} s3://apache-mxnet/dist/python/${variant}/${filename} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=id=43f628fab72838a4f0b929d7f1993b14411f4b0294b011261bc6bd3e950a6822
}

Expand Down

0 comments on commit 5070f1a

Please sign in to comment.