Merge branch '350-artifacts-permission' into 'develop'

Fix #332 Ensure 750 permissions on CI artifacts

Closes #332

See merge request funkwhale/funkwhale!284
This commit is contained in:
Eliot Berriot 2018-06-29 08:15:18 +00:00
commit a1b8555c17
2 changed files with 5 additions and 1 deletions

View File

@ -184,6 +184,7 @@ build_front:
# this is to ensure we don't have any errors in the output, # this is to ensure we don't have any errors in the output,
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169 # cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in') - yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
- chmod -R 750 front/dist
cache: cache:
key: "$CI_PROJECT_ID__front_dependencies" key: "$CI_PROJECT_ID__front_dependencies"
paths: paths:
@ -248,7 +249,9 @@ build_api:
name: "api_${CI_COMMIT_REF_NAME}" name: "api_${CI_COMMIT_REF_NAME}"
paths: paths:
- api - api
script: echo Done! script:
- chmod -R 750 api
- echo Done!
only: only:
- tags@funkwhale/funkwhale - tags@funkwhale/funkwhale
- master@funkwhale/funkwhale - master@funkwhale/funkwhale

View File

@ -0,0 +1 @@
Ensure 750 permissions on CI artifacts (#332)