plugins

Home

Plugins

GitHub

Blog

gitlab-run-pipeline

version: 0.0.1 |  date: 08/16/2021 |  Runs gitlab pipeline |  source code

# gitlab-run-pipeline

Runs gitlab pipeline

# install

    $ s6 --install gitlab-run-pipeline

# usage

    task-run "pipe-run", "gitlab-run-pipeline", %(
      debug => True,
      project => 1001,
      gitlab_api => "https://git.company.com/api/v4/",
      variables => %(
        color => "green",
        size => "big",
        use_salt => True
      )
    );
  
# parameters

## gitlab_api

Gitlab API base URL. Required

## project

Gitlab project. Int|Str. Required

## debug

Enable debug. This will dump http request being sent

## ref

Git branch ref. Optional. Default value is `master`

## variables

Raku Hash. Pipeline variables. Optional.

# Requirements

curl

# author

Alexey Melezhik