summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/runner/graphql/runner_toggle_active.mutation.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/runner/graphql/runner_toggle_active.mutation.graphql')
-rw-r--r--app/assets/javascripts/runner/graphql/runner_toggle_active.mutation.graphql12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/javascripts/runner/graphql/runner_toggle_active.mutation.graphql b/app/assets/javascripts/runner/graphql/runner_toggle_active.mutation.graphql
new file mode 100644
index 00000000000..9b15570dbc0
--- /dev/null
+++ b/app/assets/javascripts/runner/graphql/runner_toggle_active.mutation.graphql
@@ -0,0 +1,12 @@
+# Mutation executed for the pause/resume button in the
+# runner list and details views.
+
+mutation runnerToggleActive($input: RunnerUpdateInput!) {
+ runnerUpdate(input: $input) {
+ runner {
+ id
+ active
+ }
+ errors
+ }
+}