Provide a single command to create_or_update the pipeline in CLI
See original GitHub issueSystem 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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
create-pipeline — AWS CLI 1.27.28 Command Reference
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories...
Read more >Tips for using the Azure CLI successfully - Microsoft Learn
Azure CLI is a command-line tool that allows you to configure and manage Azure resources from many shell environments.
Read more >Create or update pipeline API | Elasticsearch Guide [8.5] | Elastic
Command line tools ... Create or update pipeline APIedit. Creates or updates an ingest ... To unset _meta , replace the pipeline without...
Read more >OpenShift CLI developer command reference
This reference provides descriptions and example commands for OpenShift CLI ... a new one with the same parameters oc cancel-build ruby-build-2 --restart ...
Read more >Issue with single quotes running Azure CLI command
The output of the az pipelines variable-group list command will give the values of the variables wrapped in " .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes you’re right updating make more sense. We should keep the concept of versions
@jiyongjung0 alright then!. thanks