Backed out changeset 2b9ebd337cf1 (bug 1385097) so bug 1384729 can be backed out. r=backout on a CLOSED TREE
☠☠ backed out by c9091294f5af ☠ ☠
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 28 Jul 2017 20:35:14 +0200
changeset 420392 499ff142be61dca9bcdb69ce7d071de5d8ae4ad8
parent 420391 c0e98ba118f16aee0d7101bd9a3ddb9945031b58
child 420393 078c33d6232712265e5f5361782142e4b5aa1479
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1385097, 1384729
milestone56.0a1
backs out2b9ebd337cf1b214e7f3de43a2b2cb9e756c2b31
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 2b9ebd337cf1 (bug 1385097) so bug 1384729 can be backed out. r=backout on a CLOSED TREE
taskcluster/taskgraph/actions/hello-action.py
new file mode 100644
--- /dev/null
+++ b/taskcluster/taskgraph/actions/hello-action.py
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+from __future__ import absolute_import, print_function, unicode_literals
+
+from .registry import register_callback_action
+
+
+@register_callback_action(
+    name='hello',
+    title='Say Hello',
+    symbol='hw',
+    description="""
+    Simple **proof-of-concept** action that prints a hello action.
+    """,
+    order=10000,  # Put this at the very bottom/end of any menu (default)
+    context=[{}],  # Applies to any task
+    available=lambda parameters: True,  # available regardless decision parameters (default)
+    schema={
+        'type': 'string',
+        'maxLength': 255,
+        'default': 'World',
+        'title': 'Target Name',
+        'description': """
+A name wish to say hello to...
+This should normally be **your name**.
+
+But you can also use the default value `'World'`.
+        """.strip(),
+    },
+)
+def hello_world_action(parameters, input, task_group_id, task_id, task):
+    print("This message was triggered from context-menu of taskId: {}".format(task_id))
+    print("")
+    print("Hello {}".format(input))
+    print("--- Action is now executed")