You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
Installation-wide themes/modules (/var/www/modules and /var/www/themes)
Site code (/var/www/sites)
The /sites/default/files directory would be exclusively for user-generated content and would change on the mounted directory rather than triggering a build and redeploy.
All of drupal/* from the tarball is moved to /var/www/ on base NGINX and PHP image builds.
For Drupal code updates there's a two-phase build:
Need a script that can be invoked to rebuild the base Drupal image (based on a given new semver, invoked manually or through a committed file), then relayer on top anything that's custom.
That, in turn, will trigger a custom code rebuild on top (see below), along with a rolling deploy.
For custom code there's a one-phase build:
When anything changes in the following folders, trigger a versioned rebuild of all three images, along with a rolling deploy.
code/modules
code/themes
code/sites
/var/www/html/sites/default/files is overlayed at start time from the shared read/write volume so doesn't need a rebuild.
/var/www/html/sites/default/settings.php is currently copied from /root/template.settings.php at runtime, but should instead come from the code/sites folder.
A file checked into the config/ directory with a semver version number (for Drupal) and Docker image version will trigger base image builds and custom code build and deploys.
For custom code:
Any code checked into code/ will only trigger the additional layer build and deploy.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: