fix permissions when running in CI

This commit is contained in:
ILoveYaToo 2020-05-01 23:39:50 -04:00
parent a3736a676b
commit 72bd6639bc
3 changed files with 4 additions and 2 deletions

View File

@ -33,6 +33,7 @@ test-docker-ubuntu:
stage: tests
script:
- cd ubuntu
- touch config/postal.yaml
- docker load -i postal-ubuntu-container.tar
- docker-compose up -d
- for i in {1..20}; do [ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ] && break || sleep 15; done
@ -44,6 +45,7 @@ test-docker-alpine:
stage: tests
script:
- cd alpine
- touch config/postal.yaml
- docker load -i postal-alpine-container.tar
- docker-compose up -d
- for i in {1..20}; do [ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ] && break || sleep 15; done

View File

@ -10,7 +10,7 @@ services:
- "mysql"
- "rabbitmq"
volumes:
- ./conf/postal.yml:/opt/postal/config/postal.yml
- ./config/postal.yml:/opt/postal/config/postal.yml
- static_assets:/opt/postal/public
- postal_assets:/opt/postal/public/assets
- ./src/templates/:/templates

View File

@ -10,7 +10,7 @@ services:
- "mysql"
- "rabbitmq"
volumes:
- ./conf/postal.yml:/opt/postal/config/postal.yml
- ./config/postal.yml:/opt/postal/config/postal.yml
- static_assets:/opt/postal/public
- postal_assets:/opt/postal/public/assets
- ./src/templates/:/templates