You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When `.spec.type` is set to `gitlab`, the referenced secret must contain a key called `token` with the value set to a
1550
-
[GitLab personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html).
1550
+
[GitLab personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html). If available group and project access tokens can also be used.
1551
1551
1552
-
The token must have permissions to update the commit status for the GitLab repository specified in `.spec.address`.
1552
+
The token must have permissions to update the commit status for the GitLab repository specified in `.spec.address` (grant it the `api` scope).
1553
1553
1554
1554
You can create the secret with `kubectl` like this:
For gitlab.com and current self-hosted gitlab installations that support only the Gitlab v4 API you need to use the project ID in the address instead of the project name.
1561
+
Use an address like `https://gitlab.com/1234` (with `1234` being the project ID).
1562
+
You can find out the ID by opening the project in the browser and clicking on the three dot button in the top right corner. The menu that opens shows the project ID.
1563
+
1560
1564
#### Gitea
1561
1565
1562
1566
When `.spec.type` is set to `gitea`, the referenced secret must contain a key called `token` with the value set to a
0 commit comments