Commit 095baf38 authored by Daniel Widerin's avatar Daniel Widerin

cleanup build file

parent 1e5cd195
......@@ -4,7 +4,6 @@ services:
stages:
- build
- test
- deploy
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN ${DOCKER_TAG}
......@@ -44,12 +43,9 @@ test-example-1:
test-example-2:
<<: *test_template
services:
- docker:dind
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-${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