freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
102 stars 25 forks source link

INFRA-529 Address broken virtualenv delivery logic #129

Closed msheiny closed 7 years ago

msheiny commented 7 years ago

Everyone said, why the hell are you shipping around virtualenv's that doesnt sound like a great idea .... Hah. Yep - that was good advice :| Anywhoo. This PR applies a fix for that situation that addresses deployments to debian jessie. Thanks to the Power Of the Django Ansible Role :tm:, this logic is extensible and relevant fixes can be made for other environments.

TL;DR - When building a virtualenv for deloyment, the build environnment needs to match the target environment.