GraphQL: Use query field instead of mutation
All threads resolved!
All threads resolved!
Compare changes
Files
11- Pedro Pombeiro authored
EE: true
@@ -11,8 +11,8 @@
@@ -11,8 +11,8 @@
This MR is a follow-up to !145598 (comment 1789427546) to replace the provisionGoogleCloudRunner
mutation with the provisioningSteps
query field. It also renames runnerCloudProvisioningOptions
to runnerCloudProvisioning
, since this is no longer only about options.
EE: true
Closes #438316 (closed)
Reviews | Reviewer | Status |
---|---|---|
backend (initial) | @10io | ![]() |
backend (maintainer) | @dmeshcharakou | ![]() |
frontend (maintainer) | @mrincon | ![]() |
devopsverify | @vshushlin | ![]() |
authorization | @jarka | ![]() |
groupimport and integrate | @bmarjanovic | ![]() |
documentation | @fneill | ![]() |
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
Numbered steps to set up and validate the change are strongly suggested.
Run the following query in http://gdk.test:3000/-/graphql-explorer:
{
project(fullPath: "gitlab-org/playground") {
id
runnerCloudProvisioning(
provider: GOOGLE_CLOUD
cloudProjectId: "dev-gcp-s3c-integrati-9abafed1"
) {
... on CiRunnerGoogleCloudProvisioning {
provisioningSteps(
region: "us-central1"
zone: "us-central1-a"
ephemeralMachineType: "n2d-standard-2"
runnerToken: "glrt-Ei-AAaaaaAAAaaAA"
) {
title
languageIdentifier
instructions
}
}
}
}
}
EE: true