-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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][mac/1] move macos small test to civ2 #42023
Conversation
e9b6bb2
to
d2361ce
Compare
47038ee
to
c511807
Compare
50994b1
to
0f27162
Compare
ci/ray_ci/macos/macos_ci.sh
Outdated
|
||
set -ex | ||
|
||
export BUILDKITE="true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this BUILDKITE=true
is not required? shouldn't this be populated already?
ci/ray_ci/macos/macos_ci.sh
Outdated
mkdir -p /tmp/artifacts/.ray/ | ||
tar -czf /tmp/artifacts/.ray/logs.tgz /tmp/ray | ||
# Cleanup runtime environment to save storage | ||
rm -rf /tmp/ray || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove || true
? -rf
never fails.
ci/ray_ci/macos/macos_ci.sh
Outdated
./ci/ci.sh build | ||
./ci/env/env_info.sh | ||
|
||
$1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a "$@"
to send in the args maybe?
ci/ray_ci/macos/macos_ci.sh
Outdated
rm -rf /tmp/bazel_event_logs | ||
cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT | ||
(which bazel && bazel clean) || true; | ||
. ./ci/ci.sh init && source ~/.zshenv | ||
source ~/.zshrc | ||
./ci/ci.sh build | ||
./ci/env/env_info.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you put prelude and epilogue in two bash functions too? maybe with name starting with _
?
ci/ray_ci/macos/macos_ci.sh
Outdated
|
||
$1 | ||
|
||
#epilogue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be put in a trap
to make sure it runs?
0f27162
to
11fdc26
Compare
Signed-off-by: can <[email protected]>
11fdc26
to
c5dd4c6
Compare
Address @aslonnie's comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move as it is. Note that the test //python/ray/tests:test_actor_client_mode is failing on this PR and is also failing on master Signed-off-by: can <[email protected]>
Move as it is. Note that the test
//python/ray/tests:test_actor_client_mode
is failing on this PR and is also failing on masterTest: