1
0
Fork 0

Issue #267: Setup release task to fetch sentry token and enable crash reporting.

master
Sebastian Kaspari 2019-01-30 11:41:54 +01:00 committed by Colin Lee
parent 7e7b5f6102
commit d7f60b20e1
2 changed files with 8 additions and 1 deletions

View File

@ -43,6 +43,7 @@ tasks:
- queue:scheduler-id:${scheduler_id}
- queue:create-task:highest:aws-provisioner-v1/${build_worker_type}
- project:mobile:fenix:releng:signing:format:autograph_apk
- secrets:get:project/mobile/fenix/sentry
- $if: is_mozilla_mobile_repo
then:
- queue:create-task:highest:scriptworker-prov-v1/mobile-signing-v1

View File

@ -40,12 +40,18 @@ def generate_build_task(apks, is_staging):
return taskcluster.slugId(), BUILDER.build_task(
name="(Fenix) Build task",
description="Build Fenix from source code.",
command='cd .. && {} && ./gradlew --no-daemon clean test assembleRelease'.format(checkout),
command=('cd .. && ' + checkout +
' && python automation/taskcluster/helper/get-secret.py'
' -s project/mobile/fenix/sentry -k dsn -f .sentry_token'
' && ./gradlew --no-daemon -PcrashReports=true clean test assembleRelease'),
features={
"chainOfTrust": True
},
artifacts=artifacts,
worker_type='android-components-g' if is_staging else 'gecko-focus',
scopes=[
"secrets:get:project/mobile/fenix/sentry"
]
)