gitlab-8

Gitlab-CI runner: ignore self-signed certificate

跟風遠走 提交于 2019-12-20 10:32:29
问题 gitlab-ci-multi-runner register gave me couldn't execute POST against https://xxxx/ci/api/v1/runners/register.json: Post https://xxxx/ci/api/v1/runners/register.json: x509: cannot validate certificate for xxxx because it doesn't contain any IP SANs Is there a way to disable certification validation ? I'm using Gitlab 8.13.1 and gitlab-ci-multi-runner 1.11.2. 回答1: Based on Wassim's answer, and gitlab documentation about tls-self-signed and custom CA-signed certificates, here's to save some

GitLab CI runner - can't access other repository

允我心安 提交于 2019-12-12 03:28:28
问题 After a recent minor 8.x upgrade, I'm unable to execute GitLab CI tests that also fetch another repository. While everything worked previously, now I get the famous Host key verification failed. error message from ssh. What could be the cause of this? /etc/gitlab-runner/config.toml : concurrent = 1 [[runners]] name = "python-runner@localhost" # ... executor = "docker" [runners.docker] image = "edoburu/python-runner" privileged = false cap_drop = ["DAC_OVERRIDE"] volumes = [ "/cache", "/home

Gitlab-CI runner: ignore self-signed certificate

本秂侑毒 提交于 2019-12-02 22:48:46
gitlab-ci-multi-runner register gave me couldn't execute POST against https://xxxx/ci/api/v1/runners/register.json: Post https://xxxx/ci/api/v1/runners/register.json: x509: cannot validate certificate for xxxx because it doesn't contain any IP SANs Is there a way to disable certification validation ? I'm using Gitlab 8.13.1 and gitlab-ci-multi-runner 1.11.2. Based on Wassim's answer, and gitlab documentation about tls-self-signed and custom CA-signed certificates , here's to save some time if you're not the admin of the gitlab server but just of the server with the runners (and if the runner

How to enable maven artifact caching for gitlab ci runner?

安稳与你 提交于 2019-11-28 16:39:41
We use gitlab ci with shared runners to do our continuous integration. For each build, the runner downloads tons of maven artifacts. Is there a way to configure gitlab ci to cache those artifacts so we can speed up the building process by preventing downloading the same artifact over and over again? Gitlab CI allows you to define certain paths, which contain data that should be cached between builds, on a per job or build basis (see here for more details). In combination with khmarbaise's recommendation, this can be used to cache dependencies between multiple builds. An example that caches all

How to enable maven artifact caching for gitlab ci runner?

99封情书 提交于 2019-11-27 09:45:13
问题 We use gitlab ci with shared runners to do our continuous integration. For each build, the runner downloads tons of maven artifacts. Is there a way to configure gitlab ci to cache those artifacts so we can speed up the building process by preventing downloading the same artifact over and over again? 回答1: Gitlab CI allows you to define certain paths, which contain data that should be cached between builds, on a per job or build basis (see here for more details). In combination with khmarbaise