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

Add Launcher module in component SDK #769

Merged
merged 4 commits into from
Feb 11, 2019

Conversation

hongye-sun
Copy link
Contributor

@hongye-sun hongye-sun commented Feb 1, 2019

Added a dynamic python fire launcher module which can be used as entrypoint to KFP components.
This will be used by GCP component as a single entrypoint to run all gcp commands.

For example, in mlengine create job spec:
python -m kfp_component.launcher kfp_component.google.ml_engine create_job --project <project> --job <job_payload>

The same entrypoint can also be used to launch from arbitrary python file. After argo artifact raw content store is supported, user can directly put python function as a file in container and use the same entrypoint to launch it:
python -m kfp_component.launcher /tmp/script.py my_func --param1 <p1> --param2 <p2>


This change is Reviewable

@hongye-sun hongye-sun changed the title [WIP] Add Launcher module in component SDK Add Launcher module in component SDK Feb 5, 2019
@vicaire
Copy link
Contributor

vicaire commented Feb 6, 2019

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vicaire

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

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vicaire

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

@gaoning777
Copy link
Contributor

/retest

@k8s-ci-robot k8s-ci-robot removed the lgtm label Feb 6, 2019
@gaoning777
Copy link
Contributor

/test kubeflow-pipeline-e2e-test

@hongye-sun
Copy link
Contributor Author

/retest

@krzyzacy
Copy link

krzyzacy commented Feb 8, 2019

/test kubeflow-pipeline-presubmit

@krzyzacy
Copy link

krzyzacy commented Feb 8, 2019

/skip

@krzyzacy
Copy link

krzyzacy commented Feb 8, 2019

/override kubeflow-pipeline-e2e-test

@hongye-sun
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

@hongye-sun
Copy link
Contributor Author

/test kubeflow-pipeline-presubmit

@hongye-sun
Copy link
Contributor Author

/override kubeflow-pipeline-e2e-test

@IronPan
Copy link
Member

IronPan commented Feb 9, 2019

/retest

@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Feb 9, 2019

@hongye-sun: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
kubeflow-pipeline-presubmit f09e025 link /test kubeflow-pipeline-presubmit

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@IronPan
Copy link
Member

IronPan commented Feb 9, 2019

/retest

@hongye-sun
Copy link
Contributor Author

/test kubeflow-pipeline-presubmit

@hongye-sun
Copy link
Contributor Author

/close

@k8s-ci-robot
Copy link
Contributor

@hongye-sun: Closed this PR.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

1 similar comment
@k8s-ci-robot
Copy link
Contributor

@hongye-sun: Closed this PR.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hongye-sun
Copy link
Contributor Author

/reopen

@k8s-ci-robot
Copy link
Contributor

@hongye-sun: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot reopened this Feb 11, 2019
@k8s-ci-robot k8s-ci-robot reopened this Feb 11, 2019
@k8s-ci-robot
Copy link
Contributor

@hongye-sun: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@krzyzacy
Copy link

/skip

@krzyzacy
Copy link

oh hummm we deleted the kubeflow-pipeline-presubmit job

@hongye-sun
Copy link
Contributor Author

/override kubeflow-pipeline-presubmit

@krzyzacy
Copy link

hummm

can anyone that has admin in kubeflow run a https://github.com/kubernetes/test-infra/tree/master/maintenance/migratestatus to retire the kubeflow-pipeline-presubmit? Maybe @IronPan?

@krzyzacy
Copy link

(/override didn't work because that's not enabled in kubeflow org, feel free to also add that to https://github.com/kubernetes/test-infra/blob/master/prow/plugins.yaml#L309-L322)

@hongye-sun
Copy link
Contributor Author

Thanks, Sen.

@IronPan, do you mind retiring kubeflow-pipeline-presubmit?

@IronPan IronPan merged commit 4e8b8a3 into kubeflow:master Feb 11, 2019
Linchin pushed a commit to Linchin/pipelines that referenced this pull request Apr 11, 2023
* add tekton pipelinerun for unittest kubeflow#769

* add pipeline yamls

* fix pipelinespec indendatation

* add tasks to get installed

* update the running pipelinerun and add hydrated yamls

* correct gcs path

* update .pylintrc to ignore over the tests written

* comment out tests using _get_actual_junit_files function

* update rcfile complete path

* add hydrated py-lint update

* revert lint and uncomment out tests

* use gcr image with sha only
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.

6 participants