Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add stack update command which doesn't require access to the app source code

Aperta
#2,396 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@gururajsh ci sta già lavorando.

Dal 27/9/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

feature-request

What's the user value of this feature request?
Enable CF app operators with CF CLI commands to update the stack of an application without having access to the source code of the application.

Who is the functionality for?
CF app operators

How often will this functionality be used by the user?
When a CF stack update is required

Who else is affected by the change?
This shouldn't have any side affects to existing functionality

Is your feature request related to a problem? Please describe.
With the current CF CLI commands it is not possible to update the stack of an application without having access to its source code. Only cf push offers an option to update the stack of an application.

Describe the solution you'd like
I would like to have an update-stack command supported by the CF CLI

Describe alternatives you've considered
An alternative is:

  1. use the CF APIs to update the app stack
cf curl "/v3/apps/<app-guid>" -X PATCH -H "Content-type: application/json" -d '{
    "lifecycle": {
      "type": "buildpack",
      "data": {
        "stack": "cflinuxfs4"
      }
    }
  }'
  1. restage the applicaiton cf restage <app-name>

Another alternative is to use the stack-authitor plugin. Unfortunately, it is not using the V3 APIs and installation of plugins could be an issue in some OPs environments.

Lingua principale
Go
Stelle
1.9k
Fork
990
Merge medio
1g 7h
PR unite (30g)
8

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudfoundry/cli

Tutte le issue di cloudfoundry/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.