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
24ae2bd1
Commit
24ae2bd1
authored
Dec 02, 2021
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set low urgency for specified Verify:PA endpoints
parent
2ba756c4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
3 deletions
+10
-3
app/controllers/groups/variables_controller.rb
app/controllers/groups/variables_controller.rb
+2
-0
app/controllers/projects/ci/lints_controller.rb
app/controllers/projects/ci/lints_controller.rb
+1
-0
app/controllers/projects/ci/pipeline_editor_controller.rb
app/controllers/projects/ci/pipeline_editor_controller.rb
+2
-0
app/controllers/projects/variables_controller.rb
app/controllers/projects/variables_controller.rb
+2
-0
lib/api/ci/pipelines.rb
lib/api/ci/pipelines.rb
+1
-1
lib/api/lint.rb
lib/api/lint.rb
+2
-2
No files found.
app/controllers/groups/variables_controller.rb
View file @
24ae2bd1
...
...
@@ -8,6 +8,8 @@ module Groups
feature_category
:pipeline_authoring
urgency
:low
,
[
:show
]
def
show
respond_to
do
|
format
|
format
.
json
do
...
...
app/controllers/projects/ci/lints_controller.rb
View file @
24ae2bd1
...
...
@@ -6,6 +6,7 @@ class Projects::Ci::LintsController < Projects::ApplicationController
feature_category
:pipeline_authoring
respond_to
:json
,
only:
[
:create
]
urgency
:low
,
[
:create
]
def
show
end
...
...
app/controllers/projects/ci/pipeline_editor_controller.rb
View file @
24ae2bd1
...
...
@@ -9,6 +9,8 @@ class Projects::Ci::PipelineEditorController < Projects::ApplicationController
feature_category
:pipeline_authoring
urgency
:low
,
[
:show
]
def
show
end
...
...
app/controllers/projects/variables_controller.rb
View file @
24ae2bd1
...
...
@@ -5,6 +5,8 @@ class Projects::VariablesController < Projects::ApplicationController
feature_category
:pipeline_authoring
urgency
:low
,
[
:show
,
:update
]
def
show
respond_to
do
|
format
|
format
.
json
do
...
...
lib/api/ci/pipelines.rb
View file @
24ae2bd1
...
...
@@ -166,7 +166,7 @@ module API
params
do
requires
:pipeline_id
,
type:
Integer
,
desc:
'The pipeline ID'
end
get
':id/pipelines/:pipeline_id/variables'
,
feature_category: :pipeline_authoring
do
get
':id/pipelines/:pipeline_id/variables'
,
feature_category: :pipeline_authoring
,
urgency: :low
do
authorize!
:read_pipeline_variable
,
pipeline
present
pipeline
.
variables
,
with:
Entities
::
Ci
::
Variable
...
...
lib/api/lint.rb
View file @
24ae2bd1
...
...
@@ -33,7 +33,7 @@ module API
optional
:dry_run
,
type:
Boolean
,
default:
false
,
desc:
'Run pipeline creation simulation, or only do static check.'
optional
:include_jobs
,
type:
Boolean
,
desc:
'Whether or not to include CI jobs in the response'
end
get
':id/ci/lint'
do
get
':id/ci/lint'
,
urgency: :low
do
authorize!
:download_code
,
user_project
content
=
user_project
.
repository
.
gitlab_ci_yml_for
(
user_project
.
commit
.
id
,
user_project
.
ci_config_path_or_default
)
...
...
@@ -54,7 +54,7 @@ module API
optional
:dry_run
,
type:
Boolean
,
default:
false
,
desc:
'Run pipeline creation simulation, or only do static check.'
optional
:include_jobs
,
type:
Boolean
,
desc:
'Whether or not to include CI jobs in the response'
end
post
':id/ci/lint'
do
post
':id/ci/lint'
,
urgency: :low
do
authorize!
:create_pipeline
,
user_project
result
=
Gitlab
::
Ci
::
Lint
...
...
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