-
Notifications
You must be signed in to change notification settings - Fork 29
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
Feature/govcms 615 sanitize #3
Conversation
file to be repopulated in #3
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.
This is ready to go - except we need to add in the missing goss tests in tests/goss/sanitise.yaml
Just the equivalent of the D7 which confirms expects files are removed: https://github.com/govCMS/govcmslagoon/blob/master/tests/goss/sanitise.yaml
rm -f $APP_DIR/web/web.config | ||
rm -f $APP_DIR/web/robots.txt | ||
rm -f $APP_DIR/web/.editorconfig | ||
rm -rf $APP_DIR/web/core/tests |
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.
Removing drupal core tests, to prevent attempts to execute it.
exists: false | ||
/app/web/favicon.ico: | ||
exists: false | ||
/app/web/core/tests: |
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.
Testing that Drupal core tests directory does not exist, to prevent attempts to execute PHP files within it.
Looks good to me, LGTM |
# This is the 1st commit message: Add initial gitlab ci file. # This is the commit message #2: Gitlab CI validation errors. # This is the commit message #3: Update CI config. # This is the commit message #4: Update CI. # This is the commit message #5: Update ci. # This is the commit message #6: Update the gitlab-ci file. # This is the commit message #7: Update CI # This is the commit message #8: Update CI
# This is the 1st commit message: Add initial gitlab ci file. # This is the commit message #2: Gitlab CI validation errors. # This is the commit message #3: Update CI config. # This is the commit message #4: Update CI. # This is the commit message #5: Update ci. # This is the commit message #6: Update the gitlab-ci file. # This is the commit message #7: Update CI # This is the commit message #8: Update CI # This is the commit message #9: Use docker registry for caching the build. # This is the commit message #10: Update CI # This is the commit message #11: Update pull permissions. # This is the commit message #12: Update CI # This is the commit message #13: Update CI # This is the commit message #14: Update CI # This is the commit message #15: Update CI # This is the commit message #16: Update CI # This is the commit message #17: Update CI # This is the commit message #18: Update CI # This is the commit message #19: Update CI # This is the commit message #20: Update CI # This is the commit message #21: Update CI # This is the commit message #22: Update CI # This is the commit message #23: Update CI # This is the commit message #24: Update CI # This is the commit message #25: Update CI # This is the commit message #26: Update CI # This is the commit message #27: Update CI # This is the commit message #28: Update CI
# This is the 1st commit message: Add read replica access. Updates govcms-deploy to use the read replica for Adds database config for the read replica Introduces MARIADB_HOST_READREPLICA environment variable to control the mysql host. # This is the commit message #2: Add replicas to the default connection. # This is the commit message #3: Update .docker/images/govcms8/scripts/govcms-deploy
* # This is a combination of 3 commits. # This is the 1st commit message: Add read replica access. Updates govcms-deploy to use the read replica for Adds database config for the read replica Introduces MARIADB_HOST_READREPLICA environment variable to control the mysql host. # This is the commit message #2: Add replicas to the default connection. # This is the commit message #3: Update .docker/images/govcms8/scripts/govcms-deploy * Add read replica access. Updates govcms-deploy to use the read replica for Adds database config for the read replica Introduces MARIADB_HOST_READREPLICA environment variable to control the mysql host. Add replicas to the default connection. Update .docker/images/govcms8/scripts/govcms-deploy Code review updates. - Return early if host is unavailable. - Updated db_conf settings for reusability. - Redirect show tables to stderr. - Reverted alias change. - Added output when script is using the reader. Update the hosts usage. - Lagoon has updated to use a comma separated list of host names. Add a condition to make sure trim didn't remove empty. Update govcms-deploy to check HOSTS. * Update to split on space as per PR. - amazeeio/dbaas-mariadb-apb#5 (comment) * Fixed added replicas in databases array. (#151) Co-authored-by: Alex Skrypnyk <alex@integratedexperts.com> Co-authored-by: Alex Skrypnyk <alex.designworks@gmail.com>
Updated sanitise.sh to support GovCMS 8,
Activated sanitize.sh script.