rvtraveller / qs-db-sanitization
Quicksilver implementation to sanitize a production database when it is rolled back to a prior environment.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:quicksilver-module
Requires
- php: >=5.5.0
- rvtraveller/qs-composer-installer: ^1.0
This package is auto-updated.
Last update: 2024-12-10 05:34:15 UTC
README
Sanitize a production database when using the Pantheon workflows to clone that database to another environment.
Note that with the current webphp
type operations (currently the only option for Pantheon), your timeout is limited to 120 seconds, so long-running operations should be avoided for now.
Instructions
- Require this Quicksilver module using composer (
composer require rvtraveller/qs-db-sanitization
). - Add a Quicksilver operation to your
pantheon.yml
to fire the script before a clone database, using the example.pantheon.yml file for reference. Note: you must set up your project'scomposer.json
file to move projects of typequicksilver-module
to the appropriate directory in your project. - Test a clone database out!
Optionally, you may want to use the terminus workflows watch
command to get immediate debugging feedback.
Example composer.json file
{
"require": {
"rvtraveller/qs-db-sanitization": "1.0"
},
"extra": {
"installer-paths": {
"web/private/scripts/quicksilver/{$name}": ["type:quicksilver-module"]
}
}
}