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

fix(sdk): Local runner - Fixed the local runner on Windows #5313

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Mar 17, 2021

Some of the issues also affected Linux.

Sume of the fixed issues could also affect Linux OSes.
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

"""Construct the instance of LocalClient

Args:
pipeline_root: The root directory where the output artifact of component
will be savad.
"""
pipeline_root = pipeline_root or tempfile.tempdir

Choose a reason for hiding this comment

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

Shall we consider warning users when this is default to None? Because one of the reason we have pipeline root is to ensure the artifacts generated during the pipeline execution get persistent somewhere, and using tempfile is 'against' this purpose

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Interesting idea. I can try adding a warning.
Although in this PR I'm not changing the behavior - just changing the default from /tmp to the portable tempdir.

@Bobgy
Copy link
Contributor

Bobgy commented Mar 19, 2021

/LGTM
Thank you!

@google-oss-robot google-oss-robot merged commit d0cbca7 into kubeflow:master Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants