Commit e84401fe authored by Daniel Widerin's avatar Daniel Widerin

start a seperate redis

parent dfaaffab
......@@ -46,10 +46,10 @@ test-example-2:
<<: *test_template
services:
- docker:dind
- redis
variables:
CONTAINER_TEST_IMAGE: ${DOCKER_TAG}:example-2
script:
- env
- docker run -d --name redis-${CI_BUILD_ID} redis
- docker pull ${CONTAINER_TEST_IMAGE}
- docker run --link ${REDIS_NAME}:redis ${CONTAINER_TEST_IMAGE} pytest
- docker run --link redis-${CI_BUILD_ID}:redis ${CONTAINER_TEST_IMAGE} pytest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment