Add support for Google Cloud Service universe domain
What does this MR do?
This supports the universe_domain setting added in
https://github.com/googleapis/google-api-go-client/pull/2335.
Why was this MR needed?
A customer needs support for Google Cloud Dedicated: https://cloud.google.com/sovereign-cloud?hl=en
What's the best way to test this MR?
- First test that GCS uploads work fine:
[runners.cache]
Type = "gcs"
MaxUploadedArchiveSize = 0
[runners.cache.gcs]
BucketName = 'your-bucket'
- Then try with an invalid, custom domain:
[runners.cache]
Type = "gcs"
MaxUploadedArchiveSize = 0
[runners.cache.gcs]
BucketName = 'stanhu-test'
UniverseDomain = 'testme.example.com'
You can see the error:
What are the relevant issue numbers?
Relates to https://gitlab.com/gitlab-org/gitlab/-/work_items/581881
Edited by Stan Hu
