Overview
Perform operations on Gitlab users, groups, and projects via Workflow Automator
Description
Orchestration apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows. The list of actions supported for this app include:
User Management
Lookup user by email
Lookup user by username
Get user by id
Project Management
Lookup project
Update project
Delete project
Create project
Group Management
Add user to group
Remove user from group
Add user to multiple groups
Remove user from multiple groups
Lookup Group by name
Prerequisites
Create a Personal access token from your Gitlab account:
In the top-right corner, select your avatar.
Select Edit profile.
In the left sidebar, select Access Tokens.
Enter a name and optional expiry date for the token.
Select all the Scopes.
Select Create personal access token.
Save the personal access token somewhere safe. After you leave the page, you no longer have access to the token.
App Installation Parameter
To install and authenticate the app in Orchestration Center, the following inputs are to be provided:
Config Name - Give your connection to Gitlab a name to identify which account you are connecting to.
GitLab URL - The URL of the GitLab instance. For example https://example.gitlab.com
Note: This parameter is required only for GitLab on-prem orchestration app.Access Token - The Personal access token of the Gitlab account. Follow the above-mentioned steps to obtain the same
Usecases
Now that you've successfully installed the GitLab orchestration app, please have a look at the sample use case below to show how the app can be used efficiently.