fix permissions when running in CI
This commit is contained in:
parent
a3736a676b
commit
72bd6639bc
|
@ -33,6 +33,7 @@ test-docker-ubuntu:
|
||||||
stage: tests
|
stage: tests
|
||||||
script:
|
script:
|
||||||
- cd ubuntu
|
- cd ubuntu
|
||||||
|
- touch config/postal.yaml
|
||||||
- docker load -i postal-ubuntu-container.tar
|
- docker load -i postal-ubuntu-container.tar
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- for i in {1..20}; do [ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ] && break || sleep 15; done
|
- 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
|
stage: tests
|
||||||
script:
|
script:
|
||||||
- cd alpine
|
- cd alpine
|
||||||
|
- touch config/postal.yaml
|
||||||
- docker load -i postal-alpine-container.tar
|
- docker load -i postal-alpine-container.tar
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- for i in {1..20}; do [ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ] && break || sleep 15; done
|
- for i in {1..20}; do [ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ] && break || sleep 15; done
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
- "mysql"
|
- "mysql"
|
||||||
- "rabbitmq"
|
- "rabbitmq"
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/postal.yml:/opt/postal/config/postal.yml
|
- ./config/postal.yml:/opt/postal/config/postal.yml
|
||||||
- static_assets:/opt/postal/public
|
- static_assets:/opt/postal/public
|
||||||
- postal_assets:/opt/postal/public/assets
|
- postal_assets:/opt/postal/public/assets
|
||||||
- ./src/templates/:/templates
|
- ./src/templates/:/templates
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
- "mysql"
|
- "mysql"
|
||||||
- "rabbitmq"
|
- "rabbitmq"
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/postal.yml:/opt/postal/config/postal.yml
|
- ./config/postal.yml:/opt/postal/config/postal.yml
|
||||||
- static_assets:/opt/postal/public
|
- static_assets:/opt/postal/public
|
||||||
- postal_assets:/opt/postal/public/assets
|
- postal_assets:/opt/postal/public/assets
|
||||||
- ./src/templates/:/templates
|
- ./src/templates/:/templates
|
||||||
|
|
Loading…
Reference in New Issue
Block a user