Skip to content

GitLab Runner 15.8.2 can't be installed on Amazon Linux 2023 #1147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nexonen opened this issue Jul 10, 2024 · 1 comment · Fixed by #1155
Closed

GitLab Runner 15.8.2 can't be installed on Amazon Linux 2023 #1147

nexonen opened this issue Jul 10, 2024 · 1 comment · Fixed by #1155

Comments

@nexonen
Copy link

nexonen commented Jul 10, 2024

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:

  1. Provision a new runner using module version 7.8.0 with gitlab-runner version 15.8.2
  2. Observe that the runner doesn't connect to the gitlab instance after registration
  3. 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
  4. 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.

@kayman-mk
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants