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

Pre-sync mutagen volume when necessary, fixes #4797 #4830

Merged
merged 38 commits into from
Apr 23, 2023

Conversation

rfay
Copy link
Member

@rfay rfay commented Apr 18, 2023

The Issue

A number of things can depend on mutagen sync having already completed. This includes gunicorn and web_extra_daemons

How This PR Solves The Issue

Don't execute actions that may need /var/www/html fully populated until after mutagen has had its chance at it.

TODO

  • Too much output on ddev start, at least when using DDEV_DEBUG=true
  • Container tests failing

Manual Testing Instructions

  • Use casually in both mutagen and non-mutagen situations.
  • Make sure web-entrypoint.d scripts work
  • Manually test using webserver_type: nginx-gunicorn - it should work with or without mutagen.

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes

@github-actions
Copy link

github-actions bot commented Apr 18, 2023

@rfay rfay marked this pull request as ready for review April 18, 2023 22:03
@rfay rfay requested a review from a team as a code owner April 18, 2023 22:03
@rfay rfay force-pushed the 20230417_presync_web_mutagen branch 2 times, most recently from 8792324 to f3f3015 Compare April 22, 2023 15:33
@rfay rfay force-pushed the 20230417_presync_web_mutagen branch from f3f3015 to 0b33643 Compare April 22, 2023 18:10
@rfay rfay merged commit e0c89d6 into ddev:master Apr 23, 2023
14 checks passed
@rfay rfay deleted the 20230417_presync_web_mutagen branch April 23, 2023 12:57
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

Successfully merging this pull request may close these issues.

None yet

1 participant