generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Final config for use with DDEV v1.23.1, replaces #30, replaces #23 #31
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9769c63
DDEV 1.23 compatiblity, Drupal core yarn/sqlite compatibility. Docs.
simesy 14a10db
Need to use sqlite now b/c no mysql. From justafish/ddev-drupal-core-…
simesy d9568c2
Remove install of sqlite3 and make dependent on DDEV v1.23.1
rfay 1b75f94
Run tests now that sqlite 3.45 in DDEV release
rfay c284b3f
Dockerfile is gone, don't try to install it
rfay e838fb6
add back in omit_containers, can remove farther down the line
rfay 4f39496
Remove --verbose from phpunit command, not supported in phpunit 10
rfay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# #ddev-generated | ||
# This file is placed by the justafish/ddev-drupal-core-dev addon. | ||
|
||
webimage_extra_packages: ["chromium-driver"] | ||
ddev_version_constraint: '>=v1.23.1' | ||
omit_containers: ["db"] | ||
upload_dirs: | ||
# The install technique tries to remove all of sites/default/files | ||
# but with DDEV + mutagen that isn't possible. | ||
# so just redirect the upload_dirs. | ||
- .ddev/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 do we really want this synced with mutagen and the like? What about storing in
/tmp
, or if it needs to be persistent in/home/<user>/...
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review.
This is the traditional place for the sqlite file, Drupal core has used it for years.
On a normal DDEV macOS system, it would not be relavent to mutagen, since it would be bind-mounted with sites/default/files. However, with the current strategy here,
ddev drupal
believes drupal is installed if sites/default/files exists. But now with drush in #33 we won't have that problem as much.IMO we should just leave it alone for now since it's the traditional location and in #34 we end up. being able to use mariadb or other traditional database types.
I'll also be doing a followup that uses tmpfs for mounting the mariadb, which is related to your persistence questions.
(Note that /home does not persist by default in a ddev-webserver environment though, but there are other options)