cloudfoundry / cloudfoundry/cli

Add --dry-run option to cf push (could be reused for plugins like cf bg-deploy as well)

Open
#2,162 4 comments 1 reaction 1 assignee View on GitHub

@gururajsh is already working on this.

Since Sep 20, 2024.

feature-request
Dominant language
Go
Stars
1.9k
Forks
990
Avg merge
1d 7h
Merged PRs (30d)
8

Description

What's the user value of this feature request?
Easy and fast validation of deployments improving developers efficiency/productivity and also reduced human error.

Who is the functionality for?
Everyone using cf on daily basis, especially for learning beginners.

How often will this functionality be used by the user?
Daily

Who else is affected by the change?
Every developer using the CLI to push changes especially to important spaces this would provide security.

Describe the solution you'd like
just add a --dry-run parameter to the cf push command to simulate a push with the specified settings )similar to helm install --dry-run)

Describe alternatives you've considered
0 (the simpler and clearer the solution the better for the users of the CLI)

Additional context
Best practice for deployment in cloud spaces like k8s and helm.
Actually it would be nice for all kinds of deployments to have a --dry-run option consistently across the board.

Note:
As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.