garden icon indicating copy to clipboard operation
garden copied to clipboard

[FEATURE]: Diff / Preview / Dry-Run mode for Deploy

Open jamesmeneghello opened this issue 2 years ago • 4 comments

Feature Request

Background / Motivation

We often have manual approval steps as part of deployments, for somebody to glance over and double-check that nothing is changing that will break things.

What should the user be able to do?

It's nice to be able to have some kind of visual report on what's changing to display as part of a CI approval step or some such. Some ability to do a dry-run of deploy and produce a report would be excellent.

Why do they want to do this? What problem does it solve?

So that you can understand at-a-glance what a deploy is going to do.

Suggested Implementation(s)

Something akin to Pulumi preview would be great.

How important is this feature for you/your team?

🌵 Not having this feature makes using Garden painful

jamesmeneghello avatar May 25 '22 10:05 jamesmeneghello

Yeah this makes a lot of sense to have. Currently you could compare the garden get modules command output to the GARDEN_VERSION env value in containers in k8s but that's quite annoying to do.

Orzelius avatar May 25 '22 10:05 Orzelius

Is that only for container modules? The ones I deploy using Kubernetes modules don't seem to have it.

jamesmeneghello avatar May 25 '22 12:05 jamesmeneghello

We've been planning to implement this functionality for a while, but we're currently in the middle of a huge refactor and refresh of our config syntax.

We'll have a look at this once that's done (which will hopefully be by the end of June).

thsig avatar Jun 02 '22 09:06 thsig

This issue has been automatically marked as stale because it hasn't had any activity in 90 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product!

stale[bot] avatar Sep 21 '22 03:09 stale[bot]

This issue has been automatically marked as stale because it hasn't had any activity in 90 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product!

stale[bot] avatar Jan 07 '23 20:01 stale[bot]

This issue has been automatically marked as stale because it hasn't had any activity in 90 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product!

stale[bot] avatar May 21 '23 21:05 stale[bot]

Closing in favor of #4658

vvagaytsev avatar Jul 06 '23 12:07 vvagaytsev