docker-gitlab
docker-gitlab copied to clipboard
Gitlab CI docker swarm mode setup
docker-gitlab
Gitlab CI docker swarm mode setup
Prerequisites
- docker 1.13 +
Setup
- Run
install-gitlab.shand enter gitlab & registry host - Wait 'till gitlab is up and running and go to gitlab admin area -> runners section and copy the registration token
- Run
install-gitlab-runner.shand enter registration token
Features
- Runners are automatically registered/unregistered in gitlab on docker (run/stop) / docker service (create/rm)
- When new worker node spawned -> new runner is created automatically and registered within gitlab