update tests
This commit is contained in:
parent
3739e34a86
commit
8106a217b8
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user