@sheogorath Hmm I was trying to finally setup your mirror-bot script on my gitlab instance. I was just wondering how you are running your gitlab runner with the SSH key to be able to push the repos?

@mhamzahkhan I have a gitlab-runner that is a shell runner that has a .ssh directory mounted. The SSH key is then globally provided as a deploy key on gitlab, that is then added to the projects.

However you should be able to provide the ssh key as file variable. If you want to run it auto-scaling runners.

@sheogorath Finally got it working 😓
It took longer than I care to admit. It's not even a complicated setup or script, but my brain was just having complete brain farts and nothing was making sense today 😂

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!