Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
petitminion
funkwhale
Commits
1261659e
Commit
1261659e
authored
Dec 12, 2021
by
Georg Krause
Committed by
JuniorJPDJ
Dec 12, 2021
Browse files
Fix review CI to allow instance switch and switch default instance
parent
e1b86a3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1261659e
...
...
@@ -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')
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment