Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#2,396 3 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@gururajsh ya está trabajando en esto.

Desde el 27/9/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Go
Estrellas
1.9k
Forks
989
Merge medio
1 d 18 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cloudfoundry/cli

Todos los issues de cloudfoundry/cli

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.