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

SDK/Components - Added the ComponentStore #519

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Dec 12, 2018

Usage:

from kfp.components import ComponentStore
cs = ComponentStore()
cs.local_search_paths.append('./components/')
cs.url_search_prefixes.append('https://raw.githubusercontent.com/kubeflow/pipelines/master/components')

train_op = cs.load_component('kubeflow/dnntrainer')
predict_op = cs.load_component('kubeflow/predict', digest='ab68....56c8')

This change is Reviewable

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Dec 12, 2018

/assign @qimingj

…aying the component was not found.

Component name must be non-empty.
Addressed PR feedback.
@Ark-kun
Copy link
Contributor Author

Ark-kun commented Dec 12, 2018

/test kubeflow-pipeline-build-image

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Dec 12, 2018

@qimingj I've addressed your feedback.

@qimingj
Copy link
Contributor

qimingj commented Dec 12, 2018

/lgtm

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Dec 12, 2018

/approve

@k8s-ci-robot
Copy link
Contributor

[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

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Dec 12, 2018

/test kubeflow-pipeline-e2e-test

@k8s-ci-robot k8s-ci-robot merged commit 17582a8 into kubeflow:master Dec 13, 2018
@Ark-kun Ark-kun changed the title SDK/Components - Made component search locations configurable SDK/Components - Added the ComponentStore Dec 13, 2018
@Ark-kun Ark-kun deleted the SDK/Components---Configurable-local-component-store-locations branch December 13, 2018 08:10
neuromage pushed a commit to neuromage/pipelines that referenced this pull request Dec 22, 2018
…ow#519)

* SDK/Components - Made component search locations configurable

* Raise proper error on existing, but malformed components instead of saying the component was not found.
Component name must be non-empty.
Addressed PR feedback.
Linchin pushed a commit to Linchin/pipelines that referenced this pull request Apr 11, 2023
* get-credential needs to activate service account

* get_credential isn't activating the service account which is preventing
  us from obtaining credentials when run under E2E tests

* the get_credential function should just be invoking get_latest_credential

* Fix lint.

* Fix flag.
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.

3 participants