Gitlab: Difference between revisions
Jump to navigation
Jump to search
>Homaar |
(No difference)
|
Latest revision as of 20:38, 5 January 2021
gitlab on RPi
sudo curl -sS https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bash apt install gitlab-ce # sudo dpkt-reconfigre gitlab-ce vi /etc/gitlab/gitlab.rb sudo gitlab-ctl reconfigure
check smtp delivery
gitlab-rails console Notify.test_email('tobias@tobias-weiss.org', 'Test from Gitlab', 'This is a test message from gitlab server.').deliver_now
gitlab-runner
docker volume create gitlab-runner-config-swep20-ds
docker run --privileged -d --name gitlab-runner-swep20-ds --restart always \ -v /var/run/docker.sock:/var/run/docker.sock \ -v gitlab-runner-config-swep20-ds:/etc/gitlab-runner \ gitlab/gitlab-runner:latest
Finally I created the runners locally on my Thinkpad. For DIND to work, one has to edit the gitlab-runner config in /etc/gitlab-runner/config.toml, see https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4501