Skip to content

Refactor runner instructions modal components

Miguel Rincon requested to merge 386566-refactor-instructions-to-templates into master

What does this MR do and why?

This change refactors the static runner registration instructions to Vue templates so they can be more easily manipulated.

Why now?

In order to implement Move AWS runner registration assistant to runne... (#386566 - closed) I need more flexibility in how the templates for each platform are rendered, so AWS can be rendered in the same modal.

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

Screenshots or screen recordings

This is the related modal.

image

How to set up and validate locally

  1. Visit Admin -> CI/CD -> Runners e.g. /admin/runners
  2. Select Register an instance runner to open the dropdown
  3. Select Show runner installation and registration instructions to open modal
  4. Check modal's contents

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