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

Test mode (aka "dry run") #70

Open
stevezau opened this issue Dec 11, 2018 · 22 comments
Open

Test mode (aka "dry run") #70

stevezau opened this issue Dec 11, 2018 · 22 comments

Comments

@stevezau
Copy link
Contributor

stevezau commented Dec 11, 2018

We may want to consider a feature where you can run import but in test mode, so no changes. This would be useful for when deploying to production.

It should be fairly easy to add --test param.

@ma82
Copy link

ma82 commented Oct 17, 2019

This would be very useful in CI!

With respect to the naming: --test is fine, however I think --dry-run would be more clear.

@gaui
Copy link

gaui commented Nov 12, 2019

I can't believe that this is not possible.

santiagoaguiar pushed a commit to santiagoaguiar/auth0-deploy-cli that referenced this issue Aug 3, 2020
@adrian-skybaker
Copy link

This is important for safe deployments - we'd like to do a dry-run of a deployment with no side effects, that logged what would be changed, then have a manual step to review before deploying the actual change.

@vallieres
Copy link

I also want to chip in as we have multiple environments (different tenants) and it happens often that we have a misconfigured .json but only for staging or production, therefore it fails during our deployment step. With a --dry-run option, we could test all of our config before ever hitting our deployment pipeline.

Please make this happen! 🙏

@TomasMorton
Copy link

This would be perfect!

@rkennedy-tpl
Copy link

--dry-run would be extremely helpful when moving from "unmanaged/by-hand configuration" to auth0-deploy-cli.

@hayashi-ay
Copy link

I can't wait for --dry-run!!!!

@SeanFeldman
Copy link

As someone who had to go through the process of trial and error, I'd really appreciate a test mode. 👍

@willvedd
Copy link
Contributor

Little update on the Auth0 side – we've identified this as a high-impact feature and have it prioritized fairly high on the roadmap. Compared to some of the other initiatives we're working on, this skews towards the larger side and it's something we want to get right, so we're taking our time. However, we do see ourselves working this fairly soon!

I'd also like to take a moment to plug Auth0's Terraform Provider which provides this as a first-class feature already. If you already support Terraform workflows, you may find it to be more suitable to your needs. Both tools with exist alongside each other well into the future.

@heidemn
Copy link

heidemn commented Apr 10, 2022

It's great that Auth0 has a Terraform provider. However I'd rather wait for version 1.0 before starting to use it.
Version 0.29.0 sounds to me like "not ready for production use" or "breaking changes coming soon".

--dry-run would be extremely helpful when moving from "unmanaged/by-hand configuration" to auth0-deploy-cli.

Exactly this! 🚀

@tolgap
Copy link

tolgap commented Aug 1, 2022

Any update on this? It's been 5 months since it has moved to a "fairly high" priority 😅

@gautampachnandamat
Copy link

Any update on the prioritisation of this ticket?

@willvedd willvedd changed the title Support Test Mode Test mode (aka "dry run") Aug 30, 2022
@willvedd
Copy link
Contributor

Despite the seeming lack of progress, this has been getting pushed forward behind the scenes, albeit slowly. It was added to the roadmap not too long ago with work slotted for next quarter. Before then though, I'll draft up a proposal similar to #451 that outlines the suggested direction as well as soliciting general feedback. Until then, if folks have any initial thoughts and suggestions, this thread is still appropriate. Being able to consider this feedback upfront will hasten the process.

Unlike other features, this request has quite a few moving pieces and will fundamentally impact the mode of interaction, so I'd like to get it right. For example, do we integrate into the import function? Do we create a new dry-run command? Both? How do we express an approval flow? Further, I'm trying to be a bit careful to not introduce any breaking changes, but adding a dry-run check before import may be a sensible default. There are several details that need to be ironed out.

In terms of a delivery date, I think late 2022 - early 2023 is a reasonable expectation. I'm hoping to hit the earlier side of this range, but again, I'd like to get this right and make sure that it suits your needs.

@tolgap
Copy link

tolgap commented Nov 15, 2022

@willvedd any updates on this :) Our Auth0 deployment logic is growing fast and not having "dry-run" functionality to verify our changes during CI is biting us hard.

@ivnnv
Copy link

ivnnv commented Jan 4, 2023

friendly new year's ping on this @willvedd :)

@donratta
Copy link

donratta commented Jan 31, 2023

Hey guys just keeping the convo alice here. The dry-run feature would make SO much sense 🙏
Happy new year!

@stabai
Copy link

stabai commented Feb 10, 2023

As an additional note I didn't see explicitly mentioned: having a way to use this as a test to ensure the active configuration of my tenant matches the input I provided would be super useful. For example, if the "dry run" produces a diff of what changes would have been made, being able to programmatically test if that diff is empty (or just returning a non-zero exit code if it's not?) would be a useful feature for detecting unmanaged configuration skew.

So glad to see this is being worked on!

@chazmuzz
Copy link

chazmuzz commented Jul 5, 2023

Would love a --dry-run flag!

@tim-lar
Copy link

tim-lar commented Jan 17, 2024

Still keen on this one - any news?

@fourtwentyfour
Copy link

Ditto, this would be useful.

@gerardino-smg
Copy link

Any new on this one, @willvedd? My team and I would love to see this feature come to life :)

@erdtsieck
Copy link

Will this be planned or declined?

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