Add runner description to commands
What does this MR do and why?
This change adds the runner description to the runner registration commands, escaped for environments that use bash and powershell.
Before:
gitlab-runner register ...
After:
gitlab-runner register ... --description 'My runner'
Note: While working on this I refactored the components so the entire runner is accessible by the registration_instructions.vue
component.
Screenshots or screen recordings
How to set up and validate locally
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow)
- Visit Admin -> CI/CD -> Runners
- Select the "New instance runner" button
- Input values to create a new runner, select a platform you want.
- Confirm the installations instructions are correct for all platforms and they update according to the selection
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #383139 (closed)
Edited by Miguel Rincon