From 8106a217b83fcea6139addf4b88a58ab91456be8 Mon Sep 17 00:00:00 2001 From: ILoveYaToo Date: Mon, 13 Apr 2020 00:34:38 -0400 Subject: [PATCH] update tests --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29b390b..eac0c41 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,16 +12,25 @@ build-docker-alpine: script: - cd alpine - docker build --network=host -t catdeployed/postal:alpine . + - docker save -o postal-alpine-container.tar catdeployed/postal:alpine + artifacts: + paths: + - postal-alpine-container.tar build-docker-ubuntu: stage: docker-build script: - cd ubuntu - docker build --network=host -t catdeployed/postal:ubuntu . + - docker save -o postal-ubuntu-container.tar catdeployed/postal:ubuntu + artifacts: + paths: + - postal-ubuntu-container.tar test-docker-ubuntu: stage: tests script: + - docker load -i postal-ubuntu-container.tar - docker run -i catdeployed/postal:ubuntu /opt/postal/bin/postal make-user docker-cleanup: