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

Magento 2: Allow forcing maintenance mode #2936

Closed
lfolco opened this issue Feb 1, 2022 · 2 comments
Closed

Magento 2: Allow forcing maintenance mode #2936

lfolco opened this issue Feb 1, 2022 · 2 comments

Comments

@lfolco
Copy link
Contributor

lfolco commented Feb 1, 2022

We are on a hosting provider that does not support zero-downtime deployments, so we need to set maintenance mode on Magento 2 explicitly. Currently the Magento 2 recipe will dynamically check if maintenance mode is needed and set/unset accordingly. The issue is, if we set maintenance mode at the beginning of our deployment, it will get unset during these tasks.

Any chance to have a config to enable this behavior?

@antonmedv
Copy link
Member

Why not override whole deploy task?

@lfolco
Copy link
Contributor Author

lfolco commented Feb 1, 2022

I'm trying to avoid overriding, especially considering #2878. I'm not sure what I'll be breaking with an override.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants