bug 1442793 - release_generate_checksums_signing artifact_prefix r?bhearsum
MozReview-Commit-ID: GwpgcNamgnI
--- 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,