From bdd345bc795040c8802116999a3feaba2c3a1bed Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Wed, 8 May 2019 19:24:13 +0200 Subject: [PATCH] Configures pushapk to verify beta APK with beta certificate (#2349) * Provide certificate alias to pushapk payload * dev --- .taskcluster.yml | 2 +- automation/taskcluster/lib/tasks.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index dcbb262c7..db778493f 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -45,7 +45,7 @@ tasks: trust_level: # Pull requests on main repository can't be trusted because anybody can open a PR on it, without a review - $if: 'tasks_for in ["github-push", "github-release", "cron"] && event.repository.html_url == "https://github.com/mozilla-mobile/fenix"' + $if: 'tasks_for in ["github-push", "github-release", "cron"] && event.repository.html_url == "https://github.com/mitchhentges/fenix"' then: 3 else: 1 in: diff --git a/automation/taskcluster/lib/tasks.py b/automation/taskcluster/lib/tasks.py index 41224eb10..f4c55370b 100644 --- a/automation/taskcluster/lib/tasks.py +++ b/automation/taskcluster/lib/tasks.py @@ -423,6 +423,7 @@ class TaskBuilder(object): payload = { "commit": True, "google_play_track": track, + "certificate_alias": 'fenix' if is_staging else 'fenix-{}'.format(track), "upstreamArtifacts": [ { "paths": apks,