Skip to content

Gitlab Runner that auto registers on start and unregisters at stop based on environment

Notifications You must be signed in to change notification settings

pcodk/gitlab-runner-auto-register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Gitlab Runner Auto Register

Gitlab Runner that auto registers based on environment.

Heavily based on: https://github.com/ayufan/gitlab-ci-multi-runner/tree/master/dockerfiles/ubuntu

Build

docker build -t gitlab-runner-auto-register .

Run

docker run -e "CI_SERVER_URL=https://gitlab.example.com/" -e "REGISTRATION_TOKEN=XXXXXXXXXXXXXX" -e PRIVILIGED_MODE={true|false} gitlab-runner-auto-register 

Environment Variables

For more information about the the environment variables:

https://github.com/ayufan/gitlab-ci-multi-runner/blob/master/docs/commands/README.md#gitlab-runner-register

About

Gitlab Runner that auto registers on start and unregisters at stop based on environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages