-
Notifications
You must be signed in to change notification settings - Fork 4
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
Refactor deployment #159
Refactor deployment #159
Commits on Mar 9, 2018
-
Have Git ignore local versions of modules
When installing modules as part of local development, Composer adds the files for those modules. This commit updates .gitignore to exclude those files from the repository so we can manage those changes more efficiently.
Configuration menu - View commit details
-
Copy full SHA for 1d4b1f0 - Browse repository at this point
Copy the full SHA 1d4b1f0View commit details -
Move most of these files to a
/web/
subdirectoryThis repository has essentially been based in an existing `/web/` directory. Moving most of its files to a new subdirectory will allow us to include the files that have been one level above this.
Configuration menu - View commit details
-
Copy full SHA for f083aa1 - Browse repository at this point
Copy the full SHA f083aa1View commit details -
Remove old
modules
andthemes
directoriesThis is part of reorganizing these files within a `/web/` directory.
Configuration menu - View commit details
-
Copy full SHA for 0fadb79 - Browse repository at this point
Copy the full SHA 0fadb79View commit details -
Add several files required for deployment
Drawn from github.com/18F/cf-ex-drupal/. h/t @pburkholder
Configuration menu - View commit details
-
Copy full SHA for 299aa00 - Browse repository at this point
Copy the full SHA 299aa00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85629b0 - Browse repository at this point
Copy the full SHA 85629b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37d3b01 - Browse repository at this point
Copy the full SHA 37d3b01View commit details
Commits on Mar 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for eac11c7 - Browse repository at this point
Copy the full SHA eac11c7View commit details -
Add all local modules to .gitignore
Theoretically this precludes the addition of custom modules. May want to scale back to /contrib at some point.
Configuration menu - View commit details
-
Copy full SHA for a10ded2 - Browse repository at this point
Copy the full SHA a10ded2View commit details
Commits on Mar 16, 2018
-
Brightcove API credentials have been redacted.
Configuration menu - View commit details
-
Copy full SHA for 20d48ee - Browse repository at this point
Copy the full SHA 20d48eeView commit details -
Tweak manifest file to include s3, db, secrets.
This doesn't include multiple instances and only covers the demo app, but should be enough to get us started.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 2b6101d - Browse repository at this point
Copy the full SHA 2b6101dView commit details -
Rebuild composer file based on cf-ex-drupal.
In an effort to closer align with the cloud.gov Drupal example, this adds a handful of dependencies. It looks like the previous code was also built with a generator, so this shouldn't be a big issue. All of the previous Drupal modules should still be present. Notably, however, this *does* declare that we're using PHP 7.1.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for e635574 - Browse repository at this point
Copy the full SHA e635574View commit details -
These are largely auto-generated, but we don't want to recreate them every time an instance restarts, so we'll commit them to the repository. The exception is the settings.cf.php file, which configures the database connection, flysystem, and the hash salt based on values injected by cloud.gov services. The values can be missing (e.g. if running locally), and a local settings file can be used instead.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 680112e - Browse repository at this point
Copy the full SHA 680112eView commit details -
Add a bootstrap script, more config options.
This pulls in more configuration from the cloud.gov example. It uses their bootstrap.sh as a guide, but ends up rewriting it to leak less information and to make use of our settings files.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for a28b560 - Browse repository at this point
Copy the full SHA a28b560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b02fff - Browse repository at this point
Copy the full SHA 4b02fffView commit details -
Tweaks to brightcove and remove nsf_brightcove.
The uuid isn't sensitive, so we're safe to include it (it might be referenced by other configs in the future). This also removes the nsf-brightcove module, which we don't have anymore.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for f10e9b4 - Browse repository at this point
Copy the full SHA f10e9b4View commit details -
These are needed for the current config import. We'll likely remove some of these in the future.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for dc073d1 - Browse repository at this point
Copy the full SHA dc073d1View commit details -
Ignore additional local development files.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 192c979 - Browse repository at this point
Copy the full SHA 192c979View commit details -
Cleanup when installing Drupal for the first time.
The "standard" install profile adds a "shortcut_set" that conflicts with our configs, so we need to remove it. Similarly, we need to indicate that our Drupal install is downstream from a set of configurations (by giving it the same UUID as those configs).
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for bf15e16 - Browse repository at this point
Copy the full SHA bf15e16View commit details -
Load configs when bootstrapping.
This will effectively duplicate the latest config changes. It also clears the cache, in case it'd have been affected by code/theme changes.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 3318f5c - Browse repository at this point
Copy the full SHA 3318f5cView commit details -
Load secrets in bootstrap script.
We'll fetch these from the "secrets" service and set them via drupal config:override. Note that this sends its output to /dev/null, lest the sensitive data become part of the app longs.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 228b62f - Browse repository at this point
Copy the full SHA 228b62fView commit details -
Move htaccess to an accessible location.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 08e4409 - Browse repository at this point
Copy the full SHA 08e4409View commit details -
Remove dev reqs; tweak composer description.
CM Lubinski committedMar 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 5240738 - Browse repository at this point
Copy the full SHA 5240738View commit details -
Merge pull request #167 from 18F/cloud-gov-edits
Edits for cloud.gov configuration
Configuration menu - View commit details
-
Copy full SHA for f8ef1ae - Browse repository at this point
Copy the full SHA f8ef1aeView commit details