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

[FEATURE] dry-run / test deployment #1892

Open
JoernBerkefeld opened this issue Nov 23, 2024 · 0 comments
Open

[FEATURE] dry-run / test deployment #1892

JoernBerkefeld opened this issue Nov 23, 2024 · 0 comments
Labels
e/DevOps EPIC enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" PRIORITY used for professional service clients
Milestone

Comments

@JoernBerkefeld
Copy link
Contributor

A new option for deploy should allow running deploy EXCEPT for the actual server interaction. That way, we get to see if deploy would have thrown errors without actually touching the server.

Ideally we combine that with a new --noCreate flag:
if --dryrun / --dr is set it is then similar to setting --noCreate and --noUpdate?

Would not work if the deployment creates new keys or changes existing keys required by following items. To handle that, we would need to fake the update in our cache.

Bit of a bigger task but could become quite the game changer also in collaboration with automatic runs in pull requests.

To make it work in the context of github actions one would need to create the auth file on the fly with secrets stored securely to allow caching things from the server. This part should be split off into a second ticket.

@JoernBerkefeld JoernBerkefeld added enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" NEW not yet analyzed new issues get this label e/DevOps EPIC and removed NEW not yet analyzed new issues get this label labels Nov 23, 2024
@JoernBerkefeld JoernBerkefeld added this to the 7.6.0 milestone Nov 23, 2024
@JoernBerkefeld JoernBerkefeld added the PRIORITY used for professional service clients label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e/DevOps EPIC enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" PRIORITY used for professional service clients
Projects
None yet
Development

No branches or pull requests

1 participant