From 68a2513809b5ed33b31f2c60426a7400d7938616 Mon Sep 17 00:00:00 2001 From: Jeff Boek Date: Mon, 4 Mar 2019 10:11:26 -0800 Subject: [PATCH] Fixes failing taskcluster build --- automation/taskcluster/decision_task_nightly.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/automation/taskcluster/decision_task_nightly.py b/automation/taskcluster/decision_task_nightly.py index 313b1c7a7..988b356de 100644 --- a/automation/taskcluster/decision_task_nightly.py +++ b/automation/taskcluster/decision_task_nightly.py @@ -45,6 +45,7 @@ def generate_build_task(apks, is_staging): ) ) sentry_secret = '{}project/mobile/fenix/sentry'.format('garbage/staging/' if is_staging else '') + adjust_secret = '{}project/mobile/fenix/adjust'.format('garbage/staging/' if is_staging else '') return taskcluster.slugId(), BUILDER.build_task( name="(Fenix) Build task", @@ -53,7 +54,8 @@ def generate_build_task(apks, is_staging): checkout + ' && python automation/taskcluster/helper/get-secret.py' ' -s {} -k dsn -f .sentry_token'.format(sentry_secret) + - ' && python automation/taskcluster/adjust/get-secret.py get-secret.py -s project/mobile/fenix/adjust -k Greenfield -f .adjust_token' if not is_staging else '' + + ' && python automation/taskcluster/helper/get-secret.py' + '-s {} -k Greenfield -f .adjust_token'.format(adjust_secret) ' && ./gradlew --no-daemon -PcrashReports=true clean test assembleGreenfieldRelease'), features={ "chainOfTrust": True, @@ -61,7 +63,8 @@ def generate_build_task(apks, is_staging): }, artifacts=artifacts, scopes=[ - "secrets:get:{}".format(sentry_secret) + "secrets:get:{}".format(sentry_secret), + "secrets:get:{}".format(adjust_secret) ] )