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

DigitalOcean: Implement pre- and post-deploy jobs to stop/resume background tasks, toggle maintenance mode, etc. #10

Open
2 of 4 tasks
Ambient-Impact opened this issue Jun 22, 2023 · 0 comments

Comments

@Ambient-Impact
Copy link
Member

Ambient-Impact commented Jun 22, 2023

  • Pre-deploy jobs:
    • Enable maintenance mode
    • Set a state flag or more basic data store (custom table in the database so we don't have to boot up Drupal?) that's checked constantly by background tasks to tell the background tasks to stop processing.
  • Post-deploy jobs:
    • Turn off maintenance mode.
    • Re-enable background tasks.

https://docs.digitalocean.com/products/app-platform/how-to/manage-jobs/

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

1 participant