debian-mirror-gitlab/doc/user/admin_area/settings/project_integration_management.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

136 lines
6.7 KiB
Markdown
Raw Normal View History

2020-10-24 23:57:45 +05:30
---
2022-11-25 23:54:43 +05:30
stage: Manage
2021-10-27 15:23:28 +05:30
group: Integrations
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2020-10-24 23:57:45 +05:30
---
2021-04-17 20:07:23 +05:30
# Project integration management **(FREE)**
2020-10-24 23:57:45 +05:30
2021-01-03 14:25:43 +05:30
Project integrations can be configured and enabled by project administrators. As a GitLab instance
administrator, you can set default configuration parameters for a given integration that all projects
2021-01-29 00:20:46 +05:30
can inherit and use, enabling the integration for all projects that are not already using custom
2021-01-03 14:25:43 +05:30
settings.
2020-10-24 23:57:45 +05:30
2021-01-03 14:25:43 +05:30
You can update these default settings at any time, changing the settings used for all projects that
2021-01-29 00:20:46 +05:30
are set to use instance-level or group-level defaults. Updating the default settings also enables the integration
2021-01-03 14:25:43 +05:30
for all projects that didn't have it already enabled.
2020-10-24 23:57:45 +05:30
2021-01-29 00:20:46 +05:30
Only the complete settings for an integration can be inherited. Per-field inheritance is [planned](https://gitlab.com/groups/gitlab-org/-/epics/2137).
2020-10-24 23:57:45 +05:30
2021-03-11 19:13:27 +05:30
## Manage instance-level default settings for a project integration **(FREE SELF)**
2020-10-24 23:57:45 +05:30
2021-01-29 00:20:46 +05:30
> - [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/2137) in GitLab 13.3 for project-level integrations.
> - [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/2543) in GitLab 13.6 for group-level integrations.
2020-10-24 23:57:45 +05:30
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2021-11-11 11:23:49 +05:30
1. On the left sidebar, select **Settings > Integrations**.
2021-01-29 00:20:46 +05:30
1. Select an integration.
2022-07-23 23:45:48 +05:30
1. Enter configuration details and select **Save changes**.
2020-10-24 23:57:45 +05:30
2021-02-22 17:27:13 +05:30
WARNING:
2021-01-29 00:20:46 +05:30
This may affect all or most of the groups and projects on your GitLab instance. Please review the details
2021-01-03 14:25:43 +05:30
below.
2020-10-24 23:57:45 +05:30
If this is the first time you are setting up instance-level settings for an integration:
2021-01-29 00:20:46 +05:30
- The integration is enabled for all groups and projects that don't already have this integration configured,
2021-01-03 14:25:43 +05:30
if you have the **Enable integration** toggle turned on in the instance-level settings.
2021-01-29 00:20:46 +05:30
- Groups and projects that already have the integration configured are not affected, but can choose to use the
2021-01-03 14:25:43 +05:30
inherited settings at any time.
2020-10-24 23:57:45 +05:30
When you make further changes to the instance defaults:
2021-01-29 00:20:46 +05:30
- They are immediately applied to all groups and projects that have the integration set to use default settings.
2021-04-29 21:17:54 +05:30
- They are immediately applied to newer groups and projects, created after you last saved defaults for the
2021-01-03 14:25:43 +05:30
integration. If your instance-level default setting has the **Enable integration** toggle turned
2021-01-29 00:20:46 +05:30
on, the integration is automatically enabled for all such groups and projects.
- Groups and projects with custom settings selected for the integration are not immediately affected and may
2021-01-03 14:25:43 +05:30
choose to use the latest defaults at any time.
2020-10-24 23:57:45 +05:30
2021-01-03 14:25:43 +05:30
Only the complete settings for an integration can be inherited. Per-field inheritance
is [planned](https://gitlab.com/groups/gitlab-org/-/epics/2137). This would allow
2021-01-29 00:20:46 +05:30
administrators to update settings inherited by groups and projects without enabling the
integration on all non-configured groups and projects by default.
2020-10-24 23:57:45 +05:30
2021-03-08 18:12:59 +05:30
### Remove an instance-level default setting
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2021-11-11 11:23:49 +05:30
1. On the left sidebar, select **Settings > Integrations**.
2021-03-08 18:12:59 +05:30
1. Select an integration.
2022-07-23 23:45:48 +05:30
1. Select **Reset** and confirm.
2021-03-08 18:12:59 +05:30
Resetting an instance-level default setting removes the integration from all projects that have the integration set to use default settings.
2021-10-27 15:23:28 +05:30
### View projects that override the default settings
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/218252) in GitLab 14.2.
You can view which projects in your instance use custom settings that [override the instance-level default settings](#use-custom-settings-for-a-group-or-project-integration)
for an integration.
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2021-11-11 11:23:49 +05:30
1. On the left sidebar, select **Settings > Integrations**.
2021-10-27 15:23:28 +05:30
1. Select an integration.
1. Select the **Projects using custom settings** tab.
2021-01-29 00:20:46 +05:30
## Manage group-level default settings for a project integration
> [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/2543) in GitLab 13.6.
1. Navigate to the group's **Settings > Integrations**.
1. Select an integration.
2022-07-23 23:45:48 +05:30
1. Enter configuration details and select **Save changes**.
2021-01-29 00:20:46 +05:30
2021-02-22 17:27:13 +05:30
WARNING:
2021-01-29 00:20:46 +05:30
This may affect all or most of the subgroups and projects belonging to the group. Please review the details below.
If this is the first time you are setting up group-level settings for an integration:
- The integration is enabled for all subgroups and projects belonging to the group that don't already have
this integration configured, if you have the **Enable integration** toggle turned on in the group-level
settings.
- Subgroups and projects that already have the integration configured are not affected, but can choose to use
the inherited settings at any time.
When you make further changes to the group defaults:
- They are immediately applied to all subgroups and projects belonging to the group that have the integration
set to use default settings.
2021-04-29 21:17:54 +05:30
- They are immediately applied to newer subgroups and projects, even those created after you last saved defaults for the
2021-01-29 00:20:46 +05:30
integration. If your group-level default setting has the **Enable integration** toggle turned on,
the integration is automatically enabled for all such subgroups and projects.
- Subgroups and projects with custom settings selected for the integration are not immediately affected and
may choose to use the latest defaults at any time.
Only the complete settings for an integration can be inherited. Per-field inheritance
is [planned](https://gitlab.com/groups/gitlab-org/-/epics/2137). This would allow
administrators to update settings inherited by subgroups and projects without enabling the
integration on all non-configured groups and projects by default.
2021-03-08 18:12:59 +05:30
### Remove a group-level default setting
1. Navigate to the group's **Settings > Integrations**.
1. Select an integration.
2022-07-23 23:45:48 +05:30
1. Select **Reset** and confirm.
2021-03-08 18:12:59 +05:30
Resetting a group-level default setting removes integrations that use default settings and belong to a project or subgroup of the group.
2021-01-29 00:20:46 +05:30
## Use instance-level or group-level default settings for a project integration
> [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/2543) in GitLab 13.6 for group-level settings.
2020-10-24 23:57:45 +05:30
1. Navigate to **Project > Settings > Integrations**.
1. Choose the integration you want to enable or update.
2022-11-25 23:54:43 +05:30
1. From the dropdown list, select **Use default settings**.
2020-10-24 23:57:45 +05:30
1. Ensure the toggle is set to **Enable integration**.
2022-07-23 23:45:48 +05:30
1. Select **Save changes**.
2020-10-24 23:57:45 +05:30
2021-01-29 00:20:46 +05:30
## Use custom settings for a group or project integration
2020-10-24 23:57:45 +05:30
2021-01-29 00:20:46 +05:30
1. Navigate to project or group's **Settings > Integrations**.
2020-10-24 23:57:45 +05:30
1. Choose the integration you want to enable or update.
2022-11-25 23:54:43 +05:30
1. From the dropdown list, select **Use custom settings**.
2020-10-24 23:57:45 +05:30
1. Ensure the toggle is set to **Enable integration** and enter all required settings.
2022-07-23 23:45:48 +05:30
1. Select **Save changes**.