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
eab9e1fb
Commit
eab9e1fb
authored
Aug 04, 2020
by
Tetiana Chupryna
Committed by
Mayra Cabrera
Aug 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update size limits for SCA artifacts
parent
27d7f3d8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
6 deletions
+30
-6
changelogs/unreleased/220398-default-sizes-for-sca.yml
changelogs/unreleased/220398-default-sizes-for-sca.yml
+5
-0
db/migrate/20200727142337_update_defaults_for_sca_artifacts.rb
...grate/20200727142337_update_defaults_for_sca_artifacts.rb
+21
-0
db/schema_migrations/20200727142337
db/schema_migrations/20200727142337
+1
-0
db/structure.sql
db/structure.sql
+3
-3
spec/models/plan_limits_spec.rb
spec/models/plan_limits_spec.rb
+0
-3
No files found.
changelogs/unreleased/220398-default-sizes-for-sca.yml
0 → 100644
View file @
eab9e1fb
---
title
:
Update size limits for SCA artifacts
merge_request
:
37975
author
:
type
:
changed
db/migrate/20200727142337_update_defaults_for_sca_artifacts.rb
0 → 100644
View file @
eab9e1fb
# frozen_string_literal: true
class
UpdateDefaultsForScaArtifacts
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
DEPENDENCY_SCANNING_LIMIT_MB
=
350
CONTAINER_SCANNING_LIMIT_MB
=
150
LICENSE_SCANNING_LIMIT_MB
=
100
def
up
change_column_default
:plan_limits
,
:ci_max_artifact_size_dependency_scanning
,
DEPENDENCY_SCANNING_LIMIT_MB
change_column_default
:plan_limits
,
:ci_max_artifact_size_container_scanning
,
CONTAINER_SCANNING_LIMIT_MB
change_column_default
:plan_limits
,
:ci_max_artifact_size_license_scanning
,
LICENSE_SCANNING_LIMIT_MB
end
def
down
change_column_default
:plan_limits
,
:ci_max_artifact_size_dependency_scanning
,
0
change_column_default
:plan_limits
,
:ci_max_artifact_size_container_scanning
,
0
change_column_default
:plan_limits
,
:ci_max_artifact_size_license_scanning
,
0
end
end
db/schema_migrations/20200727142337
0 → 100644
View file @
eab9e1fb
cc88f907caed6045ff2d8b0663a4b64e9d2633f213ffa85274b84c80eb32b94e
\ No newline at end of file
db/structure.sql
View file @
eab9e1fb
...
...
@@ -14007,12 +14007,12 @@ CREATE TABLE public.plan_limits (
ci_max_artifact_size_trace
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_junit
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_sast
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_dependency_scanning
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_container_scanning
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_dependency_scanning
integer
DEFAULT
35
0
NOT
NULL
,
ci_max_artifact_size_container_scanning
integer
DEFAULT
15
0
NOT
NULL
,
ci_max_artifact_size_dast
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_codequality
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_license_management
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_license_scanning
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_license_scanning
integer
DEFAULT
10
0
NOT
NULL
,
ci_max_artifact_size_performance
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_metrics
integer
DEFAULT
0
NOT
NULL
,
ci_max_artifact_size_metrics_referee
integer
DEFAULT
0
NOT
NULL
,
...
...
spec/models/plan_limits_spec.rb
View file @
eab9e1fb
...
...
@@ -183,12 +183,9 @@ RSpec.describe PlanLimits do
ci_max_artifact_size_trace
ci_max_artifact_size_junit
ci_max_artifact_size_sast
ci_max_artifact_size_dependency_scanning
ci_max_artifact_size_container_scanning
ci_max_artifact_size_dast
ci_max_artifact_size_codequality
ci_max_artifact_size_license_management
ci_max_artifact_size_license_scanning
ci_max_artifact_size_performance
ci_max_artifact_size_browser_performance
ci_max_artifact_size_load_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