Verified Commit 2c3ae501 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

fixup! Better urls for review apps

parent ed869d90
Pipeline #1467 passed with stages
in 6 minutes and 14 seconds
......@@ -36,7 +36,7 @@ review_front:
- front/node_modules
- front/yarn.lock
environment:
name: review/front-$CI_BUILD_REF_NAME
name: review/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
url: http://front-$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN
on_stop: stop_front_review
only:
......@@ -54,7 +54,7 @@ stop_front_review:
only:
- branches
environment:
name: review/front-$CI_BUILD_REF_NAME
name: review/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
action: stop
tags:
- funkwhale-review
......@@ -81,7 +81,7 @@ review_docs:
- mkdir -p /static/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
- cp -r $CI_PROJECT_DIR/public/* /static/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
environment:
name: review/docs-$CI_BUILD_REF_NAME
name: review/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
url: http://docs-$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN
on_stop: stop_docs_review
only:
......@@ -99,7 +99,7 @@ stop_docs_review:
only:
- branches
environment:
name: review/docs-$CI_BUILD_REF_NAME
name: review/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
action: stop
tags:
- funkwhale-review
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment