Skip to content
Snippets Groups Projects
Verified Commit 2c3ae501 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

fixup! Better urls for review apps

parent ed869d90
No related branches found
No related tags found
No related merge requests found
Pipeline #1467 passed
...@@ -36,7 +36,7 @@ review_front: ...@@ -36,7 +36,7 @@ review_front:
- front/node_modules - front/node_modules
- front/yarn.lock - front/yarn.lock
environment: 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 url: http://front-$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN
on_stop: stop_front_review on_stop: stop_front_review
only: only:
...@@ -54,7 +54,7 @@ stop_front_review: ...@@ -54,7 +54,7 @@ stop_front_review:
only: only:
- branches - branches
environment: environment:
name: review/front-$CI_BUILD_REF_NAME name: review/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
action: stop action: stop
tags: tags:
- funkwhale-review - funkwhale-review
...@@ -81,7 +81,7 @@ review_docs: ...@@ -81,7 +81,7 @@ review_docs:
- mkdir -p /static/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG - 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 - cp -r $CI_PROJECT_DIR/public/* /static/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
environment: 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 url: http://docs-$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN
on_stop: stop_docs_review on_stop: stop_docs_review
only: only:
...@@ -99,7 +99,7 @@ stop_docs_review: ...@@ -99,7 +99,7 @@ stop_docs_review:
only: only:
- branches - branches
environment: environment:
name: review/docs-$CI_BUILD_REF_NAME name: review/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
action: stop action: stop
tags: tags:
- funkwhale-review - funkwhale-review
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment