Bug 1385097 - Remove hello action draft
authorBrian Stack <bstack@mozilla.com>
Thu, 27 Jul 2017 15:39:55 -0700
changeset 617110 1f72c54fe65b1445f70f1314f72eff1481e352f1
parent 616988 c6f07247175b9c46fffbea9b7468a536b766f7f9
child 639701 903552750a0a00c6c457b924a29c2017ca17c460
push id70926
push userbstack@mozilla.com
push dateThu, 27 Jul 2017 22:40:30 +0000
bugs1385097
milestone56.0a1
Bug 1385097 - Remove hello action MozReview-Commit-ID: 1x4IfPma4gO
taskcluster/taskgraph/actions/hello-action.py
deleted file mode 100644
--- a/taskcluster/taskgraph/actions/hello-action.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# -*- 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")