Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support "droplet" argument for cf run-task

Đang mở
#2,132 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@gururajsh đang làm issue này rồi.

Từ ngày 20/9/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
Go
Star
1.9k
Fork
989
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cloudfoundry/cli

Tất cả issue của cloudfoundry/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.