Skip to content

[Bug 1166021] Clear out static files between builds.#2541

Merged
rlr merged 1 commit intomozilla:masterfrom
mythmon:pipeline-update-bower-1166021
May 20, 2015
Merged

[Bug 1166021] Clear out static files between builds.#2541
rlr merged 1 commit intomozilla:masterfrom
mythmon:pipeline-update-bower-1166021

Conversation

@mythmon
Copy link
Copy Markdown
Contributor

@mythmon mythmon commented May 20, 2015

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?

This resolves a problem with new version of Bower files not being picked
up.
@rlr
Copy link
Copy Markdown
Contributor

rlr commented May 20, 2015

Only one way to test this.... :shipit:

@mythmon
Copy link
Copy Markdown
Contributor Author

mythmon commented May 20, 2015

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.
@rlr rlr merged commit e812578 into mozilla:master May 20, 2015
@rlr
Copy link
Copy Markdown
Contributor

rlr commented May 20, 2015

in that case... GREEN BUTTON!!!!!

@mythmon mythmon deleted the pipeline-update-bower-1166021 branch May 20, 2015 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants