Allow specifying Google Cloud project ID to runnerCloudProvisioningOptions query
Following up on #438315 (closed), and given the designs in #426163 (comment 1762268040), we'll need to allow specifying a Google Cloud project ID on the runnerCloudProvisioningOptions query, and underlying services:
{
project(fullPath: "gitlab-org/playground") {
id
runnerCloudProvisioningOptions(
provider: GOOGLE_CLOUD
cloudProjectId: "dev-gcp-s3c-integrati-9abafed1"
) {
... on CiRunnerGoogleCloudProvisioningOptions {
regions(first: 2) {
nodes {
name
description
}
pageInfo {
hasNextPage
endCursor
}
}
zones(region: "us-east1", first: 2) {
nodes {
name
description
}
pageInfo {
hasNextPage
endCursor
}
}
machineTypes(zone: "us-east1-b", first: 2) {
nodes {
name
description
zone
}
pageInfo {
hasNextPage
endCursor
}
}
}
}
}
}
This is because the compute resources will not necessarily be created on the same project as where WLIF is setup (we even advise against it).
Edited by Pedro Pombeiro