Customize gitlab-runner-helper docker image to pull multiple private repositories?

47 views Asked by At

I am new to docker, and I am currently trying to setup gitlab runner to run some tests in docker. The main problem here is that some of the tests require cloning/fetch from multiple private repositories other than the main project.

From my understanding, gitlab-runner-helper image does the cloning of remote git repository. But is it possible to customize gitlab-runner-helper to also do cloning for other git repository?

I have tried setting up git and doing the cloning/fetch within the docker container. While it seems like an option, but it requires a lot of extra work, and introduces potential security risks which I try to avoid.

I have also looked into git submodules, but it does not really fit into my use case.

Any help would be appreciated!

0

There are 0 answers