Skip to content

Dependency scanning (Gemnasium) fails on retries w/o find

If a dependency scanning job fails on first try, as when the initial get_sources step times out, the job will fail nearly immediately thereafter until it runs out of retries. This is because gitlab-runner wants to clear out any downloaded git sources or submodules before retry and it uses find to do so. Using find fails because find cannot be found — it isn't in any of the path sources.

This may be because it isn't on the image, in which case we'd need to either start packaging find in the bundle or trying to fool the runner, or it could be that the glrw-worker.sh setup isn't sourced properly at that stage of the retry.

Edited by Zach Rollyson