diff --git a/taskcluster/ci/push-apk/kind.yml b/taskcluster/ci/push-apk/kind.yml index 6311e5f9d..4177846f8 100644 --- a/taskcluster/ci/push-apk/kind.yml +++ b/taskcluster/ci/push-apk/kind.yml @@ -37,6 +37,7 @@ job-template: beta: fennec-beta release: fennec-production nightly: production + google-play-track: alpha dep: by-level: '3': false diff --git a/taskcluster/fenix_taskgraph/worker_types.py b/taskcluster/fenix_taskgraph/worker_types.py index 901793210..11b27a017 100644 --- a/taskcluster/fenix_taskgraph/worker_types.py +++ b/taskcluster/fenix_taskgraph/worker_types.py @@ -74,6 +74,7 @@ def build_scriptworker_signing_payload(config, task, task_def): Required("commit"): bool, Required("product"): text_type, Required("dep"): bool, + Optional("google-play-track"): text_type, }, ) def build_push_apk_payload(config, task, task_def): @@ -87,6 +88,8 @@ def build_push_apk_payload(config, task, task_def): "commit": worker["commit"], "upstreamArtifacts": worker["upstream-artifacts"], } + if worker.get("google-play-track"): + task_def["payload"]["google_play_track"] = worker["google-play-track"] scope_prefix = config.graph_config["scriptworker"]["scope-prefix"] task_def["scopes"].append(