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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
30462af1
Commit
30462af1
authored
Jan 24, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
4a363578
16ab0050
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
doc/development/testing_guide/review_apps.md
doc/development/testing_guide/review_apps.md
+0
-4
scripts/review_apps/review-apps.sh
scripts/review_apps/review-apps.sh
+5
-5
scripts/trigger-build
scripts/trigger-build
+4
-1
No files found.
doc/development/testing_guide/review_apps.md
View file @
30462af1
...
...
@@ -4,10 +4,6 @@ Review Apps are automatically deployed by each pipeline, both in
[
CE
](
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22010
)
and
[
EE
](
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6665
)
.
CAUTION:
**Warning:**
There's currently
[
an issue when using `/` in branch names
][
charts-1068
]
where
Review Apps fail to be deployed.
## How does it work?
### CD/CD architecture diagram
...
...
scripts/review_apps/review-apps.sh
View file @
30462af1
...
...
@@ -151,19 +151,19 @@ HELM_CMD=$(cat << EOF
--set redis.resources.requests.cpu=100m
\
--set minio.resources.requests.cpu=100m
\
--set gitlab.migrations.image.repository="
$gitlab_migrations_image_repository
"
\
--set gitlab.migrations.image.tag="
$CI_COMMIT_REF_
NAME
"
\
--set gitlab.migrations.image.tag="
$CI_COMMIT_REF_
SLUG
"
\
--set gitlab.sidekiq.image.repository="
$gitlab_sidekiq_image_repository
"
\
--set gitlab.sidekiq.image.tag="
$CI_COMMIT_REF_
NAME
"
\
--set gitlab.sidekiq.image.tag="
$CI_COMMIT_REF_
SLUG
"
\
--set gitlab.unicorn.image.repository="
$gitlab_unicorn_image_repository
"
\
--set gitlab.unicorn.image.tag="
$CI_COMMIT_REF_
NAME
"
\
--set gitlab.unicorn.image.tag="
$CI_COMMIT_REF_
SLUG
"
\
--set gitlab.task-runner.image.repository="
$gitlab_task_runner_image_repository
"
\
--set gitlab.task-runner.image.tag="
$CI_COMMIT_REF_
NAME
"
\
--set gitlab.task-runner.image.tag="
$CI_COMMIT_REF_
SLUG
"
\
--set gitlab.gitaly.image.repository="registry.gitlab.com/gitlab-org/build/cng-mirror/gitaly"
\
--set gitlab.gitaly.image.tag="v
$GITALY_VERSION
"
\
--set gitlab.gitlab-shell.image.repository="registry.gitlab.com/gitlab-org/build/cng-mirror/gitlab-shell"
\
--set gitlab.gitlab-shell.image.tag="v
$GITLAB_SHELL_VERSION
"
\
--set gitlab.unicorn.workhorse.image="
$gitlab_workhorse_image_repository
"
\
--set gitlab.unicorn.workhorse.tag="
$CI_COMMIT_REF_
NAME
"
\
--set gitlab.unicorn.workhorse.tag="
$CI_COMMIT_REF_
SLUG
"
\
--set nginx-ingress.controller.config.ssl-ciphers="ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4"
\
--namespace="
$KUBE_NAMESPACE
"
\
--version="
$CI_PIPELINE_ID
-
$CI_JOB_ID
"
\
...
...
scripts/trigger-build
View file @
30462af1
...
...
@@ -68,7 +68,7 @@ module Trigger
def
base_variables
{
'GITLAB_REF_SLUG'
=>
ENV
[
'CI_COMMIT_REF_SLUG'
],
'GITLAB_REF_SLUG'
=>
ENV
[
'CI_COMMIT_
TAG'
]
?
ENV
[
'CI_COMMIT_REF_NAME'
]
:
ENV
[
'CI_COMMIT_
REF_SLUG'
],
'TRIGGERED_USER'
=>
ENV
[
'TRIGGERED_USER'
]
||
ENV
[
'GITLAB_USER_NAME'
],
'TRIGGER_SOURCE'
=>
ENV
[
'CI_JOB_URL'
],
'TOP_UPSTREAM_SOURCE_PROJECT'
=>
ENV
[
'CI_PROJECT_PATH'
],
...
...
@@ -137,7 +137,10 @@ module Trigger
edition
=
Trigger
.
ee?
?
'EE'
:
'CE'
{
# Back-compatibility until https://gitlab.com/gitlab-org/build/CNG/merge_requests/189 is merged
"GITLAB_
#{
edition
}
_VERSION"
=>
ENV
[
'CI_COMMIT_REF_NAME'
],
"GITLAB_VERSION"
=>
ENV
[
'CI_COMMIT_REF_NAME'
],
"GITLAB_ASSETS_TAG"
=>
ENV
[
'CI_COMMIT_REF_SLUG'
],
"
#{
edition
}
_PIPELINE"
=>
'true'
}
end
...
...
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