bug 1442793 - release_generate_checksums_signing artifact_prefix r=bhearsum
authorAki Sasaki <asasaki@mozilla.com>
Wed, 21 Mar 2018 11:54:05 -0700
changeset 413962 d1c361a5ddc715b52adb3e1d8ad338ecdc59055d
parent 413961 b0d243813a067a3206a21a4e2c59d2d5cf554c6a
child 413963 58b09a0406d5581ee0e179cdf5f0164ac47b5469
push id33853
push usercbrindusan@mozilla.com
push dateTue, 17 Apr 2018 09:51:13 +0000
treeherdermozilla-central@8b0ba3f7d099 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhearsum
bugs1442793
milestone61.0a1
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
bug 1442793 - release_generate_checksums_signing artifact_prefix r=bhearsum MozReview-Commit-ID: GwpgcNamgnI
taskcluster/taskgraph/transforms/release_generate_checksums_signing.py
--- a/taskcluster/taskgraph/transforms/release_generate_checksums_signing.py
+++ b/taskcluster/taskgraph/transforms/release_generate_checksums_signing.py
@@ -9,16 +9,17 @@ from __future__ import absolute_import, 
 
 from taskgraph.transforms.base import TransformSequence
 from taskgraph.util.attributes import copy_attributes_from_dependent_job
 from taskgraph.util.schema import validate_schema, Schema
 from taskgraph.util.scriptworker import (
     get_signing_cert_scope,
     get_worker_type_for_scope,
 )
+from taskgraph.util.taskcluster import get_artifact_path
 from taskgraph.transforms.task import task_description_schema
 from voluptuous import Required, Optional
 
 # Voluptuous uses marker objects as dictionary *keys*, but they are not
 # comparable, so we cast all of the keys back to regular strings
 task_description_schema = {str(k): v for k, v in task_description_schema.schema.iteritems()}
 
 transforms = TransformSequence()
@@ -65,18 +66,18 @@ def make_release_generate_checksums_sign
         dependencies = {
             "build": dep_job.label
         }
 
         upstream_artifacts = [{
             "taskId": {"task-reference": "<build>"},
             "taskType": "build",
             "paths": [
-                "public/build/SHA256SUMS",
-                "public/build/SHA512SUMS",
+                get_artifact_path(dep_job, "SHA256SUMS"),
+                get_artifact_path(dep_job, "SHA512SUMS"),
             ],
             "formats": ["gpg"]
         }]
 
         signing_cert_scope = get_signing_cert_scope(config)
 
         task = {
             'label': label,