Skip to content

Instantly share code, notes, and snippets.

David Steiman xetys

Block or report user

Report or block xetys

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xetys
xetys / create-ci-runner.sh
Created Sep 25, 2016
a script to starting GitLab CI runners, which can run docker inside
View create-ci-runner.sh
#!/bin/sh
docker run -d --name "gitlab-runner-$1" --restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /srv/gitlab-runner/config:/etc/gitlab-runner \
gitlab/gitlab-runner:latest
docker exec -it "gitlab-runner-$1" gitlab-runner register -n \
--url "$3/ci" \
--registration-token "$2" \
You can’t perform that action at this time.