Commit 4cee49d6 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch '330713-add-running-container-scanning-size-liit' into 'master'

Add Running Container Scanning Max Size Limit

See merge request gitlab-org/gitlab!64222
parents ef221506 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
5dc0a4f91dc35b7720b20e89fa77374a0337c380b9234704e7d4143639e512f0
\ No newline at end of file
...@@ -16299,7 +16299,8 @@ CREATE TABLE plan_limits ( ...@@ -16299,7 +16299,8 @@ CREATE TABLE plan_limits (
ci_registered_group_runners integer DEFAULT 1000 NOT NULL, ci_registered_group_runners integer DEFAULT 1000 NOT NULL,
ci_registered_project_runners integer DEFAULT 1000 NOT NULL, ci_registered_project_runners integer DEFAULT 1000 NOT NULL,
web_hook_calls integer DEFAULT 0 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 CREATE SEQUENCE plan_limits_id_seq
...@@ -466,6 +466,7 @@ setting is used: ...@@ -466,6 +466,7 @@ setting is used:
| `ci_max_artifact_size_network_referee` | 0 | | `ci_max_artifact_size_network_referee` | 0 |
| `ci_max_artifact_size_performance` | 0 | | `ci_max_artifact_size_performance` | 0 |
| `ci_max_artifact_size_requirements` | 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_sast` | 0 |
| `ci_max_artifact_size_secret_detection` | 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) | | `ci_max_artifact_size_terraform` | 5 MB ([introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/37018) in GitLab 13.3) |
......
...@@ -184,6 +184,7 @@ RSpec.describe PlanLimits do ...@@ -184,6 +184,7 @@ RSpec.describe PlanLimits do
ci_max_artifact_size_junit ci_max_artifact_size_junit
ci_max_artifact_size_sast ci_max_artifact_size_sast
ci_max_artifact_size_dast ci_max_artifact_size_dast
ci_max_artifact_size_running_container_scanning
ci_max_artifact_size_codequality ci_max_artifact_size_codequality
ci_max_artifact_size_license_management ci_max_artifact_size_license_management
ci_max_artifact_size_performance ci_max_artifact_size_performance
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment