question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide a single command to create_or_update the pipeline in CLI

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
SaschaHeyercommented, Mar 18, 2021

Yes you’re right updating make more sense. We should keep the concept of versions

0reactions
FatimahAdwancommented, Apr 28, 2021

@jiyongjung0 alright then!. thanks

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found