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

Support "droplet" argument for cf run-task

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

@gururajsh ci sta già lavorando.

Dal 20/9/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

feature-request

Very small request here.

What's the user value of this feature request?
Being able to nominate a droplet at task creation time allows the user to avoid potential race condition pitfalls relating to setting the app's "current" droplet.

(See also: what the user value was for adding this possibility to the underlying v3 api at all)

Who is the functionality for?
Likely people who are using cloudfoundry in a fairly automated fashion, with frequent rolling deployments and multiple droplets.

How often will this functionality be used by the user?
Well, we're looking at using it in our pipeline for database migrations so for us it would be run as part of every new deployment.

Who else is affected by the change?
Does this feature cause a breaking change? No.

Is your feature request related to a problem? Please describe.
I think I've probably already described this, but when you have quite a lot of things going on with your app, performing a mutation to it (by setting the "current droplet") is a bit of an unnerving thing to do if you don't necessarily know all the consequences.

Describe the solution you'd like
Probably a --droplet-guid flag for cf run-task.

Describe alternatives you've considered
We're currently using cf curl. It works. But this (really neat) possibility is very undiscoverable because it's not exposed in the cli.

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.