adobe / adobe/aio-cli-plugin-cloudmanager

pipeline:update: Support changing the Code Location

Offen
#684 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
50
Forks
36
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Is your feature request related to a problem? Please describe.**
We are using the CM CLI tool extensively to manage our Web Tier Config pipelines and executions. Unfortunately, not all options available in the CM UI are available in the CLI and this is causing a lot of troubles.

**Describe the solution you'd like**
Please add new option for `cloudmanager:pipeline:update`, with the same functionality as the "Code Location" input field available in the UI. It might be called `--codeLocation` and it should work when the pipeline is a Web Tier Config pipeline. If the pipeline is not a Web Tier Config pipeline, the usage of this option should result in a non-zero exit code.

**Describe alternatives you've considered**
Programmatic workaround is not possible here because this option is not yet supported by the Cloud Manager API itself (or at least it is not documented).

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Implementierung und Tests für den Befehl cloudmanager:pipeline:update zu finden, und verfolge anschließend, wie Web Tier Config-Pipelines und ihre Optionen verarbeitet werden. Als abgeschlossen gilt die Aufgabe, wenn der Befehl den angeforderten Code Location-Wert für Web Tier Config-Pipelines akzeptiert und für andere Pipeline-Typen einen Exit-Code ungleich null zurückgibt, mit Tests für beide Fälle.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
cli, cloud
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.