Skip to content

Improve validation messages for runner registration form in Google Cloud

What does this MR do and why?

This change adds more detailed validation messages on each field of the Google Cloud runner registration form.

It adds specific examples for region, zone and machine type fields.

Implements #450820 (closed)

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

Before After After (required fields)
image image image

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, we only need to test the validation here)

Related to #450820 (closed)

Edited by Miguel Rincon

Merge request reports

Loading