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

75 lines
3.4 KiB
Markdown
Raw Normal View History

2020-11-24 15:15:51 +05:30
---
type: reference, how-to
stage: Create
2023-06-20 00:43:36 +05:30
group: IDE
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-11-24 15:15:51 +05:30
---
2023-04-23 21:23:45 +05:30
# Gitpod **(FREE)**
2020-11-24 15:15:51 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/228893) in GitLab 13.4.
2021-03-08 18:12:59 +05:30
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/258206) in GitLab 13.8
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
With [Gitpod](https://www.gitpod.io/), you can describe your development environment as code to get fully
2021-03-11 19:13:27 +05:30
set up, compiled, and tested development environments for any GitLab project. The development
environments are not only automated but also prebuilt which means that Gitpod continuously builds
your Git branches like a CI/CD server.
2020-11-24 15:15:51 +05:30
2021-03-11 19:13:27 +05:30
This means you don't have to wait for dependencies to be downloaded and builds to finish, you can start
coding immediately. With Gitpod you can start coding instantly on any project, branch, and merge
2021-10-27 15:23:28 +05:30
request from any device, at any time, from your browser:
![Gitpod interface](img/gitpod_web_interface_v13_4.png)
2020-11-24 15:15:51 +05:30
2021-03-11 19:13:27 +05:30
To use the GitLab Gitpod integration, it must be enabled for your GitLab instance. Users of:
2020-11-24 15:15:51 +05:30
2021-03-11 19:13:27 +05:30
- GitLab.com can use it immediately after it's [enabled in their user settings](#enable-gitpod-in-your-user-settings).
- GitLab self-managed instances can use it after:
1. It's [enabled and configured by a GitLab administrator](#configure-a-self-managed-instance).
1. It's [enabled in their user settings](#enable-gitpod-in-your-user-settings).
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
For more information about Gitpod, see the Gitpod [features](https://www.gitpod.io/) and
2020-11-24 15:15:51 +05:30
[documentation](https://www.gitpod.io/docs/).
2021-03-11 19:13:27 +05:30
## Enable Gitpod in your user settings
With the Gitpod integration enabled for your GitLab instance, to enable it for yourself:
2023-04-23 21:23:45 +05:30
1. In the upper-right corner, select your avatar.
2021-04-17 20:07:23 +05:30
1. Select **Preferences**.
1. Under **Preferences**, locate the **Integrations** section.
2022-01-26 12:08:38 +05:30
1. Select the **Enable Gitpod integration** checkbox and select **Save changes**.
2020-11-24 15:15:51 +05:30
2021-03-11 19:13:27 +05:30
## Configure a self-managed instance **(FREE SELF)**
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
For self-managed GitLab instances, a GitLab administrator must:
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
1. Enable the Gitpod integration in GitLab:
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 > General**.
2021-03-11 19:13:27 +05:30
1. Expand the **Gitpod** configuration section.
2022-01-26 12:08:38 +05:30
1. Select the **Enable Gitpod integration** checkbox.
2023-04-23 21:23:45 +05:30
1. Enter the Gitpod instance URL (for example, `https://gitpod.example.com` or `https://gitpod.io`).
2022-01-26 12:08:38 +05:30
1. Select **Save changes**.
2023-04-23 21:23:45 +05:30
1. Register the self-managed GitLab instance in Gitpod. For more information, see the [Gitpod documentation](https://www.gitpod.io/docs/configure/authentication/gitlab#registering-a-self-hosted-gitlab-installation).
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
GitLab users can then [enable the Gitpod integration for themselves](#enable-gitpod-in-your-user-settings).
2021-03-08 18:12:59 +05:30
2021-03-11 19:13:27 +05:30
## Launch Gitpod in GitLab
2020-11-24 15:15:51 +05:30
2021-10-27 15:23:28 +05:30
You can launch Gitpod directly from GitLab in one of these ways:
2021-03-11 19:13:27 +05:30
2021-10-27 15:23:28 +05:30
- *From your project's page:*
2022-07-16 23:28:13 +05:30
1. Go to your project, then go to the page you want to edit.
2022-07-23 23:45:48 +05:30
1. Select the caret (**{chevron-lg-down}**) next to **Web IDE**, and select **Gitpod**
2021-10-27 15:23:28 +05:30
from the list:
2021-03-11 19:13:27 +05:30
2021-10-27 15:23:28 +05:30
![Gitpod Button on Project Page](img/gitpod_button_project_page_v13_4.png)
2021-03-11 19:13:27 +05:30
2021-10-27 15:23:28 +05:30
1. Select **Open in Gitpod**.
- *From a merge request:*
2022-07-16 23:28:13 +05:30
1. Go to your merge request.
2023-05-27 22:25:52 +05:30
1. In the upper-right corner, select **Code**, then select **Open in Gitpod**.
2021-10-27 15:23:28 +05:30
Gitpod builds your development environment for your branch.