BlitzinBuffalo
10/21/2019 - 2:13 AM

gitlab bible

gitlab bible

Gitlab Bible

CI/CD

Install Runner (Ubuntu)

https://docs.gitlab.com/runner/install/linux-manually.html

sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64

Register Runner (Docker)

https://docs.gitlab.com/runner/register/

sudo gitlab-runner register \
  --non-interactive \
  --url "https://gitlab.com/" \
  --registration-token "<token>" \
  --executor "docker" \
  --docker-image docker:19.03.1 \
  --description "description" \
  --tag-list "<tag>" \
  --run-untagged="true" \
  --locked="false" \
  --access-level="not_protected" \
  --docker-volumes /var/run/docker.sock:/var/run/docker.sock