debian-mirror-gitlab/doc/integration/index.md

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

119 lines
4.2 KiB
Markdown
Raw Normal View History

2021-06-08 01:23:25 +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
2021-06-08 01:23:25 +05:30
comments: false
---
2023-04-23 21:23:45 +05:30
# Integrate with GitLab **(FREE)**
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
You can integrate GitLab with external services for enhanced functionality.
2021-06-08 01:23:25 +05:30
2022-11-25 23:54:43 +05:30
## Services
2023-03-04 22:38:38 +05:30
Services such as Campfire, Jira, Pivotal Tracker, and Slack
2023-01-13 00:05:48 +05:30
are available as [integrations](../user/project/integrations/index.md).
2022-11-25 23:54:43 +05:30
2021-06-08 01:23:25 +05:30
## Issue trackers
2023-01-13 00:05:48 +05:30
You can use an [external issue tracker](external-issue-tracker.md) with the GitLab
issue tracker or use an external issue tracker only.
2021-06-08 01:23:25 +05:30
## Authentication sources
2023-01-13 00:05:48 +05:30
You can integrate GitLab with the following authentication sources:
2021-06-08 01:23:25 +05:30
- Enable the [Auth0 OmniAuth](auth0.md) provider.
2023-01-13 00:05:48 +05:30
- Enable sign-in with [Bitbucket](bitbucket.md) accounts.
- Authenticate with [Kerberos](kerberos.md).
- Enable sign-in with [LDAP](../administration/auth/ldap/index.md).
- Enable creating [OAuth 2.0](oauth_provider.md) applications.
- Use [OmniAuth](omniauth.md) to enable sign-in through:
- Azure
- Bitbucket
- Crowd
- Facebook
- GitHub
- GitLab.com
- Google
- SAML
- Twitter
2021-06-08 01:23:25 +05:30
- Use GitLab as an [OpenID Connect](openid_connect_provider.md) identity provider.
2023-01-13 00:05:48 +05:30
- Authenticate with [Vault](vault.md) through GitLab OpenID Connect.
- Configure GitLab as a [SAML 2.0](saml.md) Service Provider.
2021-06-08 01:23:25 +05:30
## Security enhancements
2023-01-13 00:05:48 +05:30
You can integrate GitLab with the following security enhancements:
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
- [Akismet](akismet.md) to reduce spam.
- Google [reCAPTCHA](recaptcha.md) to verify new users.
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
GitLab also provides features to improve the security of your own application.
For more details, see [Secure your application](../user/application_security/index.md).
2021-06-08 01:23:25 +05:30
## Security partners
2023-01-13 00:05:48 +05:30
You can integrate GitLab with several security partners. For more information, see
[Security partner integrations](security_partners/index.md).
2021-06-08 01:23:25 +05:30
## Continuous integration
2023-01-13 00:05:48 +05:30
You can integrate GitLab with the following external services for continuous integration:
2021-06-08 01:23:25 +05:30
- [Jenkins](jenkins.md) CI.
2023-01-13 00:05:48 +05:30
- [Datadog](datadog.md) to monitor for CI/CD job failures and performance issues.
2021-06-08 01:23:25 +05:30
## Feature enhancements
2023-01-13 00:05:48 +05:30
You can integrate GitLab with the following feature enhancements:
2021-06-08 01:23:25 +05:30
- Add GitLab actions to [Gmail actions buttons](gmail_action_buttons_for_gitlab.md).
- Configure [PlantUML](../administration/integration/plantuml.md)
or [Kroki](../administration/integration/kroki.md) to use diagrams in AsciiDoc and Markdown documents.
- Attach merge requests to [Trello](trello_power_up.md) cards.
- Enable integrated code intelligence powered by [Sourcegraph](sourcegraph.md).
2023-05-27 22:25:52 +05:30
- Add [Elasticsearch](advanced_search/elasticsearch.md) for [advanced search](../user/search/advanced_search.md).
2021-06-08 01:23:25 +05:30
## Troubleshooting
### SSL certificate errors
2023-01-13 00:05:48 +05:30
When integrating GitLab with services using a self-signed certificate, you might
encounter SSL certificate errors in different parts of the application.
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
As a workaround, you can do one of the following:
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
- Add the certificate to the OS trusted chain. See:
- [Adding trusted root certificates to the server](https://manuals.gfi.com/en/kerio/connect/content/server-configuration/ssl-certificates/adding-trusted-root-certificates-to-the-server-1605.html)
- [How do you add a certificate authority (CA) to Ubuntu?](https://superuser.com/questions/437330/how-do-you-add-a-certificate-authority-ca-to-ubuntu)
- In Omnibus GitLab, add the certificate to the Omnibus trusted chain:
1. [Install the self-signed certificate](https://docs.gitlab.com/omnibus/settings/ssl.html#install-custom-public-certificates).
1. Concatenate the self-signed certificate with the GitLab trusted certificate.
The self-signed certificate might be overwritten during upgrades.
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
```shell
cat jira.pem >> /opt/gitlab/embedded/ssl/certs/cacert.pem
```
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
1. Restart GitLab.
2021-06-08 01:23:25 +05:30
2023-01-13 00:05:48 +05:30
```shell
sudo gitlab-ctl restart
```
2022-07-23 23:45:48 +05:30
### Search Sidekiq logs in Kibana
To locate a specific integration in Kibana, use the following KQL search string:
```plaintext
`json.integration_class.keyword : "Integrations::Jira" and json.project_path : "path/to/project"`
```
2023-01-13 00:05:48 +05:30
You can find information in:
- `json.exception.backtrace`
- `json.exception.class`
- `json.exception.message`
- `json.message`