Skip to content

Refactor to extract instructions modal component

What does this MR do and why?

This change refactors the modal which displays instructions to a separate component in the Google Cloud runner registration.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No changes are expected in the output of this component:

2024-03-28_15.11.29

How to set up and validate locally

  1. Simulate a SaaS instance in your GDK
  2. Enable the feature flag
 echo "Feature.enable(:google_cloud_support_feature_flag)" | rails c
  1. Visit project runner creation Project -> Settings -> CI/CD -> Runners -> New project Runner
  2. Select google cloud radio option (for platform)
  3. Create a runner
  4. Input values into the form fields (they don't have to be real values)
  5. Select "Setup instructions"
  6. Confirm the commands shown in the modal are correct

Related to #446153 (closed)

Merge request reports