2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

Update gitlab runner installation

Ondřej Surý
2019-07-24 07:53:26 -04:00
parent 88109af323
commit 5ccc2c1b3b

@@ -4,9 +4,9 @@
1. Install vanilla Debian Stretch on the machine
1. Install a *text editor* that humans can use:
`apt-get install emacs-nox`
`apt install emacs-nox`
1. Install required packages:
`apt-get install apt-transport-https curl ca-certificates`
`apt install apt-transport-https curl ca-certificates`
1. Add GitLab Runner GPG key to APT:
`curl -fsSL -o /etc/apt/trusted.gpg.d/runner_gitlab-runner.asc https://packages.gitlab.com/runner/gitlab-runner/gpgkey`
1. Add GitLab Runner Package Repository to APT sources:
@@ -16,11 +16,11 @@
1. Add Docker CE Package Repository to APT sources:
`echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker_docker-ce.list`
1. Refresh APT sources:
`apt-get update`
`apt update`
1. Install GitLab Runner:
`apt-get install gitlab-runner`
`apt install gitlab-runner`
1. Install Docker CE:
`apt-get install docker-ce`
`apt install docker-ce`
1. Register the GitLab Runner with this GitLab (the token can be found here: https://gitlab.isc.org/admin/runners):
`gitlab-runner register --run-untagged --request-concurrency 2 --non-interactive --tag-list 'docker,linux' --url 'https://gitlab.isc.org' --executor docker --docker-image 'docker:latest' --docker-cap-add "NET_ADMIN" --docker-cap-add "SYS_ADMIN" --docker-privileged --registration-token <TOKEN>`
1. Update the concurrency level to match the number of processors + 1: