We are testing out AutoDevops using a Gitlab-runner using a Kubernetes executor. Network has a CA certificate. When running a build, it errors:
Running with gitlab-runner 12.7.1 (003fe500)
on ubuntu y81pD-pB
Using Kubernetes namespace: myfirstapp 00:00
Using Kubernetes executor with image registry.gitlab.com/gitlab-org/cluster-integration/auto-build-image/master:stable ...
Waiting for pod myfirstapp/runner-y81pd-pb-project-1-concurrent-0dwsbx to be running, status is Pending 00:03
Running on runner-y81pd-pb-project-1-concurrent-0dwsbx via ubuntu...
Fetching changes with git depth set to 50... 00:02
Initialized empty Git repository in /builds/nathan/testproject/.git/
Created fresh repository.
fatal: unable to access 'https://gitlab-test.******/nathan/testproject.git/': SSL certificate problem: unable to get local issuer certificate
ERROR: Job failed: command terminated with exit code 1
I’m able to get Kubernetes to pull down the Gitlab image, and the container tries to do the Git Clone/checkout to the Gitlab instance ‘https://gitlab-test.******’ but it fails.
Can I inject a CA certificate into those auto-pulled images?