Pipelines: Upload Pipeline Version If already exists

Created on 3 Jun 2020  路  5Comments  路  Source: kubeflow/pipelines

It's not a bug or issue.
In case it doesn't exists, then it's a suggestion

Is there any way I can upload pipeline to kubeflow via sdk, and it just uploads a version if the main pipeline already exists.

Versions:

kfp                      0.4.0
kfp-server-api           0.3.0
aresdclient kinquestion statutriaged

Most helpful comment

Thank you @talhairfanbentley for raising this issue, I was also looking for the same feature. It should ask the name and version of the pipeline. If the pipeline name exists then upload as version otherwise upload as a new pipeline.

All 5 comments

I think it's already supported. Do you mean only-upload/insert versions if there is already a pipeline there? Please update the KFP version for a retry.

@jingzhang36

No, I mean. I shouldn't need to get pipeline ID before uploading a version.
As of now, the flow is.

If Pipeline Exists > Get Pipeline ID > Upload Pipeline Version
If Pipeline Does not exists > Upload Pipeline

Just a little update, I have update versions, but there's no change of sort that I was looking for.

kfp                      0.5.1              
kfp-server-api           0.5.0 

Thank you @talhairfanbentley for raising this issue, I was also looking for the same feature. It should ask the name and version of the pipeline. If the pipeline name exists then upload as version otherwise upload as a new pipeline.

I will work on a PR for this.
/assign

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Svendegroote91 picture Svendegroote91  路  3Comments

VindhyaSRajan picture VindhyaSRajan  路  3Comments

Bobgy picture Bobgy  路  3Comments

zijianjoy picture zijianjoy  路  3Comments

radcheb picture radcheb  路  4Comments