Merge pull request #1231 from dod-ccpo/redis-uri

Fix Redis config in CI.
This commit is contained in:
dandds 2019-12-04 14:42:31 -05:00 committed by GitHub
commit e00916a20f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ jobs:
docker run -d \ docker run -d \
-e DISABLE_CRL_CHECK=true \ -e DISABLE_CRL_CHECK=true \
-e PGHOST=postgres \ -e PGHOST=postgres \
-e REDIS_URI=redis://redis:6379 \ -e REDIS_HOST=redis:6379 \
-p 8000:8000 \ -p 8000:8000 \
--network atat \ --network atat \
--name test-atat \ --name test-atat \
@ -253,7 +253,7 @@ jobs:
command: | command: |
docker run \ docker run \
-e PGHOST=postgres \ -e PGHOST=postgres \
-e REDIS_URI=redis://redis:6379 \ -e REDIS_HOST=redis:6379 \
--network atat \ --network atat \
atat:builder \ atat:builder \
/bin/sh -c "pipenv install --dev && /bin/sh script/sync-crls && pipenv run pytest --no-cov tests/check_crl_parse.py" /bin/sh -c "pipenv install --dev && /bin/sh script/sync-crls && pipenv run pytest --no-cov tests/check_crl_parse.py"