Commit 3f0f20e5 authored by Tomas Krizek's avatar Tomas Krizek Committed by Vladimír Čunát

gitlabci: test container in CI

parent fa28e001
......@@ -129,6 +129,25 @@ test:linux:amd64:
- linux
- amd64
docker:build:
stage: test
image: docker:latest
except:
- master
tags:
- dind
dependencies: []
variables:
DOCKER_IMAGE_NAME: knot-resolver-test:${CI_COMMIT_SHA}
script:
- docker build --no-cache -t ${DOCKER_IMAGE_NAME} .
- echo "quit()" | docker run -i ${DOCKER_IMAGE_NAME}
after_script: # remove dangling images to avoid running out of disk space
- docker rmi ${DOCKER_IMAGE_NAME}
- docker rmi $(docker images -f "dangling=true" -q)
installcheck:linux:amd64:
stage: test
except:
......
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