Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
5c19f09a
Commit
5c19f09a
authored
Jul 04, 2018
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use CI_COMMIT_REF_SLUG for the env URL in review-docs jobs
parent
275fbf24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
5c19f09a
...
@@ -269,7 +269,7 @@ package-and-qa:
...
@@ -269,7 +269,7 @@ package-and-qa:
<<
:
*single-script-job-variables
<<
:
*single-script-job-variables
SCRIPT_NAME
:
trigger-build-docs
SCRIPT_NAME
:
trigger-build-docs
environment
:
environment
:
name
:
review-docs/$CI_COMMIT_REF_
NAME
name
:
review-docs/$CI_COMMIT_REF_
SLUG
# DOCS_REVIEW_APPS_DOMAIN and DOCS_GITLAB_REPO_SUFFIX are secret variables
# DOCS_REVIEW_APPS_DOMAIN and DOCS_GITLAB_REPO_SUFFIX are secret variables
# Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14236/diffs#note_40140693
# Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14236/diffs#note_40140693
url
:
http://$DOCS_GITLAB_REPO_SUFFIX-$CI_ENVIRONMENT_SLUG.$DOCS_REVIEW_APPS_DOMAIN/$DOCS_GITLAB_REPO_SUFFIX
url
:
http://$DOCS_GITLAB_REPO_SUFFIX-$CI_ENVIRONMENT_SLUG.$DOCS_REVIEW_APPS_DOMAIN/$DOCS_GITLAB_REPO_SUFFIX
...
@@ -305,7 +305,7 @@ review-docs-cleanup:
...
@@ -305,7 +305,7 @@ review-docs-cleanup:
<<
:
*review-docs
<<
:
*review-docs
stage
:
post-cleanup
stage
:
post-cleanup
environment
:
environment
:
name
:
review-docs/$CI_COMMIT_REF_
NAME
name
:
review-docs/$CI_COMMIT_REF_
SLUG
action
:
stop
action
:
stop
when
:
manual
when
:
manual
script
:
script
:
...
...
Write
Preview
Markdown
is supported
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