bug 1393277 - fix raw-file link in action tasks. r=bstack draft
authorAki Sasaki <asasaki@mozilla.com>
Tue, 03 Oct 2017 10:30:18 -0700
changeset 674366 038268c0d6c98373b071e39b1ee320153f082fe3
parent 674365 5537f731d4ad626044c2749c6e4679233ea79850
child 734308 29d4a56b64c516326344cb0e34b4324c1873fe61
push id82812
push userasasaki@mozilla.com
push dateTue, 03 Oct 2017 17:38:45 +0000
reviewersbstack
bugs1393277
milestone58.0a1
bug 1393277 - fix raw-file link in action tasks. r=bstack MozReview-Commit-ID: EmJ6Nsivb4H
taskcluster/taskgraph/actions/registry.py
--- a/taskcluster/taskgraph/actions/registry.py
+++ b/taskcluster/taskgraph/actions/registry.py
@@ -188,17 +188,17 @@ def register_callback_action(name, title
             task_group_id = os.environ.get('TASK_ID', slugid())
 
             return {
                 'created': {'$fromNow': ''},
                 'deadline': {'$fromNow': '12 hours'},
                 'expires': {'$fromNow': '1 year'},
                 'metadata': {
                     'owner': 'mozilla-taskcluster-maintenance@mozilla.com',
-                    'source': '{}raw-file/{}/{}'.format(
+                    'source': '{}/raw-file/{}/{}'.format(
                         parameters['head_repository'], parameters['head_rev'], source_path,
                     ),
                     'name': 'Action: {}'.format(title),
                     'description': 'Task executing callback for action.\n\n---\n' + description,
                 },
                 'workerType': 'gecko-{}-decision'.format(parameters['level']),
                 'provisionerId': 'aws-provisioner-v1',
                 'taskGroupId': task_group_id,