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][fix] add --run-jailed-tests when build-pipeline invoke itself #36361

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

can-anyscale
Copy link
Collaborator

Why are these changes needed?

build-pipeline script sometimes invoke itself, but does not inherit all the flag from its origin. Add the --run-jailed-tests when it invokes itself.

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • Testing Strategy
    • Unit tests
    • Release tests

@can-anyscale can-anyscale requested a review from a team as a code owner June 13, 2023 00:41
Comment on lines 98 to 99
if run_jailed_tests:
cmd += ["--run-jailed-tests"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

unit test for this?

Signed-off-by: can <can@anyscale.com>
Comment on lines +243 to +246
def _get_rerun_cmd(
test_collection_file: Optional[str] = None,
run_jailed_tests: bool = False,
):
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to pass no_clone_repo as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not really, that option is not used ;)

@matthewdeng matthewdeng merged commit b260f25 into master Jun 14, 2023
@matthewdeng matthewdeng deleted the can-itself branch June 14, 2023 15:58
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
Signed-off-by: can <can@anyscale.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.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.

3 participants