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
65d63cdf
Commit
65d63cdf
authored
Jul 23, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
88ea863f
d97dac9d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
27 deletions
+2
-27
.gitlab/ci/docs.gitlab-ci.yml
.gitlab/ci/docs.gitlab-ci.yml
+0
-1
.gitlab/ci/yaml.gitlab-ci.yml
.gitlab/ci/yaml.gitlab-ci.yml
+1
-1
changelogs/README.md
changelogs/README.md
+1
-1
scripts/lint-changelog-yaml
scripts/lint-changelog-yaml
+0
-24
No files found.
.gitlab/ci/docs.gitlab-ci.yml
View file @
65d63cdf
...
...
@@ -62,7 +62,6 @@ docs lint:
before_script
:
[]
script
:
-
scripts/lint-doc.sh
-
scripts/lint-changelog-yaml
-
mv doc/ /tmp/gitlab-docs/content/$DOCS_GITLAB_REPO_SUFFIX
-
cd /tmp/gitlab-docs
# Lint Markdown
...
...
.gitlab/ci/yaml.gitlab-ci.yml
View file @
65d63cdf
...
...
@@ -6,4 +6,4 @@ lint-ci-gitlab:
dependencies
:
[]
image
:
sdesbure/yamllint:latest
script
:
-
yamllint .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates
-
yamllint .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates
changelogs
changelogs/README.md
View file @
65d63cdf
...
...
@@ -3,7 +3,7 @@
To generate and validate your changelog entries:
1.
Run
`bin/changelog`
to generate.
1.
Run
`
scripts/lint-changelog-yaml
`
to validate.
1.
Run
`
yamllint changelogs
`
to validate.
See [development/changelog] documentation for detailed usage.
...
...
scripts/lint-changelog-yaml
deleted
100755 → 0
View file @
88ea863f
#!/usr/bin/env ruby
require
'yaml'
invalid_changelogs
=
Dir
[
'changelogs/**/*'
].
reject
do
|
changelog
|
next
true
if
changelog
=~
/((README|archive)\.md|unreleased(-ee)?)$/
next
false
unless
changelog
.
end_with?
(
'.yml'
)
begin
YAML
.
load_file
(
changelog
)
rescue
=>
exception
puts
exception
end
end
if
invalid_changelogs
.
any?
puts
puts
"Invalid changelogs found!
\n
"
puts
invalid_changelogs
.
sort
exit
1
else
puts
"All changelogs are valid YAML.
\n
"
exit
0
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