Browse Source

gitlab: the runner must use the public gitlab hostname

Otherwise it will get an error message similar to:

fatal: unable to access 'https://lab.fedeproxy.eu/fedeproxy/server.git/':
  Unable to get local issuer certificate
keep-around/6eb112dbda6f438defa40f933bd63c041e8e7fa0
Loïc Dachary 5 months ago
parent
commit
6eb112dbda
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 1
      inventory/02-all.yml
  2. 2
      playbooks/gitlab/roles/gitlab-ci/tasks/gitlab-ci.yml

1
inventory/02-all.yml

@ -11,6 +11,7 @@ enough:
gitlab:
hosts:
runner-host:
gitlab-host:
api-host:

2
playbooks/gitlab/roles/gitlab-ci/tasks/gitlab-ci.yml

@ -54,7 +54,7 @@
--non-interactive \
--registration-token '{{ gitlab_shared_runners_registration_token }}' \
--name 'sd-runner' \
--url https://gitlab.{{ domain }} \
--url https://{{ gitlab_host }} \
--executor docker \
--docker-image debian:buster \
--docker-devices /dev/kvm \

Loading…
Cancel
Save