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][automation/3] script to run state machine #42354

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Conversation

can-anyscale
Copy link
Collaborator

@can-anyscale can-anyscale commented Jan 11, 2024

A script to run CI state machine. Later on I'll create a buildkite job to run this nightly.

Test:

  • CI
bazel run //ci/ray_ci/automation:state_machine_bot
[INFO 2024-01-11 23:55:46,018] state_machine_bot.py: 21  Starting state machine bot ...

@can-anyscale can-anyscale changed the title [ci] script to run state machine [ci][automation/3] script to run state machine Jan 12, 2024
@can-anyscale can-anyscale requested a review from a team January 12, 2024 00:12
Comment on lines 38 to 40
name = "move_test_state",
srcs = ["move_test_state.py"],
deps = [":ray_ci_lib"],
Copy link
Collaborator

Choose a reason for hiding this comment

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

just move this py_binary into the subdir, and declare rayci lib as deps?

don't include the script in the lib's source file list.

@@ -0,0 +1,4 @@
from ci.ray_ci.automation.state_machine_bot import main
Copy link
Collaborator

Choose a reason for hiding this comment

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

just remove this wrapper. it is a script (with no test). you do not really need this wrapper.

@can-anyscale can-anyscale force-pushed the can-auto-02 branch 3 times, most recently from 1af9025 to eb34050 Compare January 12, 2024 00:40
@can-anyscale
Copy link
Collaborator Author

@aslonnie 's feedback

@can-anyscale can-anyscale requested a review from aslonnie January 12, 2024 00:41
@@ -11,7 +11,7 @@ py_library(
"build_in_docker.py",
],
),
visibility = ["//visibility:private"],
visibility = ["//visibility:public"],
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 change this to limit to ci/ray_ci?

Signed-off-by: can <can@anyscale.com>
@can-anyscale can-anyscale merged commit 587eb0d into master Jan 12, 2024
9 checks passed
@can-anyscale can-anyscale deleted the can-auto-02 branch January 12, 2024 02:50
vickytsang pushed a commit to ROCm/ray that referenced this pull request Jan 12, 2024
A script to run CI state machine. Later on I'll create a buildkite job to run this nightly.

Signed-off-by: can <can@anyscale.com>
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.

2 participants