Sharing data/storage between gitlab-runner and its host


I am trying to run a CI/CD that is going to use a big chunk of data for its tests.

The data in question is about 170 Gb big and is already on the machine hosting gitlab-runner (in docker mode).

I’d like to knwo how I can mount the folder containing this data inside a job of my pipeline.

I know you can use docker volumes, but is it configurable from within a gitlab-ci instance ?

Or maybe I could mount a filesystem like sshfs from within gitlab-runner ?

Or should I rather try to use gitlab-runner in shell mode ?

Any help/idea would be appreciated, thank you

1 Like