Fix #332: Ensure 750 permissions on CI artifacts

This commit is contained in:
Eliot Berriot 2018-06-28 16:51:29 +02:00
parent 002f3a9507
commit cac543c9ba
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
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)