Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2021-12-09 03:13:31 +00:00
parent 386339e38e
commit 97b58a8a76
9 changed files with 54 additions and 16 deletions

View file

@ -59,6 +59,7 @@ module Emails
def prometheus_alert_fired_email(project, user, alert) def prometheus_alert_fired_email(project, user, alert)
@project = project @project = project
@alert = alert.present @alert = alert.present
@incident = alert.issue
add_project_headers add_project_headers
add_alert_headers add_alert_headers
@ -80,11 +81,10 @@ module Emails
end end
def add_incident_headers def add_incident_headers
incident = @alert.issue return unless @incident
return unless incident
headers['X-GitLab-Incident-ID'] = incident.id headers['X-GitLab-Incident-ID'] = @incident.id
headers['X-GitLab-Incident-IID'] = incident.iid headers['X-GitLab-Incident-IID'] = @incident.iid
end end
end end
end end

View file

@ -0,0 +1,8 @@
---
name: incident_escalations
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74337
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/345769
milestone: '14.6'
type: development
group: group::monitor
default_enabled: false

View file

@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/340915
milestone: '14.4' milestone: '14.4'
type: development type: development
group: group::container security group: group::container security
default_enabled: false default_enabled: true

View file

@ -205,6 +205,8 @@
- 1 - 1
- - incident_management_pending_escalations_alert_create - - incident_management_pending_escalations_alert_create
- 1 - 1
- - incident_management_pending_escalations_issue_check
- 1
- - integrations_create_external_cross_reference - - integrations_create_external_cross_reference
- 1 - 1
- - invalid_gpg_signature_update - - invalid_gpg_signature_update

View file

@ -855,7 +855,8 @@ The default maximum file size for a package that's uploaded to the [GitLab Packa
- PyPI: 3 GB - PyPI: 3 GB
- Terraform: 1 GB - Terraform: 1 GB
The [maximum file sizes on GitLab.com](../user/gitlab_com/index.md) might be different. The [maximum file sizes on GitLab.com](../user/gitlab_com/index.md#package-registry-limits)
might be different.
To set these limits for a self-managed installation, run the following in the To set these limits for a self-managed installation, run the following in the
[GitLab Rails console](operations/rails_console.md#starting-a-rails-console-session): [GitLab Rails console](operations/rails_console.md#starting-a-rails-console-session):

View file

@ -806,6 +806,10 @@ Example of response
} }
``` ```
NOTE:
You can't delete archived jobs with the API, but you can
[delete job artifacts and logs from jobs completed before a specific date](../administration/job_artifacts.md#delete-job-artifacts-and-logs-from-jobs-completed-before-a-specific-date)
## Play a job ## Play a job
Triggers a manual action to start a job. Triggers a manual action to start a job.

View file

@ -149,16 +149,16 @@ The [maximum file size](../../administration/instance_limits.md#file-size-limits
for a package uploaded to the [GitLab Package Registry](../../user/packages/package_registry/index.md) for a package uploaded to the [GitLab Package Registry](../../user/packages/package_registry/index.md)
varies by format: varies by format:
| Package type | GitLab.com | Default | | Package type | GitLab.com |
|--------------|------------|---------| |--------------|------------|
| Conan | 5 GB | 3 GB | | Conan | 5 GB |
| Generic | 5 GB | 5 GB | | Generic | 5 GB |
| Helm | 5 MB | 5 MB | | Helm | 5 MB |
| Maven | 5 GB | 3 GB | | Maven | 5 GB |
| npm: | 5 GB | 500 MB | | npm: | 5 GB |
| NuGet | 5 GB | 500 MB | | NuGet | 5 GB |
| PyPI | 5 GB | 3 GB | | PyPI | 5 GB |
| Terraform | 1 GB | 1 GB | | Terraform | 1 GB |
## Account and limit settings ## Account and limit settings

View file

@ -349,6 +349,11 @@ Ensure your SAML identity provider sends an attribute statement named `Groups` o
</saml:AttributeStatement> </saml:AttributeStatement>
``` ```
Other attribute names such as `http://schemas.microsoft.com/ws/2008/06/identity/claims/groups`
are not accepted as a source of groups.
See the [SAML troubleshooting page](../../../administration/troubleshooting/group_saml_scim.md)
for examples on configuring the required attribute name in the SAML identity provider's settings.
NOTE: NOTE:
The value for `Groups` or `groups` in the SAML response can be either the group name or the group ID. The value for `Groups` or `groups` in the SAML response can be either the group name or the group ID.
To inspect the SAML response, you can use one of these [SAML debugging tools](#saml-debugging-tools). To inspect the SAML response, you can use one of these [SAML debugging tools](#saml-debugging-tools).

View file

@ -3991,6 +3991,12 @@ msgstr ""
msgid "An example showing how to use Jsonnet with GitLab dynamic child pipelines" msgid "An example showing how to use Jsonnet with GitLab dynamic child pipelines"
msgstr "" msgstr ""
msgid "An incident has been resolved in %{project_path}."
msgstr ""
msgid "An incident has been triggered in %{project_path}."
msgstr ""
msgid "An integer value is required for seconds" msgid "An integer value is required for seconds"
msgstr "" msgstr ""
@ -13930,6 +13936,9 @@ msgstr ""
msgid "Escalation policies must have at least one rule" msgid "Escalation policies must have at least one rule"
msgstr "" msgstr ""
msgid "Escalation policy:"
msgstr ""
msgid "EscalationPolicies|%{clockIcon} IF alert is not %{alertStatus} in %{minutes}" msgid "EscalationPolicies|%{clockIcon} IF alert is not %{alertStatus} in %{minutes}"
msgstr "" msgstr ""
@ -22246,6 +22255,9 @@ msgstr ""
msgid "Metrics and profiling" msgid "Metrics and profiling"
msgstr "" msgstr ""
msgid "Metrics:"
msgstr ""
msgid "MetricsDashboardAnnotation|Annotation can't belong to both a cluster and an environment at the same time" msgid "MetricsDashboardAnnotation|Annotation can't belong to both a cluster and an environment at the same time"
msgstr "" msgstr ""
@ -38616,6 +38628,12 @@ msgstr ""
msgid "View group labels" msgid "View group labels"
msgstr "" msgstr ""
msgid "View incident details at"
msgstr ""
msgid "View incident details."
msgstr ""
msgid "View incident issues." msgid "View incident issues."
msgstr "" msgstr ""