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
33f6b9b6
Commit
33f6b9b6
authored
Mar 23, 2022
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sets low urgency for PA endpoints
parent
05ceec73
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
lib/api/ci/pipelines.rb
lib/api/ci/pipelines.rb
+1
-1
lib/api/ci/variables.rb
lib/api/ci/variables.rb
+1
-1
lib/api/lint.rb
lib/api/lint.rb
+1
-1
No files found.
lib/api/ci/pipelines.rb
View file @
33f6b9b6
...
@@ -146,7 +146,7 @@ module API
...
@@ -146,7 +146,7 @@ module API
use
:pagination
use
:pagination
end
end
get
':id/pipelines/:pipeline_id/bridges'
,
feature_category: :pipeline_authoring
do
get
':id/pipelines/:pipeline_id/bridges'
,
urgency: :low
,
feature_category: :pipeline_authoring
do
authorize!
(
:read_build
,
user_project
)
authorize!
(
:read_build
,
user_project
)
pipeline
=
user_project
.
all_pipelines
.
find
(
params
[
:pipeline_id
])
pipeline
=
user_project
.
all_pipelines
.
find
(
params
[
:pipeline_id
])
...
...
lib/api/ci/variables.rb
View file @
33f6b9b6
...
@@ -23,7 +23,7 @@ module API
...
@@ -23,7 +23,7 @@ module API
params
do
params
do
use
:pagination
use
:pagination
end
end
get
':id/variables'
do
get
':id/variables'
,
urgency: :low
do
variables
=
user_project
.
variables
variables
=
user_project
.
variables
present
paginate
(
variables
),
with:
Entities
::
Ci
::
Variable
present
paginate
(
variables
),
with:
Entities
::
Ci
::
Variable
end
end
...
...
lib/api/lint.rb
View file @
33f6b9b6
...
@@ -21,7 +21,7 @@ module API
...
@@ -21,7 +21,7 @@ module API
optional
:include_merged_yaml
,
type:
Boolean
,
desc:
'Whether or not to include merged CI config yaml in the response'
optional
:include_merged_yaml
,
type:
Boolean
,
desc:
'Whether or not to include merged CI config yaml in the response'
optional
:include_jobs
,
type:
Boolean
,
desc:
'Whether or not to include CI jobs in the response'
optional
:include_jobs
,
type:
Boolean
,
desc:
'Whether or not to include CI jobs in the response'
end
end
post
'/lint'
do
post
'/lint'
,
urgency: :low
do
unauthorized!
unless
can_lint_ci?
unauthorized!
unless
can_lint_ci?
result
=
Gitlab
::
Ci
::
Lint
.
new
(
project:
nil
,
current_user:
current_user
)
result
=
Gitlab
::
Ci
::
Lint
.
new
(
project:
nil
,
current_user:
current_user
)
...
...
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