diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
commit | db384e6b19af03b4c3c82a5760d83a3fd79f7982 (patch) | |
tree | 34beaef37df5f47ccbcf5729d7583aae093cffa0 /doc/administration/instance_limits.md | |
parent | 54fd7b1bad233e3944434da91d257fa7f63c3996 (diff) |
Add latest changes from gitlab-org/gitlab@16-3-stable-eev16.3.0-rc42
Diffstat (limited to 'doc/administration/instance_limits.md')
-rw-r--r-- | doc/administration/instance_limits.md | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/administration/instance_limits.md b/doc/administration/instance_limits.md index 679042c3114..34f6da1d01d 100644 --- a/doc/administration/instance_limits.md +++ b/doc/administration/instance_limits.md @@ -760,6 +760,26 @@ You can change these limits in the [GitLab Rails console](operations/rails_conso ApplicationSetting.update(max_yaml_depth: 125) ``` +### Maximum size of the entire CI/CD configuration + +The maximum amount of memory, in bytes, that can be allocated for the full pipeline configuration, +with all included YAML configuration files. + +For new self-managed instances, the default is `157286400` bytes (150 MB). + +For existing self-managed instances that upgrade to GitLab 16.3 or later, the default is calculated +by multiplying [`max_yaml_size_bytes` (default 1 MB)](#maximum-size-and-depth-of-cicd-configuration-yaml-files) +with [`ci_max_includes` (default 150)](../api/settings.md#list-of-settings-that-can-be-accessed-via-api-calls). +If both limits are unmodified, the default is set to 1 MB x 150 = `157286400` bytes (150 MB). + +You can change this limit via the [GitLab Rails console](operations/rails_console.md#starting-a-rails-console-session). +To update the maximum memory that can be allocated for the CI/CD configuration, +update `ci_max_total_yaml_size_bytes` with the new value. For example, to set it to 20 MB: + +```ruby +ApplicationSetting.update(ci_max_total_yaml_size_bytes: 20.megabytes) +``` + ### Limit dotenv variables > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/321552) in GitLab 14.5. @@ -840,7 +860,7 @@ panel_groups: label: Legend Label ``` -## Environment Dashboard limits **(PREMIUM)** +## Environment Dashboard limits **(PREMIUM ALL)** See [Environment Dashboard](../ci/environments/environments_dashboard.md#adding-a-project-to-the-dashboard) for the maximum number of displayed projects. |