From 72bd6639bc7c12479b0faf64adb8f9d4479b415c Mon Sep 17 00:00:00 2001 From: ILoveYaToo Date: Fri, 1 May 2020 23:39:50 -0400 Subject: [PATCH] fix permissions when running in CI --- .gitlab-ci.yml | 2 ++ alpine/docker-compose.yml | 2 +- ubuntu/docker-compose.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6569229..11d9a98 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/alpine/docker-compose.yml b/alpine/docker-compose.yml index 088cbad..6be8e35 100644 --- a/alpine/docker-compose.yml +++ b/alpine/docker-compose.yml @@ -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 diff --git a/ubuntu/docker-compose.yml b/ubuntu/docker-compose.yml index 498f729..c15974b 100644 --- a/ubuntu/docker-compose.yml +++ b/ubuntu/docker-compose.yml @@ -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