Skip to content

Configure Regions from `Projects :: Infra :: Google Cloud`

Sri Rang requested to merge incubation-5mp-gcp-region into master

What does this MR do and why?

The commit allows the maintainer / owner to configure their preferred GCP region per environment from the Project :: Infra :: Google Cloud section

Change list:

  • Backend:
    • Update the infrastructure_menu to recognize :gcp_regionsas an active route for :google_cloud
    • routes/google_cloud includes the gcp_regions_controller routers
    • gcp_regions_controller with implementations for showing form and processing form submit
    • gcp_regions_service to list out GCP region vars for project
  • Frontend
    • gcp_regions_list component to list out regions configured for project
    • home includes gcp_regions_list
    • gcp_regions_form can be used to configure a new region / env mapping
    • template for gcp_regions_form
    • app recognizes GCP_REGIONS_FORM screen

Screenshots or screen recordings

Kooha-02-08-2022-19-04-40

How to set up and validate locally

  1. Enable incubation_5mp_google_cloud feature flag for a test project
  2. In GitLab web ui, navigate to project
  3. Go to Infra :: Google Cloud page
  4. Use the Regions section / button / form

MR acceptance checklist

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

Edited by Sri Rang

Merge request reports