-
Notifications
You must be signed in to change notification settings - Fork 3
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
[CICD-761] Actually fix excludes #39
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 1786fbc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
bca4aa4
to
841bd05
Compare
d7d5b1a
to
4f7574b
Compare
Working on making the remote relative solution and tests of make relative remote function. This should help with the excludes not working by changing the folder structure.
Removed out the extra targets in the Docker file. Also outlines next testing steps for scenerios and better checks for the workspace folder structure. Co-authored-By: Michael Day <[email protected]> Co-authored-By: Andrew Matthews <[email protected]>
With the help of Michael, it was determined that the easiest way to make sure that the excludes files is fully used for the rsynch command, is to make sure to use the file name, but not the full file path. This will make sure the files are excluded, no matter which folder location you attempt to deploy to. So default base of the wordpress install will work, or if you use within wp-content or other folder locations. Removing out the testing calls for now too, until we can get a better mocking framework in place to make sure synch_files can be full tested. Co-authored-By: Michael Day <[email protected]>
4f7574b
to
10723dd
Compare
Adding in changeset through the GItHub UI. Locally kept on having npm dependency issues running `npx changeset`
@@ -0,0 +1,74 @@ | |||
#!/bin/bash |
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.
Try removing this commit, delete tests/ structure and integration test and add the removal commit on a graveyward.md for future reference, including docker compose file.
JIRA Ticket
CICD-761
What Are We Doing Here
Customer reports that mu-plugins are being deleted when deploying with the GitHub Action. The plugins that are mentioned as being deleted are already part of our global excludes list in wpengine/site-deploy.
Reported in: wpengine/github-action-wpe-site-deploy#91
To fix this, we are removing out the relative folder structure that was on the excludes list. This will help the rsynch command properly exclude the files, no matter what the folder structure happens to be.