From f475583a6f7ea45084a078c0520dadf30f7ce039 Mon Sep 17 00:00:00 2001 From: ILoveYaToo Date: Mon, 13 Apr 2020 23:07:32 -0400 Subject: [PATCH] add tests --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf47a26..d2d39ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,17 @@ test-docker-ubuntu: after_script: - cd ubuntu - docker-compose rm -sfv - - docker run -i -v $(pwd):/cleandir -w /cleandir alpine rm -rf "/cleandir/data/*" + +test-docker-alpine: + stage: tests + script: + - cd alpine + - docker load -i postal-alpine-container.tar + - docker-compose up -d + - docker-compose run postal initialize + after_script: + - cd alpine + - docker-compose rm -sfv after_script: - docker container prune -f