ansible-gitlab-runner icon indicating copy to clipboard operation
ansible-gitlab-runner copied to clipboard

Fall back to installing the binary if OS is unsupported

Open aairey opened this issue 5 years ago • 4 comments

Resorted to creating my own role since Fedora 30 and 31 do not have an RPM package available. However this role only checks the distribution but not if the version is actually supported by Gitlab.

List of Operating Systems supported: https://docs.gitlab.com/runner/install/linux-repository.html

aairey avatar Nov 11 '19 13:11 aairey

When trying this on an unsupported OS, it fails to download the RPM package from packagecloud.

aairey avatar Nov 11 '19 13:11 aairey

Trying an unsupported OS and it fails is pretty much what you would want in the firts place no? How would you see something different in this case? If you have created a seperate role is this something we can integrate this? I actually have a custom one for inside the company i work since it doesn't have a connection to the internet.

riemers avatar Nov 11 '19 13:11 riemers

Well, let me rephrase "Unsupported". There is no package maintained for the OS, but any GNU/Linux is supported by using the binary distribution. As per: https://docs.gitlab.com/runner/install/

I just created a simple role that fetches and installs the binary in itself, since I didn't need anything else. For now.

aairey avatar Nov 11 '19 22:11 aairey

Well if you could incorporate your role in here too, we can always merge that.

riemers avatar Nov 13 '19 11:11 riemers

Seems this message did not get a lot of love. This does not mean it was not seen but time wise might not have made it to proper attention. This is just the clean up action ;)

github-actions[bot] avatar Jun 30 '23 02:06 github-actions[bot]