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 #1679

Merged
merged 11 commits into from
Jul 26, 2019
Merged

Separate codegen from containerbuild #1679

merged 11 commits into from
Jul 26, 2019

Conversation

gaoning777
Copy link
Contributor

@gaoning777 gaoning777 commented Jul 25, 2019

This is part of the efforts to refactor the component build such that codegen is separated from the image build.


This change is Reviewable

@gaoning777
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

@Ark-kun
Copy link
Contributor

Ark-kun commented Jul 25, 2019

/lgtm

@Ark-kun
Copy link
Contributor

Ark-kun commented Jul 25, 2019

Are these codepaths tested by samples?

@Ark-kun
Copy link
Contributor

Ark-kun commented Jul 26, 2019

/test kubeflow-pipeline-sample-test

@k8s-ci-robot k8s-ci-robot removed the lgtm label Jul 26, 2019
sdk/python/kfp/compiler/_component_builder.py Outdated Show resolved Hide resolved
for version in dependency:
dependency_helper.add_python_package(version)
dependency_helper.generate_pip_requirements(requirement_filepath)
def _dependency_to_requirements(dependency=[], filename='requirements.txt'):
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: dependencies?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Since the exposed interface build_python_component uses the singular, I think it's better to keep it consistent until we upgrade them all together. WDYT?

sdk/python/kfp/compiler/_component_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_component_builder.py Show resolved Hide resolved
sdk/python/kfp/compiler/_component_builder.py Outdated Show resolved Hide resolved
sdk/python/kfp/compiler/_component_builder.py Show resolved Hide resolved
@Ark-kun
Copy link
Contributor

Ark-kun commented Jul 26, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm label Jul 26, 2019
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

@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 0283ddd into kubeflow:master Jul 26, 2019
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