-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Separate codegen from containerbuild 2 #1680
Separate codegen from containerbuild 2 #1680
Conversation
…r directories in the containerbuilder
/test kubeflow-pipeline-sample-test |
tarball.add(value, arcname=key) | ||
|
||
def _prepare_buildfiles(self, local_tarball_path, docker_filename, python_filename=None, requirement_filename=None): | ||
def _prepare_files(self, local_dir, docker_filename, python_filename=None, requirement_filename=None): |
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 function is only called once and most of the parameters are not used in that call. Maybe we should inline it and save 15 lines.
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.
I'm declaring the function to make it easier in the future to prepare build files.
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.
/lgtm
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gaoning777 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 |
separate the container build from the component build;
add support for directory build in the container builder
This change is