Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql')
-rw-r--r--app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql b/app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql
new file mode 100644
index 00000000000..e4bf51e2c30
--- /dev/null
+++ b/app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql
@@ -0,0 +1,15 @@
+#import "ee_else_ce/runner/graphql/details/runner_details.fragment.graphql"
+
+# Mutation for updates from the runner form, loads
+# attributes shown in the runner details.
+
+mutation runnerUpdate($input: RunnerUpdateInput!) {
+ runnerUpdate(input: $input) {
+ # We have an id in deep nested fragment
+ # eslint-disable-next-line @graphql-eslint/require-id-when-available
+ runner {
+ ...RunnerDetails
+ }
+ errors
+ }
+}