fix permissions when running in CI
This commit is contained in:
parent
a3736a676b
commit
72bd6639bc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user