diff --git a/app/build.gradle b/app/build.gradle index e27e95050..8b74b2bda 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -48,9 +48,9 @@ android { applicationIdSuffix ".debug" manifestPlaceholders.isRaptorEnabled = "true" } - // "releaseRaptor" is only used for performance testing, and isn't a real "release" type - releaseRaptor releaseTemplate >> { // the ">>" concatenates the releaseRaptor-specific options with the template + raptor releaseTemplate >> { // the ">>" concatenates the raptor-specific options with the template manifestPlaceholders.isRaptorEnabled = "true" + applicationIdSuffix ".raptor" } nightly releaseTemplate >> { buildConfigField "boolean", "IS_RELEASED", "true" diff --git a/automation/taskcluster/decision_task.py b/automation/taskcluster/decision_task.py index e2e7170f4..8b14bb507 100644 --- a/automation/taskcluster/decision_task.py +++ b/automation/taskcluster/decision_task.py @@ -72,12 +72,12 @@ def pr_or_push(is_push): # autophone only supports arm and aarch64, so only sign/perftest those builds if ( is_push and - build_type == 'releaseRaptor' and + build_type == 'raptor' and architecture in ('arm', 'aarch64') and SHORT_HEAD_BRANCH == 'master' ): signing_task_id = taskcluster.slugId() - signing_tasks[signing_task_id] = BUILDER.craft_master_commit_signing_task(assemble_task_id, variant) + signing_tasks[signing_task_id] = BUILDER.craft_raptor_signing_task(assemble_task_id, variant) ALL_RAPTOR_CRAFT_FUNCTIONS = [ BUILDER.craft_raptor_tp6m_cold_task(for_suite=i) diff --git a/automation/taskcluster/lib/tasks.py b/automation/taskcluster/lib/tasks.py index 6f6a8bdda..b0d4ad6cd 100644 --- a/automation/taskcluster/lib/tasks.py +++ b/automation/taskcluster/lib/tasks.py @@ -175,7 +175,7 @@ class TaskBuilder(object): return self._craft_clean_gradle_task( name='lint', description='Running lint for aarch64 release variant', - gradle_task='lintAarch64Release', + gradle_task='lintAarch64Nightly', treeherder={ 'jobKind': 'test', 'machine': { @@ -341,27 +341,25 @@ class TaskBuilder(object): }, } - def craft_master_commit_signing_task( + def craft_raptor_signing_task( self, assemble_task_id, variant ): - architecture, build_type = get_architecture_and_build_type_from_variant(variant) - build_type = convert_camel_case_into_kebab_case(build_type) - + architecture, _ = get_architecture_and_build_type_from_variant(variant) routes = [] if self.repo_url == _OFFICIAL_REPO_URL: routes = [ 'index.project.mobile.fenix.v2.branch.master.revision.{}.{}.{}'.format( - self.commit, build_type, architecture + self.commit, 'raptor', architecture ), 'index.project.mobile.fenix.v2.branch.master.latest.{}.{}'.format( - build_type, architecture + 'raptor', architecture ), 'index.project.mobile.fenix.v2.branch.master.pushdate.{}.{}.{}.revision.{}.{}.{}'.format( self.date.year, self.date.month, self.date.day, self.commit, - build_type, architecture + 'raptor', architecture ), 'index.project.mobile.fenix.v2.branch.master.pushdate.{}.{}.{}.latest.{}.{}'.format( - self.date.year, self.date.month, self.date.day, build_type, architecture + self.date.year, self.date.month, self.date.day, 'raptor', architecture ), ] @@ -525,7 +523,7 @@ class TaskBuilder(object): "--test-packages-url={}/{}/artifacts/public/build/target.test_packages.json".format(_DEFAULT_TASK_URL, mozharness_task_id), "--test={}".format(test_name), "--app=fenix", - "--binary=org.mozilla.fenix", + "--binary=org.mozilla.fenix.raptor", "--activity=GeckoViewActivity", "--download-symbols=ondemand" ] + extra_test_args,