After the update to use Amazon Linux 2023, the runner version 15.8.2 isn't available to be installed as it isn't found in the package repository. Version 15.8.2 is the default version specified in variables.tf.
A list of gitlab-runner packages released for Amazon Linux 2023 is here.
To Reproduce
Steps to reproduce the behavior:
Provision a new runner using module version 7.8.0 with gitlab-runner version 15.8.2
Observe that the runner doesn't connect to the gitlab instance after registration
Connect to the instance and look at the logs in /var/log/messages, see Error: Unable to find a match: gitlab-runner-15.8.2
Observe that gitlab-runner package is not installed
Expected behavior
An available version of gitlab-runner should be specified as the default for the runner_gitlab.runner_version variable.
Gosh, I wasn't aware of this. Absolutely true. I prefer to not use the default as the Runner should match to your GitLab version. Maybe we should make this a mandatory parameter?
Describe the bug
Module version: 7.8.0
After the update to use Amazon Linux 2023, the runner version 15.8.2 isn't available to be installed as it isn't found in the package repository. Version 15.8.2 is the default version specified in variables.tf.
A list of gitlab-runner packages released for Amazon Linux 2023 is here.
To Reproduce
Steps to reproduce the behavior:
/var/log/messages
, seeError: Unable to find a match: gitlab-runner-15.8.2
Expected behavior
An available version of gitlab-runner should be specified as the default for the
runner_gitlab.runner_version
variable.