kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fix review CI to allow instance switch and switch default instance
rodzic
e1b86a3f35
commit
1261659e1d
|
@ -8,7 +8,7 @@ variables:
|
|||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
|
||||
PYTHONDONTWRITEBYTECODE: "true"
|
||||
REVIEW_DOMAIN: preview.funkwhale.audio
|
||||
REVIEW_INSTANCE_URL: https://demo.funkwhale.audio
|
||||
REVIEW_INSTANCE_URL: https://funkwhale.juniorjpdj.pl
|
||||
DOCKER_HOST: tcp://docker:2375/
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
|
@ -32,6 +32,7 @@ review_front:
|
|||
BASE_URL: /-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/front-review/
|
||||
VUE_APP_ROUTER_BASE_URL: /-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/front-review/
|
||||
VUE_APP_INSTANCE_URL: $REVIEW_INSTANCE_URL
|
||||
NODE_ENV: review
|
||||
before_script:
|
||||
- curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
|
||||
- chmod +x /usr/local/bin/jq
|
||||
|
@ -40,7 +41,6 @@ review_front:
|
|||
- cd front
|
||||
script:
|
||||
- yarn install
|
||||
- yarn run i18n-compile
|
||||
# this is to ensure we don't have any errors in the output,
|
||||
# cf https://dev.funkwhale.audio/funkwhale/funkwhale/issues/169
|
||||
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
|
||||
|
|
Ładowanie…
Reference in New Issue