Introducing: GitLab CLI
GitLab CLI – or GLab in short – lets developers run operations in GitLab directly from the command line. The tool is now available in the DevOps section of Buddy actions:
Image loading...
How it looks
The primary screen lets you define the GLab commands to run in your GitLab account. The current list of available commands can be found in the official GLab documentation.
Image loading...
Configuration
- Once you add the action to the pipeline, you will be asked to select the integration that will authenticate Buddy in your GitLab account.
- The action only works with the personal access token integration type.
- The feature works both on Buddy cloud and Buddy Self-Hosted.
Image loading...
Clicking Generate token at the bottom will transfer you to https://gitlab.com/-/profile/personal_access_tokens.
The scopes and expiration date depend on the level of access that you are willing to provide. However, two scopes are required for the integration to work:
api
write_repository
Image loading...
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.