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
128d7f49
Commit
128d7f49
authored
Dec 11, 2020
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New job to check LastKeywordArgument deprecations
parent
3d7f3074
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+18
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+9
-0
doc/development/pipelines.md
doc/development/pipelines.md
+1
-1
No files found.
.gitlab/ci/rails.gitlab-ci.yml
View file @
128d7f49
...
@@ -376,6 +376,24 @@ db:backup_and_restore:
...
@@ -376,6 +376,24 @@ db:backup_and_restore:
rules
:
rules
:
-
changes
:
[
"
lib/backup/**/*"
]
-
changes
:
[
"
lib/backup/**/*"
]
rspec:deprecations:
extends
:
-
.default-retry
-
.default-before_script
-
.static-analysis-cache
-
.rails:rules:deprecations
stage
:
post-test
allow_failure
:
true
variables
:
SETUP_DB
:
"
false"
script
:
-
bundle exec rubocop --only Lint/LastKeywordArgument --parallel
artifacts
:
expire_in
:
31d
when
:
always
paths
:
-
deprecations/
rspec:coverage:
rspec:coverage:
extends
:
extends
:
-
.coverage-base
-
.coverage-base
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
128d7f49
...
@@ -825,6 +825,15 @@
...
@@ -825,6 +825,15 @@
-
<<
:
*if-merge-request
-
<<
:
*if-merge-request
changes
:
*code-backstage-patterns
changes
:
*code-backstage-patterns
.rails:rules:deprecations:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-merge-request
changes
:
*code-backstage-patterns
-
<<
:
*if-master-schedule-nightly
-
<<
:
*if-merge-request-title-run-all-rspec
.rails:rules:rspec-coverage:
.rails:rules:rspec-coverage:
rules
:
rules
:
-
<<
:
*if-not-ee
-
<<
:
*if-not-ee
...
...
doc/development/pipelines.md
View file @
128d7f49
...
@@ -671,7 +671,7 @@ and included in `rules` definitions via [YAML anchors](../ci/yaml/README.md#anch
...
@@ -671,7 +671,7 @@ and included in `rules` definitions via [YAML anchors](../ci/yaml/README.md#anch
|
`if-master-refs`
| Matches if the current branch is
`master`
. | |
|
`if-master-refs`
| Matches if the current branch is
`master`
. | |
|
`if-master-push`
| Matches if the current branch is
`master`
and pipeline source is
`push`
. | |
|
`if-master-push`
| Matches if the current branch is
`master`
and pipeline source is
`push`
. | |
|
`if-master-schedule-2-hourly`
| Matches if the current branch is
`master`
and pipeline runs on a 2-hourly schedule. | |
|
`if-master-schedule-2-hourly`
| Matches if the current branch is
`master`
and pipeline runs on a 2-hourly schedule. | |
|
`if-master-schedule-
2-nightly`
| Matches if the current branch is
`master`
and pipeline runs on a nightly schedule. | |
|
`if-master-schedule-
nightly`
| Matches if the current branch is
`master`
and pipeline runs on a nightly schedule. | |
|
`if-auto-deploy-branches`
| Matches if the current branch is an auto-deploy one. | |
|
`if-auto-deploy-branches`
| Matches if the current branch is an auto-deploy one. | |
|
`if-master-or-tag`
| Matches if the pipeline is for the
`master`
branch or for a tag. | |
|
`if-master-or-tag`
| Matches if the pipeline is for the
`master`
branch or for a tag. | |
|
`if-merge-request`
| Matches if the pipeline is for a merge request. | |
|
`if-merge-request`
| Matches if the pipeline is for a merge request. | |
...
...
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