update tests

This commit is contained in:
ILoveYaToo 2020-04-13 00:34:38 -04:00
parent 3739e34a86
commit 8106a217b8

View File

@ -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: