Открыть боковую панель
GitLab.org
Gitlab
Коммиты
7f0f752a
Коммит
7f0f752a
создал
Мар 11, 2019
по автору
walkafwalka
Просмотр файлов
Use project name and id in review app url instead of project path slug
владелец
e1707413
Изменения
3
Скрыть пробелы
Построчно
Рядом
changelogs/unreleased/fix-review-app-env-url.yml
0 → 100644
Просмотр файла @
7f0f752a
---
title
:
Fixes long review app subdomains
merge_request
:
25990
author
:
walkafwalka
type
:
fixed
doc/topics/autodevops/index.md
Просмотр файла @
7f0f752a
...
...
@@ -442,10 +442,10 @@ process. Auto Review Apps create a Review App for each branch.
Auto Review Apps will deploy your app to your Kubernetes cluster only. When no cluster
is available, no deployment will occur.
The Review App will have a unique URL based on the project
name
, the branch
The Review App will have a unique URL based on the project
ID
, the branch
or tag
name, and a unique number, combined with the Auto DevOps base domain. For
example,
`
user
-project-branch-1234.example.com`
. A link to the Review App shows
up in the merge request widget for easy discovery. When the branch is deleted,
example,
`
13083-review
-project-branch-1234
56
.example.com`
. A link to the Review App shows
up in the merge request widget for easy discovery. When the branch
or tag
is deleted,
for example after the merge request is merged, the Review App will automatically
be deleted.
...
...
lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
Просмотр файла @
7f0f752a
...
...
@@ -262,7 +262,7 @@ review:
-
persist_environment_url
environment
:
name
:
review/$CI_COMMIT_REF_NAME
url
:
http://$CI_PROJECT_
PATH_SLUG
-$CI_ENVIRONMENT_SLUG.$KUBE_INGRESS_BASE_DOMAIN
url
:
http://$CI_PROJECT_
ID
-$CI_ENVIRONMENT_SLUG.$KUBE_INGRESS_BASE_DOMAIN
on_stop
:
stop_review
artifacts
:
paths
:
[
environment_url.txt
]
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать