Change the way regions are selected in Gcloud provider
What does this MR do?
At present, region selection is based on whatever is specified in the GCLOUD_REGION
CI variable.
From time-to-time, our kubernetes-ee/ce tests fail due to failure of provisioning. Despite efforts made to alleviate this.
This MR provides two more safeguards:
- Choose a random region, not reliant on just
us-central1
(whatever is provided throughGCLOUD_REGION
) - Try twice to provision a cluster in Gcloud.
Notes:
- If
GCLOUD_REGION
is specified, it will still favor that region. - If
GCLOUD_REGION
is not specified and it fails once, it will try again with yet another region.
Requirements to merge
-
gitlab-qa!344 (merged) merged in -
New GitLab-QA version released -
GCLOUD_REGION
removed from GitLab-QA CI vars
Does this MR meet the acceptance criteria?
Conformity
Edited by 🤖 GitLab Bot 🤖