We use the android ‘repo’ tool to build our project, and I am in the phase of making it run as part of a gitlab CI pipeline. The build job is supposed to run in a docker image deployed by the runner, and this part works as expected.
Since gitlab does not integrate with repo, I added the source checkout phase as a ‘before_script’. But unfortunately, repo then depends on the content of the image to run, and this one is pretty old.
As I understand it, the docker executor has it’s own image to perform the git-clone and artifacts retrieval, and this is called Pre-job (The Docker executor | GitLab)
Is it possible to add commands to be run during the Pre-job phase ?