Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "droplet" argument for cf run-task #2132

Open
risicle opened this issue Jan 29, 2021 · 2 comments
Open

Support "droplet" argument for cf run-task #2132

risicle opened this issue Jan 29, 2021 · 2 comments
Assignees

Comments

@risicle
Copy link

risicle commented Jan 29, 2021

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.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/176721323

The labels on this github issue will be updated when the story is started.

@gururajsh
Copy link
Member

Thank you for your submission. Have added this issue to our backlog. Will get back when we have an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants