I’m getting error:
Running with gitlab-runner 10.6.0 (a3543a27)
on fdr-runner 74e941a6
Using Shell executor…
Running on ip-10-50-51-246…
Cloning into ‘/home/gitlab-runner/builds/74e941a6/0/johnecobo/FDR-nlv-Ireland’…
fatal: unable to access ‘https://gitlab-ci-token:email@example.com/fred/FDR-nlv-Ireland.git/’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
ERROR: Job failed: exit status 1
I beleive the reason is that it should be using the DNS (eg. my.newgitlab.com) rather than the IP 184.108.40.206. The DNS (my.newgitlab.com) has certification and https working while IP 220.127.116.11 won’t have a cert attached.
Setup: All on AWS using route53 for the DNS and AWS certificate manager for the cert. Gitlab is working fine as a user through the browser, but the runner seems to be not using the DNS.