Skip to content

Commit

Permalink
Faster travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed May 22, 2018
1 parent 9aa764b commit 40dec2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ IMG := ${REPO}:${TAG}
LATEST := ${REPO}:latest

ci-build:
docker build -t ${IMG} -t ${LATEST} .
docker pull ${LATEST}
docker build --cache-from ${LATEST} -t ${IMG} -t ${LATEST} .

ci-run:
docker-compose -f docker-compose.ci.yml up -d
Expand Down
2 changes: 1 addition & 1 deletion conductor/blueprints/package/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

os.environ['DPP_DB_ENGINE'] = os.environ['OS_CONDUCTOR_ENGINE']
if 'DPP_REDIS_HOST' in os.environ:
del os.eniron['DPP_REDIS_HOST']
del os.environ['DPP_REDIS_HOST']
os.environ['ELASTICSEARCH_ADDRESS'] = os.environ['OS_ELASTICSEARCH_ADDRESS']
os.environ['AWS_ACCESS_KEY_ID'] = os.environ['OS_ACCESS_KEY_ID']
os.environ['AWS_SECRET_ACCESS_KEY'] = os.environ['OS_SECRET_ACCESS_KEY']
Expand Down

0 comments on commit 40dec2b

Please sign in to comment.