add tests
This commit is contained in:
parent
a3e46c192f
commit
f475583a6f
|
@ -37,7 +37,17 @@ test-docker-ubuntu:
|
||||||
after_script:
|
after_script:
|
||||||
- cd ubuntu
|
- cd ubuntu
|
||||||
- docker-compose rm -sfv
|
- 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:
|
after_script:
|
||||||
- docker container prune -f
|
- docker container prune -f
|
||||||
|
|
Loading…
Reference in New Issue
Block a user