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][mac/1] move macos small test to civ2 #42023

Merged
merged 1 commit into from
Jan 4, 2024
Merged

[ci][mac/1] move macos small test to civ2 #42023

merged 1 commit into from
Jan 4, 2024

Conversation

can-anyscale
Copy link
Collaborator

@can-anyscale can-anyscale commented Dec 19, 2023

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

Test:

  • CI

@can-anyscale can-anyscale force-pushed the can-mac01 branch 4 times, most recently from e9b6bb2 to d2361ce Compare December 20, 2023 19:57
@can-anyscale can-anyscale marked this pull request as ready for review December 20, 2023 21:56
@can-anyscale can-anyscale marked this pull request as draft December 20, 2023 21:56
@can-anyscale can-anyscale force-pushed the can-mac01 branch 9 times, most recently from 47038ee to c511807 Compare December 21, 2023 17:04
@can-anyscale can-anyscale force-pushed the can-mac01 branch 4 times, most recently from 50994b1 to 0f27162 Compare January 3, 2024 18:09
@can-anyscale can-anyscale changed the title [ci] move macos small test to civ2 [ci][mac/1] move macos small test to civ2 Jan 3, 2024
@can-anyscale can-anyscale marked this pull request as ready for review January 3, 2024 19:31
@can-anyscale can-anyscale requested review from rkooo567, rickyyx and a team January 3, 2024 19:31

set -ex

export BUILDKITE="true"
Copy link
Collaborator

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?

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
Copy link
Collaborator

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/ci.sh build
./ci/env/env_info.sh

$1
Copy link
Collaborator

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?

Comment on lines 25 to 31
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
Copy link
Collaborator

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 _?


$1

#epilogue
Copy link
Collaborator

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?

@can-anyscale
Copy link
Collaborator Author

Address @aslonnie's comments

Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


via GIPHY

@can-anyscale can-anyscale merged commit 4364685 into master Jan 4, 2024
8 of 9 checks passed
@can-anyscale can-anyscale deleted the can-mac01 branch January 4, 2024 00:05
vickytsang pushed a commit to ROCm/ray that referenced this pull request Jan 12, 2024
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants