fix: install gitlab-runner-helper-packages if version is specified#363
fix: install gitlab-runner-helper-packages if version is specified#363guenhter merged 2 commits intoriemers:masterfrom nicoklaus:master
Conversation
Since gitlab-runner v14 the env GITLAB_RUNNER_DISABLE_SKEL is default to true. The latest available gitlab-runner version for buster is v17.7.
As of gitlab-runner version v17.7.1, when you install a specific version of gitlab-runner that is not the latest version, you must explicitly install the required gitlab-runner-helper-packages for that version.
|
Thx for this contribution |
|
Hey @guenhter, short question. Is there a release planned in the near future? There are some changes and in my prod environment I use the Galaxy requirements and not the GitHub repo as bleeding edge. Thank you. |
|
@riemers Forward this to you. |
|
Bumped the version and updated galaxy. Had a fight again with it, but both roles (the new and the old) are updated. |
|
Hi @nicoklaus and @riemers - we found this to be an unexpected breaking change in The package We'll just continue to use |
|
@nicoklaus could you handle that? |
|
Hey @fkleon, sorry on that. As I interpreted the warning in the GitLab Documentation it sounded like the package was always a needed dependency and existed but now needs to be manually installed.
@guenhter for sure. I will write a fix which checks if the package is available and only install it if it's true, a breaking change would be ugly as this mean that the playbook from version 2.0.8 can only handle gitlab-runner versions higher than 17.7.1. |
Description
As of gitlab-runner version v17.7.1, when you install a specific version of gitlab-runner that is not the latest version, you must explicitly install the required gitlab-runner-helper-packages for that version. This requirement exists due to an apt/apt-get limitation.
Current Behavior
The playbooks fail, as the required dependency is not met and apt can't resolve it automatically.
Related Issue