Skip to content

Refactor static instructions to template

What does this MR do and why?

This change refactors the Runner Registration helper for AWS, so the contents can be rendered in a separate modal.

Why now?

The AWS instructions modal will be migrated to the Runners area, so it always appears as an option. The modal body will be used to render the instructions in two places: The project CI/CD settings and the Admin Runners area. For now, only the project CI/CD settings is migrated.

MR
Refactor runner instructions modal components (!108309 - merged)
Refactor static instructions to template (!108570 - merged) you are here 👇
Remove AWS runner deployment modal (!108591 - merged)

Screenshots or screen recordings

image

How to set up and validate locally

  1. As a project administrator (or root)
  2. Visit a project's CI/CD settings -> Runners with the parameter ?ci_runner_templates=true
  3. Click on "Deploy GitLab Runner in AWS" button
  4. Check the modal

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #386566 (closed)

Edited by Miguel Rincon

Merge request reports