[Bug 1166021] Clear out static files between builds.#2541
Merged
rlr merged 1 commit intomozilla:masterfrom May 20, 2015
Merged
Conversation
This resolves a problem with new version of Bower files not being picked up.
Contributor
|
Only one way to test this.... |
Contributor
Author
|
Oh, I forgot to mention. I figured this out by deploying to stage 9 times already. |
rlr
added a commit
that referenced
this pull request
May 20, 2015
[Bug 1166021] Clear out static files between builds.
Contributor
|
in that case... GREEN BUTTON!!!!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This resolves a problem with new version of Bower files not being picked up.
I'm not sure if this is the fault of Pipeline, or Django's static system, or some other bibs and bobs, but I know that nuking it all fixes the problem. Plus, this means we are rebuilding more of our deployments everytime, which moves us closer to immutable deploys, so yay!
This uses git clean instead of a simple rm because we keep two .htaccess files in the static/ file that are tracked by git. git clean won't remove those.
r?