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

Separate codegen from containerbuild 2 #1680

Merged
merged 16 commits into from
Jul 30, 2019
Merged

Separate codegen from containerbuild 2 #1680

merged 16 commits into from
Jul 30, 2019

Conversation

gaoning777
Copy link
Contributor

@gaoning777 gaoning777 commented Jul 25, 2019

separate the container build from the component build;
add support for directory build in the container builder


This change is Reviewable

@gaoning777
Copy link
Contributor Author

/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):
Copy link
Contributor

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.

Copy link
Contributor Author

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.

sdk/python/kfp/compiler/_container_builder.py Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Show resolved Hide resolved
sdk/python/kfp/compiler/_container_builder.py Show resolved Hide resolved
Copy link
Contributor

@hongye-sun hongye-sun left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm label Jul 30, 2019
@Ark-kun
Copy link
Contributor

Ark-kun commented Jul 30, 2019

/lgtm

@gaoning777
Copy link
Contributor Author

/approve

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 5387e24 into kubeflow:master Jul 30, 2019
@gaoning777 gaoning777 deleted the separate-codegen-from-containerbuild-2 branch July 30, 2019 21:54
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
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.

4 participants