diff --git a/db/migrate/20240724083115_add_jacoco_coverage_report_plan_limit.rb b/db/migrate/20240724083115_add_jacoco_coverage_report_plan_limit.rb new file mode 100644 index 0000000000000000000000000000000000000000..430b04536309ba9fde3824c272e3d28cf6007674 --- /dev/null +++ b/db/migrate/20240724083115_add_jacoco_coverage_report_plan_limit.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddJacocoCoverageReportPlanLimit < Gitlab::Database::Migration[2.2] + milestone '17.3' + + def change + add_column :plan_limits, :ci_max_artifact_size_jacoco, :bigint, default: 0, null: false + end +end diff --git a/db/schema_migrations/20240724083115 b/db/schema_migrations/20240724083115 new file mode 100644 index 0000000000000000000000000000000000000000..c6b689c11dd4f32d7f27d8bce2e18403c38d9a59 --- /dev/null +++ b/db/schema_migrations/20240724083115 @@ -0,0 +1 @@ +00ab2cce899b12833dd3350602e4befe04e57ca7ed14fb3bf3308a066409d36e \ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index e936757c4d0051ecd4f26c886841a9b6a2143d28..880819e52e6ed3c218ce630b76e233baac78927f 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -15001,7 +15001,8 @@ CREATE TABLE plan_limits ( file_size_limit_mb double precision DEFAULT 100.0 NOT NULL, audit_events_amazon_s3_configurations integer DEFAULT 5 NOT NULL, ci_max_artifact_size_repository_xray bigint DEFAULT 1073741824 NOT NULL, - active_versioned_pages_deployments_limit_by_namespace integer DEFAULT 0 NOT NULL + active_versioned_pages_deployments_limit_by_namespace integer DEFAULT 0 NOT NULL, + ci_max_artifact_size_jacoco bigint DEFAULT 0 NOT NULL ); CREATE SEQUENCE plan_limits_id_seq diff --git a/spec/models/plan_limits_spec.rb b/spec/models/plan_limits_spec.rb index dbb10a36c561c3cb969f7f74b8287c51b528b8da..eef3f7c66e12b4ecd190237972b157089963e3f8 100644 --- a/spec/models/plan_limits_spec.rb +++ b/spec/models/plan_limits_spec.rb @@ -249,6 +249,7 @@ ci_max_artifact_size_coverage_fuzzing ci_max_artifact_size_api_fuzzing ci_max_artifact_size_annotations + ci_max_artifact_size_jacoco ] end