mirror of
https://github.com/wassname/ray.git
synced 2026-07-31 12:41:01 +08:00
Hotfix make docker images building optional (#6309)
* Make docker build optional * Fix syntax error
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user