mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Hotfix make docker images building optional (#6309)
* Make docker build optional * Fix syntax error
This commit is contained in:
parent
31a0b11e16
commit
dd80c6e6d4
2 changed files with 3 additions and 2 deletions
|
@ -86,7 +86,8 @@ matrix:
|
|||
|
||||
- ./ci/suppress_output docker run --rm -w /ray -v `pwd`:/ray $MOUNT_BAZEL_CACHE -ti rayproject/arrow_linux_x86_64_base:latest /ray/python/build-wheel-manylinux1.sh
|
||||
|
||||
- $TRAVIS_BUILD_DIR/ci/travis/build-autoscaler-images.sh
|
||||
# Ignore any error for successful wheel uploads
|
||||
- $TRAVIS_BUILD_DIR/ci/travis/build-autoscaler-images.sh || true
|
||||
script:
|
||||
- if [ $RAY_CI_LINUX_WHEELS_AFFECTED != "1" ]; then exit; fi
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ if [[ "$TRAVIS" == "true" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
|
|||
docker push ray-project/autoscaler:$commit_sha
|
||||
|
||||
# We have a branch build, e.g. release/v0.7.0
|
||||
if [[ "$TRAVIS_BRANCH" != "master" ]] then
|
||||
if [[ "$TRAVIS_BRANCH" != "master" ]]; then
|
||||
docker tag ray-project/autoscaler:$commit_sha ray-project/autoscaler:$TRAVIS_BRANCH
|
||||
docker push ray-project/autoscaler:$TRAVIS_BRANCH
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue