Skip to content

Provide a single command to create_or_update the pipeline in CLI #3386

@jiyongjung0

Description

@jiyongjung0

System information

  • All
  • Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.
Currently pipeline create command can be used when there is no pipeline, and update command can be used when there *is an existing pipeline. It would be better to have just one command that can be used in CI/CD to create/update pipelines.

For example,

tfx pipeline create --overwrite ...

or

tfx pipeline update --missing_ok ...  (We can support --missing_ok for the `delete` command.)

Will this change the current API? How?
No.

Who will benefit with this feature?
Mostly users with CI/CD flow which doesn't have human intervention.

Do you have a workaround or are completely blocked by this? :
We can use pipeline list and examine the output but it is quite cumbersome and need a conditional branch.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions