Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

add-on registry tests last commit release

DDEV Glab Cli

Overview

This add-on integrates GitLab Cli (glab) into your DDEV project.

Installation

ddev add-on get plopesc/ddev-glab-cli
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Authentication

For persistent login, the following environment variables need to be defined:

The full list of environment variables can be found at CLI documentation.

For other ways to authenticate, the following command can be executed:

ddev exec glab auth login

Usage

Command Description
ddev exec glab --version Check the installed version
ddev exec glab --help View available commands

The full documentation about GitLab CLI can be gound at the GitLab CLI documentation page.

Customization

Custom GitLab CLI version

By default, the add-on installs the latest available GitLab CLI version. To pin a specific version, create a .ddev/docker-compose.glab-cli.yaml file with the desired version:

services:
  web:
    build:
      args:
        GLAB_VERSION: "1.80.0"

Then run ddev restart to rebuild the container with the specified version.

Credits

Contributed and maintained by @plopesc