Closed mathieu-pousse closed 3 months ago
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 ;)
Can you re-open this. Old workflow is going to be removed in Gitlab 18: https://docs.gitlab.com/ee/ci/runners/new_creation_workflow.html
Just automated stuff, otherwise too much hanging fruit mostly ;)
If I do understand the new registration process correctly, you can either obtain the registration token through the UI or through Gitlab API. Similar to what the community.general.gitlab_runner Ansible module has implemented we could develop a new task that would call the Gitlab API, get the token and use it to carry on the registration process through the role.
Does it make sense?
I can look this for Linux runners.
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 ;)
Hi there,
I'm wondering how to register a runner with the new Gitlab registration workflow for the runners with authentication token instead of registration token
https://docs.gitlab.com/runner/register/#register-with-a-runner-authentication-token
Is there any mean to achieve this with this role ?
Note: I've tried to create the runner with this role, without the registration code, and use the community plugin (https://docs.ansible.com/ansible/latest/collections/community/general/gitlab_runner_module.html) to register the freshly created runner without success :disappointed:
Thanks in advance