|
|
|
@ -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"
|
|
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|