-
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
Pipeline API should expose an API to set default version for a given pipeline #4049
Comments
@NikeNano let's discuss in the issue first My questions: |
I think it make sene to have the possibility to set the default pipeline. Currently the default pipeline is updated when a new pipeline is uploaded to the latest. We have had problems when development where done uploading new pipelines and runs where done with the latest versions by mistake instead of the last stable version. However one possibility would also be to not automatically update when a new pipeline is uploaded. |
Right, looks like the behavior you want is to not automatically update when a new pipeline is uploaded, while being able to set default version programmatically |
Can you think about a reasonable way to make the new behavior available to you without breaking backward compatibility? |
I guess we could add it as an option to update the default version when a new pipeline is uploaded and set it a default to. updates. Thus have the same default behaviour as it is today. But I also think it makes sense to be able to change the default without uploading a new pipeline. |
@NikeNano great idea, that sounds reasonable! I can help you review any PRs if you'd like to contribute. |
Great! I will make a PR @Bobgy! |
…ixes #4049 (#4406) * initial work on exposing the default version of pipeline * update description * added missing files * updated api build, unsure if this is correct ... * updated after feedback * clean up * remove empty line * started to make the integration test * added integreation test * fixed build and feedback * updated the tests * Updated the test * new test * typo * updated the pipeline default * updated the pipeline version * formatting * error in comparison
… when uploading new pipeline version. Fixes #4049 (#4476) * update to fetch remote * missed to add the description * fixed merge conflict * initial work * fixed test and bug * updated python client * clean up * clean up * added config default * fixed bug in API * moved config value * reverted to load from config * clean up * Update _client.py * removed unecessary function and updated after feedback * missed to save pipeline.proto * updated the last parts after feedback * reverted back to use string and env variable * updated typo * fix typo in path * clean up * removed option in api * clean up python part * typo, cant run test locally * clean up, problems with local env * clean up missing differences * reverted proto files * further clean up * clean up * updated after feedback * Added tests * error in my defer statement * Updated the test
…ixes kubeflow#4049 (kubeflow#4406) * initial work on exposing the default version of pipeline * update description * added missing files * updated api build, unsure if this is correct ... * updated after feedback * clean up * remove empty line * started to make the integration test * added integreation test * fixed build and feedback * updated the tests * Updated the test * new test * typo * updated the pipeline default * updated the pipeline version * formatting * error in comparison
… when uploading new pipeline version. Fixes kubeflow#4049 (kubeflow#4476) * update to fetch remote * missed to add the description * fixed merge conflict * initial work * fixed test and bug * updated python client * clean up * clean up * added config default * fixed bug in API * moved config value * reverted to load from config * clean up * Update _client.py * removed unecessary function and updated after feedback * missed to save pipeline.proto * updated the last parts after feedback * reverted back to use string and env variable * updated typo * fix typo in path * clean up * removed option in api * clean up python part * typo, cant run test locally * clean up, problems with local env * clean up missing differences * reverted proto files * further clean up * clean up * updated after feedback * Added tests * error in my defer statement * Updated the test
Today, there is no Pipeline API to update the default version id for a given pipeline. Pipeline default version is only automatically updated when a new version is created. Although UpdatePipelineDefaultVersion has been implemented pipeline_store.go, it was not exposed to pipeline service api.
The text was updated successfully, but these errors were encountered: