FenrirUnbound / gitlab-pipeline-queue

A naive solution to ensuring a singleton pipeline queue for GitLab pipelines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipeline-queue

A naive solution to ensuring a singleton pipeline queue for GitLab pipelines.

Usage

# full command with default values as explicit options
$ pipeline-queue --hostname https://gitlab.com --interval-time 30s -pipeline $CI_PIPELINE_ID --project $CI_PROJECT_ID --token $GITLAB_API_TOKEN

# full command with using shorthand flags
$ pipeline-queue -n https://gitlab.com -i 30s -l $CI_PIPELINE_ID -j $CI_PROJECT_ID -t $GITLAB_API_TOKEN

# equivalent abbreviated version of the above
$ pipeline-queue -t $GITLAB_API_TOKEN

About

A naive solution to ensuring a singleton pipeline queue for GitLab pipelines

License:Apache License 2.0


Languages

Language:Go 83.2%Language:Makefile 10.3%Language:Shell 3.9%Language:Dockerfile 2.6%