1
0
Fork 0

Temp try to run raptor on PRs

master
Johan Lorenzo 2019-06-14 13:33:54 +02:00 committed by Sebastian Kaspari
parent 2068968325
commit 08f553f13e
2 changed files with 18 additions and 10 deletions

View File

@ -135,13 +135,20 @@ tasks:
- {$eval: 'default_task_definition'}
- scopes:
- ${assume_scope_prefix}:pull-request
- project:mobile:fenix:releng:signing:cert:dep-signing
- queue:create-task:highest:aws-provisioner-v1/mobile-1-*
- queue:create-task:highest:proj-autophone/gecko-t-bitbar-gw-perf-g5
- queue:create-task:highest:proj-autophone/gecko-t-bitbar-gw-perf-p2
- queue:create-task:highest:scriptworker-prov-v1/mobile-signing-dep-v1
- queue:route:statuses
- queue:route:tc-treeherder.v2.fenix.*
payload:
command:
- >-
git fetch ${repository} ${head_branch}
&& git config advice.detachedHead false
&& git checkout FETCH_HEAD
&& python automation/taskcluster/decision_task.py pull-request
&& python automation/taskcluster/decision_task.py raptor --staging
env:
GITHUB_PULL_TITLE: ${pull_request_title}
extra:

View File

@ -394,15 +394,16 @@ class TaskBuilder(object):
self, assemble_task_id, variant, is_staging,
):
staging_prefix = '.staging' if is_staging else ''
routes = [
"index.project.mobile.fenix.v2{}.performance-test.{}.{}.{}.latest.{}".format(
staging_prefix, self.date.year, self.date.month, self.date.day, variant.abi
),
"index.project.mobile.fenix.v2{}.performance-test.{}.{}.{}.revision.{}.{}".format(
staging_prefix, self.date.year, self.date.month, self.date.day, self.commit, variant.abi
),
"index.project.mobile.fenix.v2{}.performance-test.latest.{}".format(staging_prefix, variant.abi),
]
# routes = [
# "index.project.mobile.fenix.v2{}.performance-test.{}.{}.{}.latest.{}".format(
# staging_prefix, self.date.year, self.date.month, self.date.day, variant.abi
# ),
# "index.project.mobile.fenix.v2{}.performance-test.{}.{}.{}.revision.{}.{}".format(
# staging_prefix, self.date.year, self.date.month, self.date.day, self.commit, variant.abi
# ),
# "index.project.mobile.fenix.v2{}.performance-test.latest.{}".format(staging_prefix, variant.abi),
# ]
routes = []
return self._craft_signing_task(
name='sign: {}'.format(variant.raw),