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
82d028be
Commit
82d028be
authored
Jun 29, 2021
by
Cheryl Li
Committed by
Sean McGivern
Jun 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build_artifacts as feature category
parent
b41057f7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
app/controllers/projects/artifacts_controller.rb
app/controllers/projects/artifacts_controller.rb
+1
-1
app/controllers/projects/build_artifacts_controller.rb
app/controllers/projects/build_artifacts_controller.rb
+1
-1
config/feature_categories.yml
config/feature_categories.yml
+4
-1
ee/app/controllers/projects/threat_monitoring_controller.rb
ee/app/controllers/projects/threat_monitoring_controller.rb
+1
-1
lib/api/job_artifacts.rb
lib/api/job_artifacts.rb
+1
-1
No files found.
app/controllers/projects/artifacts_controller.rb
View file @
82d028be
...
...
@@ -15,7 +15,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
MAX_PER_PAGE
=
20
feature_category
:
continuous_integration
feature_category
:
build_artifacts
def
index
# Loading artifacts is very expensive in projects with a lot of artifacts.
...
...
app/controllers/projects/build_artifacts_controller.rb
View file @
82d028be
...
...
@@ -8,7 +8,7 @@ class Projects::BuildArtifactsController < Projects::ApplicationController
before_action
:extract_ref_name_and_path
before_action
:validate_artifacts!
,
except:
[
:download
]
feature_category
:
continuous_integration
feature_category
:
build_artifacts
def
download
redirect_to
download_project_job_artifacts_path
(
project
,
job
,
params:
request
.
query_parameters
)
...
...
config/feature_categories.yml
View file @
82d028be
...
...
@@ -17,6 +17,7 @@
-
auto_devops
-
backup_restore
-
boards
-
build_artifacts
-
chatops
-
cloud_native_installation
-
cluster_cost_management
...
...
@@ -83,12 +84,14 @@
-
mlops
-
mobile_signing_deployment
-
navigation
-
not_owned
-
omnibus_package
-
on_call_schedule_management
-
onboarding
-
package_registry
-
pages
-
performance_testing
-
pipeline_abuse_prevention
-
pipeline_authoring
-
planning_analytics
-
privacy_control_center
...
...
@@ -110,6 +113,7 @@
-
self_monitoring
-
serverless
-
service_desk
-
service_ping
-
sharding
-
snippets
-
source_code_management
...
...
@@ -127,7 +131,6 @@
-
value_stream_management
-
vulnerability_database
-
vulnerability_management
-
web_firewall
-
web_ide
-
wiki
-
workflow_automation
ee/app/controllers/projects/threat_monitoring_controller.rb
View file @
82d028be
...
...
@@ -10,7 +10,7 @@ module Projects
push_frontend_feature_flag
(
:scan_execution_policy_ui
,
@project
)
end
feature_category
:
web_firewall
feature_category
:
not_owned
# rubocop: disable CodeReuse/ActiveRecord
def
alert_details
...
...
lib/api/job_artifacts.rb
View file @
82d028be
...
...
@@ -4,7 +4,7 @@ module API
class
JobArtifacts
<
::
API
::
Base
before
{
authenticate_non_get!
}
feature_category
:
continuous_integration
feature_category
:
build_artifacts
# EE::API::JobArtifacts would override the following helpers
helpers
do
...
...
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