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
9b6915eb
Commit
9b6915eb
authored
Jul 16, 2018
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-07-16
parents
2f399411
bda16c78
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
.gitlab-ci.yml
.gitlab-ci.yml
+5
-2
danger/changelog/Dangerfile
danger/changelog/Dangerfile
+4
-2
doc/topics/autodevops/index.md
doc/topics/autodevops/index.md
+1
-1
No files found.
.gitlab-ci.yml
View file @
9b6915eb
...
...
@@ -116,7 +116,9 @@ stages:
.rails5
:
&rails5
allow_failure
:
true
only
:
-
/rails5/
variables
:
-
$CI_COMMIT_REF_NAME =~ /rails5/
-
$RAILS5_ENABLED
variables
:
BUNDLE_GEMFILE
:
"
Gemfile.rails5"
RAILS5
:
"
true"
...
...
@@ -433,7 +435,7 @@ cloud-native-image:
cache
:
{}
script
:
-
gem install gitlab --no-ri --no-rdoc
-
./
scripts/trigger-build cng
-
BUILD_TRIGGER_TOKEN=$CI_JOB_TOKEN
scripts/trigger-build cng
only
:
-
tags@gitlab-org/gitlab-ce
-
tags@gitlab-org/gitlab-ee
...
...
@@ -484,6 +486,7 @@ ee-specific-lines-check:
danger-review
:
image
:
registry.gitlab.com/gitlab-org/gitaly/dangercontainer:latest
stage
:
prepare
allow_failure
:
true
before_script
:
-
source scripts/utils.sh
-
retry gem install danger --no-ri --no-rdoc
...
...
danger/changelog/Dangerfile
View file @
9b6915eb
...
...
@@ -38,12 +38,14 @@ def check_changelog(path)
if
yaml
[
"merge_request"
].
nil?
message
"Consider setting `merge_request` to
#{
gitlab
.
mr_json
[
"iid"
]
}
in
#{
gitlab
.
html_link
(
path
)
}
.
#{
SEE_DOC
}
"
elsif
yaml
[
"merge_request"
]
!=
gitlab
.
mr_json
[
"iid"
]
&&
!
ce_port_changelog?
(
changelog_
path
)
elsif
yaml
[
"merge_request"
]
!=
gitlab
.
mr_json
[
"iid"
]
&&
!
ce_port_changelog?
(
path
)
fail
"Merge request ID was not set to
#{
gitlab
.
mr_json
[
"iid"
]
}
!
#{
SEE_DOC
}
"
end
rescue
StandardError
rescue
Psych
::
SyntaxError
,
Psych
::
DisallowedClass
,
Psych
::
BadAlias
# YAML could not be parsed, fail the build.
fail
"
#{
gitlab
.
html_link
(
path
)
}
isn't valid YAML!
#{
SEE_DOC
}
"
rescue
StandardError
=>
e
warn
"There was a problem trying to check the Changelog. Exception:
#{
e
.
name
}
-
#{
e
.
message
}
"
end
def
presented_no_changelog_labels
...
...
doc/topics/autodevops/index.md
View file @
9b6915eb
...
...
@@ -527,7 +527,7 @@ repo or by specifying a project variable:
-
**Bundled chart**
- If your project has a
`./chart`
directory with a
`Chart.yaml`
file in it, Auto DevOps will detect the chart and use it instead of the
[
default
one
](
https://gitlab.com/charts/
charts.gitlab.io/tree/master/charts/
auto-deploy-app
)
.
one
](
https://gitlab.com/charts/auto-deploy-app
)
.
This can be a great way to control exactly how your application is deployed.
-
**Project variable**
- Create a
[
project variable
](
../../ci/variables/README.md#secret-variables
)
`AUTO_DEVOPS_CHART`
with the URL of a custom chart to use.
...
...
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