Use upstream CI image

See https://git.autonomic.zone/coop-cloud/docker-dind-bats-kcov.
This commit is contained in:
Luke Murphy 2021-01-01 12:26:50 +01:00
parent 81782bb5f0
commit 7abb0191e1
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -7,11 +7,11 @@ test_dind:
-d \ -d \
--name=abra-test-dind \ --name=abra-test-dind \
-e DOCKER_TLS_CERTDIR="" \ -e DOCKER_TLS_CERTDIR="" \
docker:dind decentral1se/docker-dind-bats-kcov
@DOCKER_CONTEXT=default docker exec \ @DOCKER_CONTEXT=default docker exec \
-it \ -it \
abra-test-dind \ abra-test-dind \
sh -c "apk add bats git bash && cd /workdir && bats /workdir/tests" sh -c "cd /workdir && bats /workdir/tests"
@DOCKER_CONTEXT=default docker stop abra-test-dind @DOCKER_CONTEXT=default docker stop abra-test-dind
@DOCKER_CONTEXT=default docker rm abra-test-dind @DOCKER_CONTEXT=default docker rm abra-test-dind
@ -20,8 +20,8 @@ test_docker:
-it \ -it \
--rm \ --rm \
-v $$(pwd):/workdir \ -v $$(pwd):/workdir \
docker:dind \ decentral1se/docker-dind-bats-kcov \
sh -c "apk add bats git bash && cd /workdir && bats /workdir/tests" sh -c "cd /workdir && bats /workdir/tests"
test_local: test_local:
bats tests bats tests