-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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/Client - Supporting pipeline packages with multiple files #1207
SDK/Client - Supporting pipeline packages with multiple files #1207
Conversation
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.
otherwise
/lgtm
b4d9678
to
9bb544a
Compare
…with-multiple-files
/test kubeflow-pipeline-sample-test |
else: | ||
if len(yaml_files) == 1: | ||
return yaml_files[0] | ||
raise ValueError('Invalid package. There is no pipeline.yaml file and there are multiple yaml 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.
not sure if the error message raised here is what you are trying to express
so instead of 'Invalid package. There is no pipeline.yaml file and there are multiple yaml files.'
shouldn't it be 'Invalid package. There are multiple yaml 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.
No. The whole goal of this PR is to support packages containing multiple .yaml files. In that case one of them must be called pipeline.yaml
.
Ping @hongye-sun |
Ha, make me an approver @Ark-kun - some of these small ones can go faster, and more distributed load :-) |
/lgtm |
/approve |
[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 |
This change is