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
96906aa0
Commit
96906aa0
authored
Jun 23, 2021
by
Alan (Maciej) Paruszewski
Committed by
Mayra Cabrera
Jun 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Running Container Scanning Max Size Limit
parent
2c2ea775
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
30 deletions
+41
-30
db/migrate/20210614142311_add_running_container_scanning_max_size_to_plan_limits.rb
...add_running_container_scanning_max_size_to_plan_limits.rb
+7
-0
db/schema_migrations/20210614142311
db/schema_migrations/20210614142311
+1
-0
db/structure.sql
db/structure.sql
+2
-1
doc/administration/instance_limits.md
doc/administration/instance_limits.md
+30
-29
spec/models/plan_limits_spec.rb
spec/models/plan_limits_spec.rb
+1
-0
No files found.
db/migrate/20210614142311_add_running_container_scanning_max_size_to_plan_limits.rb
0 → 100644
View file @
96906aa0
# frozen_string_literal: true
class
AddRunningContainerScanningMaxSizeToPlanLimits
<
ActiveRecord
::
Migration
[
6.0
]
def
change
add_column
:plan_limits
,
:ci_max_artifact_size_running_container_scanning
,
:integer
,
null:
false
,
default:
0
end
end
db/schema_migrations/20210614142311
0 → 100644
View file @
96906aa0
5dc0a4f91dc35b7720b20e89fa77374a0337c380b9234704e7d4143639e512f0
\ No newline at end of file
db/structure.sql
View file @
96906aa0
...
...
@@ -16298,7 +16298,8 @@ CREATE TABLE plan_limits (
ci_registered_group_runners integer DEFAULT 1000 NOT NULL,
ci_registered_project_runners integer DEFAULT 1000 NOT NULL,
web_hook_calls integer DEFAULT 0 NOT NULL,
ci_daily_pipeline_schedule_triggers integer DEFAULT 0 NOT NULL
ci_daily_pipeline_schedule_triggers integer DEFAULT 0 NOT NULL,
ci_max_artifact_size_running_container_scanning integer DEFAULT 0 NOT NULL
);
CREATE SEQUENCE plan_limits_id_seq
doc/administration/instance_limits.md
View file @
96906aa0
...
...
@@ -466,6 +466,7 @@ setting is used:
|
`ci_max_artifact_size_network_referee`
| 0 |
|
`ci_max_artifact_size_performance`
| 0 |
|
`ci_max_artifact_size_requirements`
| 0 |
|
`ci_max_artifact_size_running_container_scanning`
| 0 |
|
`ci_max_artifact_size_sast`
| 0 |
|
`ci_max_artifact_size_secret_detection`
| 0 |
|
`ci_max_artifact_size_terraform`
| 5 MB (
[
introduced
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/37018
)
in GitLab 13.3) |
...
...
spec/models/plan_limits_spec.rb
View file @
96906aa0
...
...
@@ -184,6 +184,7 @@ RSpec.describe PlanLimits do
ci_max_artifact_size_junit
ci_max_artifact_size_sast
ci_max_artifact_size_dast
ci_max_artifact_size_running_container_scanning
ci_max_artifact_size_codequality
ci_max_artifact_size_license_management
ci_max_artifact_size_performance
...
...
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