gitlab-runner-cleaner

command module
v0.0.0-...-d9f13de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

README

Description

This is a simple tool to manage runners for gitlab projects.

We use ephemeral docker auto registering instances of gitlab-runner image here. As runner is able to register itself into one project we added some environment variables that make this container register itself in given projects.

If the docker engine dies from some reason before runner manages to unregister it becomes offline. To clean up from time to time you have to unregister runners from all projects and then remove it.

Usage

Basic usage:

# https://github.com/FlakM/gitlab-runner-cleaner/releases go here to check latest releases:
VER=0.0.1
GITLAB_TOKEN=<my secret token here>
curl -LJO https://github.com/FlakM/gitlab-runner-cleaner/releases/download/$VER/gitlab-runner-cleaner.sh
chmod +x gitlab-runner-cleaner.sh
./gitlab-runner-cleaner.sh -h # this requires GITLAB_TOKEN enviroment variable

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL