Switch out existing obfuscated license with external module

This creates a new fallback license module called StubLicense that
will be used in the event that the tower_license module is not
installed.

All existing license mechanisms are routed through the get_licenser()
util method
This commit is contained in:
Matthew Jones
2017-07-11 12:01:24 -04:00
parent 7fda3c0658
commit 8486944eaa
13 changed files with 83 additions and 45 deletions

View File

@@ -971,6 +971,9 @@ docker-compose-test: docker-auth
docker-compose-build: tower-devel-build tower-isolated-build
tower-devel-build:
rm -rf tools/docker-compose/tower-license
git clone git@github.com:ansible/tower-license.git tools/docker-compose/tower-license
cd tools/docker-compose/tower-license && $(PYTHON) setup.py sdist
docker build -t ansible/tower_devel -f tools/docker-compose/Dockerfile .
docker tag ansible/tower_devel gcr.io/ansible-tower-engineering/tower_devel:$(COMPOSE_TAG)
#docker push gcr.io/ansible-tower-engineering/tower_devel:$(COMPOSE_TAG)