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
Copy file name to clipboardExpand all lines: jekyll/_cci2/gitlab-vcs-support.adoc
+37-37Lines changed: 37 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Welcome to the GitLab VCS Support Preview
19
19
20
20
We are excited to offer a preview of GitLab VCS support. While we are proud of what we have built so far, we are iterating to improve known performance issues. At this time, we recommend not using GitLab for production of critical work.
21
21
22
-
Try it and tell us what you think. We would appreciate your feedback as we continue to iterate towards a seamless and stable experience.
22
+
Try it and tell us what you think. We would appreciate your feedback as we continue to iterate towards a seamless and stable experience.
@@ -35,7 +35,7 @@ GitLab support preview is open to both new and existing users of CircleCI. See t
35
35
36
36
. https://circleci.com/signup/[Sign up for CircleCI] using the **Sign up with Email** option (you will also create a password).
37
37
38
-
. After you set an email and password, you will be taken to a screen with the option to connect GitLab, GitHub, or Bitbucket. Click **Connect** for GitLab.
38
+
. After you set an email and password, you will be taken to a screen with the option to connect GitLab, GitHub, or Bitbucket. Click **Connect** for GitLab.
39
39
+
40
40
NOTE: If you choose to also connect your GitHub or Bitbucket accounts with your new account, your accounts will be merged based on the VCS account name that you used.
41
41
@@ -48,7 +48,7 @@ After you successfully create a new organization, you will be taken to the web a
=== Current CircleCI users: Create a new organization
50
50
51
-
. Log in to the https://app.circleci.com/[CircleCI web app].
51
+
. Log in to the https://app.circleci.com/[CircleCI web app].
52
52
53
53
. Click on your organization name to open the organization switcher on the top left. Select **Create New Organization**.
54
54
@@ -65,19 +65,19 @@ NOTE: Existing CircleCI users can also opt to sign up via email and password. If
65
65
[#step-two-create-new-project]
66
66
== Step two - Create a new project
67
67
68
-
You will need API access and write permissions on the repository you want to set up. Within GitLab, this is the “maintainer” role or higher.
68
+
You will need API access and write permissions on the repository you want to set up. Within GitLab, this is the “maintainer” role or higher.
69
69
70
70
If you use an access token as described in the steps below, you need to select the `api` and `write_permissions` scopes.
71
71
72
-
. In the CircleCI web app, navigate to **Projects**, then click the **Create Project** button.
72
+
. In the CircleCI web app, navigate to **Projects**, then click the **Create Project** button.
73
73
74
-
. Enter a name for your project.
74
+
. Enter a name for your project.
75
75
76
-
. Under **Code Source**, you have the option to connect to GitLab via **OAuth**, or using an **access token**. You must choose one.
76
+
. Under **Code Source**, you have the option to connect to GitLab via **OAuth**, or using an **access token**. You must choose one.
77
77
+
78
78
NOTE: At this time, GitLab users on the Free tier should only use personal access tokens when setting up projects in CircleCI. See <<#gitlab-oauth-for-free-plans,Known issues>> below for more details.
79
79
+
80
-
**To connect to GitLab via OAuth:** click the **Connect** button. A browser window will open and direct you to GitLab's sign-in page. Once you have authenticated in GitLab, you will be redirected back to the Create New Project window in CircleCI.
80
+
**To connect to GitLab via OAuth:** click the **Connect** button. A browser window will open and direct you to GitLab's sign-in page. Once you have authenticated in GitLab, you will be redirected back to the Create New Project window in CircleCI.
81
81
+
82
82
NOTE: It may take a second OAuth attempt to successfully connnect.
. Select the repository you wish to set up, then click **Create Project**.
95
95
96
-
Behind the scenes, CircleCI is registering a webhook within your GitLab repository. You may verify this once you have successfully created the project by navigating to your repository's Settings > Webhooks page.
96
+
Behind the scenes, CircleCI is registering a webhook within your GitLab repository. You may verify this once you have successfully created the project by navigating to your repository's Settings > Webhooks page.
97
97
98
98
[#step-three-trigger-pipeline]
99
99
== Step three - Trigger a project pipeline in CircleCI
100
100
101
-
At this time, setting up a new GitLab project does not automatically trigger a pipeline. Adding or editing a CircleCI configuration within the CircleCI web app is also not currently available.
101
+
At this time, setting up a new GitLab project does not automatically trigger a pipeline. Adding or editing a CircleCI configuration within the CircleCI web app is also not currently available.
102
102
103
-
. If you have not already done so, create a `.circleci` directory at the root of your GitLab repository, and add a `config.yml` file in that directory.
103
+
. If you have not already done so, create a `.circleci` directory at the root of your GitLab repository, and add a `config.yml` file in that directory.
104
104
+
105
105
NOTE: If you are new to CircleCI, you may wish to get started with our <<hello-world#echo-hello-world-on-linux#,Hello World>> example, or take a look at some of our <<sample-config#,sample configurations>>. The <<configuration-reference#,Configuring CircleCI>> document is a full reference to the keys used in a `.circleci/config.yml` file.
Unlike GitHub or Bitbucket projects, the GitLab support preview introduces the concept of "standalone" projects that are not specific to a VCS.
114
+
Unlike GitHub or Bitbucket projects, the GitLab support preview introduces the concept of "standalone" projects that are not specific to a VCS.
115
115
116
-
A project can have one or more **configurations** which are pipeline definitions, including, but not limited to, a `.circleci/config.yml` file in your repo.
116
+
A project can have one or more **configurations** which are pipeline definitions, including, but not limited to, a `.circleci/config.yml` file in your repo.
117
117
118
-
A project can have one or more **triggers**, which are events from a source of change, including, but not limited to, a VCS. A trigger determines which configuration it should use to start a pipeline.
118
+
A project can have one or more **triggers**, which are events from a source of change, including, but not limited to, a VCS. A trigger determines which configuration it should use to start a pipeline.
119
119
120
120
The following settings are found by clicking the **Project Settings** button within your project. At this time, both configurations and triggers are limited to GitLab. To read more about other settings you can enable for your projects, refer to the <<settings#,Settings>> document.
121
121
@@ -136,7 +136,7 @@ Add a trigger that specifies which configuration source starts a pipeline. If yo
Triggers and trigger rules determine how CircleCI handles events from the source of change, in this case, GitLab.
139
+
Triggers and trigger rules determine how CircleCI handles events from the source of change, in this case, GitLab.
140
140
141
141
When a trigger is created, CircleCI registers a webhook with GitLab. Push events from GitLab are sent to CircleCI. CircleCI then uses the event data to determine _if_ a pipeline should run, and if so, _which_ pipeline should be run.
142
142
@@ -165,18 +165,18 @@ When creating a project, an SSH key is created which is used to checkout code fr
165
165
[#organization-settings]
166
166
== Organization settings
167
167
168
-
The GitLab preview also introduces the concept of "standalone" organizations, which are not tied to a VCS.
168
+
The GitLab preview also introduces the concept of "standalone" organizations, which are not tied to a VCS.
169
169
170
-
A standalone organization allows for managing users and projects independent of the VCS. Organizations as well as users are considered CircleCI organizations and users, with their own roles and permissions that do not rely on those defined in a VCS.
170
+
A standalone organization allows for managing users and projects independent of the VCS. Organizations as well as users are considered CircleCI organizations and users, with their own roles and permissions that do not rely on those defined in a VCS.
171
171
172
172
To manage settings on the organization level, click the **Organization Settings** button within the CircleCI web app. More general information on organization settings in CircleCI can be found in the <<settings#,Settings>> document.
173
173
174
174
[#organization-settings-people]
175
175
=== People
176
176
177
-
Add or remove users, and manage user roles for the organization as well as user invites.
177
+
Add or remove users, and manage user roles for the organization as well as user invites.
178
178
179
-
NOTE: You must have at least one org administrator. If you try to remove the last org administrator, you will get an error.
179
+
NOTE: You must have at least one org administrator. If you try to remove the last org administrator, you will get an error.
. Enter the email address of the user you wish to invite, and select the appropriate role. You may enter multiple addresses at once, if you wish to assign these users the same role.
190
+
. Enter the email address of the user you wish to invite, and select the appropriate role. You may enter multiple addresses at once, if you wish to assign these users the same role.
191
191
+
192
192
Organization administrator as well as organization contributor roles are currently available. Project-specific roles will be coming soon. For more information on roles and permissions, refer to the <<#about-roles-and-permissions,next section>>.
193
193
194
194
. An invited user will receive an email notification (sent from `[email protected]`), containing a link to accept the invite.
195
195
+
196
-
If they do not currently have a CircleCI account, they will need to sign up. If they already have a CircleCI account, they are added to the organization, and if they are logged in, they will see the organization as an option in the organization switcher in the top left corner of the web app.
196
+
If they do not currently have a CircleCI account, they will need to sign up. If they already have a CircleCI account, they are added to the organization, and if they are logged in, they will see the organization as an option in the organization switcher in the top left corner of the web app.
197
197
198
198
[#about-roles-and-permissions]
199
199
==== About roles and permissions
200
200
201
201
CircleCI users have different abilities depending on assigned roles in a particular organization.
202
202
203
-
Your CircleCI user roles and permissions are not derived from your VCS permissions, and they do not allow you to bypass permissions in the VCS. For example, you may be an _Organization Administrator_ within CircleCI, which gives you access to view and modify organization and project settings _within your CircleCI organization_. However, you will not be able to edit a project’s `.circleci/config.yml` hosted in your VCS without your user also having the write permissions _within that VCS's repository project_. Your CircleCI user’s VCS permissions are determined by its associated GitLab identity.
203
+
Your CircleCI user roles and permissions are not derived from your VCS permissions, and they do not allow you to bypass permissions in the VCS. For example, you may be an _Organization Administrator_ within CircleCI, which gives you access to view and modify organization and project settings _within your CircleCI organization_. However, you will not be able to edit a project’s `.circleci/config.yml` hosted in your VCS without your user also having the write permissions _within that VCS's repository project_. Your CircleCI user’s VCS permissions are determined by its associated GitLab identity.
204
204
205
205
Your GitLab identity can be managed through your CircleCI user profile’s account integrations, or the connection when managing triggers and configuration.
206
206
@@ -353,17 +353,17 @@ Auto-cancel redundant workflows is not supported at this time. Refer to the <<sk
353
353
[#restricted-access-to-contexts]
354
354
=== Restricted access to contexts
355
355
356
-
Restricted access to contexts is not supported in the GitLab preview at this time. This means that any user within the organization can create triggers, and any users that can trigger pipelines from the source can use those contexts. In a future update, it will be possible to limit access to contexts by project and/or branch, giving your organization greater control and ensuring individual users only have access to the contexts they require.
356
+
Restricted access to contexts is not supported in the GitLab preview at this time. This means that any user within the organization can create triggers, and any users that can trigger pipelines from the source can use those contexts. In a future update, it will be possible to limit access to contexts by project and/or branch, giving your organization greater control and ensuring individual users only have access to the contexts they require.
357
357
358
358
If you would like more information about using contexts within CircleCI, visit the <<contexts#,Using Contexts>> page.
359
359
360
360
[#project-roles]
361
-
=== Project roles
361
+
=== Project roles
362
362
363
363
Organizations can limit user access to a project or projects, and not require an organization-level role. This gives greater control over which users have access to projects across the organization, and limits access to organization settings or creating new projects.
364
364
365
365
[#account-integrations]
366
-
=== Account integrations
366
+
=== Account integrations
367
367
368
368
There is currently no method to manage GitLab integrations in this area. We are working on including GitLab in the options listed.
369
369
@@ -375,50 +375,50 @@ NOTE: The following sections are features of CircleCI which are known issues in
375
375
[#ssh-rerun-is-not-working]
376
376
=== SSH rerun is not working
377
377
378
-
Support for SSH rerun is currently not available. This will be resolved in a future release.
378
+
Support for SSH rerun is currently not available. This will be resolved in a future release.
379
379
380
380
[#additional-ssh-keys-only]
381
381
=== Additional SSH keys only
382
382
383
-
Deploy Key and User Key are not being used at this time. All SSH keys generated for a project will be stored under **Additional SSH Keys**.
383
+
Deploy Key and User Key are not being used at this time. All SSH keys generated for a project will be stored under **Additional SSH Keys**.
=== User account integrations do not include GitLab
386
+
=== User account integrations do not include GitLab
387
387
388
-
The **User Settings > Account Integrations** page does not currently include GitLab as a choice.
388
+
The **User Settings > Account Integrations** page does not currently include GitLab as a choice.
389
389
390
390
At this time, GitLab integration should only be configured through new project creation. Project settings for creating triggers and configuration will be added soon.
391
391
392
392
[#advanced-options-in-project-settings]
393
393
=== Advanced options in project settings
394
394
395
395
- **Auto-cancel redundant workflows** is not currently supported.
396
-
- The **Free and Open Source** setting is not currently supported.
397
-
- Project settings for building forked pull requests are not available.
396
+
- The **Free and Open Source** setting is not currently supported.
397
+
- Project settings for building forked pull requests are not available.
398
398
399
399
[#stop-building-option-in-project-settings]
400
400
=== Stop building option in project settings
401
401
402
-
**Stop Building** does not work. The recommendation is to delete your webhooks in your GitLab repo if you no longer want a CircleCI pipeline to run.
402
+
**Stop Building** does not work. The recommendation is to delete your webhooks in your GitLab repo if you no longer want a CircleCI pipeline to run.
403
403
404
404
[#plans-and-usage]
405
405
=== Plans and usage
406
406
407
-
- Plans pages display the organization UUID and not the name.
408
-
- Usage pages do not include the GitLab project name under **Projects**.
407
+
- Plans pages display the organization UUID and not the name.
408
+
- Usage pages do not include the GitLab project name under **Projects**.
409
409
- Only users that created a project in CircleCI and triggered a build are counted as active users.
410
410
411
411
[#gitlab-oauth-for-free-plans]
412
412
=== GitLab OAuth for Free plans
413
413
414
-
- The current CircleCI OAuth connection with GitLab is not successfully refreshing the token after the two hour expiration time. Users that are on a free GitLab plan will not be able to set up additional projects and builds will fail after the two hour expiry. We are working on resolving this issue. In the meantime, users with free GitLab plans should use a personal access token when setting up a new project.
415
-
- For users on the free GitLab plan that have already set up GitLab projects with OAuth in CircleCI, we recommend revoking the CircleCI application from within GitLab until this issue is resolved.
414
+
- The current CircleCI OAuth connection with GitLab is not successfully refreshing the token after the two hour expiration time. Users that are on a free GitLab plan will not be able to set up additional projects and builds will fail after the two hour expiry. We are working on resolving this issue. In the meantime, users with free GitLab plans should use a personal access token when setting up a new project.
415
+
- For users on the free GitLab plan that have already set up GitLab projects with OAuth in CircleCI, we recommend revoking the CircleCI application from within GitLab until this issue is resolved.
416
416
+
417
417
. You can revoke the CircleCI application by navigating to your GitLab user account's Preferences > Applications.
418
418
+
419
419
. Next, delete your trigger and configuration from your CircleCI project via **Project Settings**.
420
420
+
421
-
. You can then manually add a new configuration and trigger using a personal access token. Note that the "GitLab X Token" is a secret and can be anything you want.
421
+
. You can then manually add a new configuration and trigger using a personal access token. Note that the "GitLab X Token" is a secret and can be anything you want.
0 commit comments