Configure Regions from `Projects :: Infra :: Google Cloud`
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_regions
as an active route for:google_cloud
-
routes/google_cloud
includes thegcp_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
- Update the
- Frontend
-
gcp_regions_list
component to list out regions configured for project -
home
includesgcp_regions_list
-
gcp_regions_form
can be used to configure a new region / env mapping - template for
gcp_regions_form
-
app
recognizesGCP_REGIONS_FORM
screen
-
Screenshots or screen recordings
How to set up and validate locally
- Enable
incubation_5mp_google_cloud
feature flag for a test project - In GitLab web ui, navigate to project
- Go to
Infra :: Google Cloud
page - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Sri Rang