Skip to content

Commit a83e5e8

Browse files
committed
Bug 1857026 - Add integration branch bisection for Fenix/Focus
Set the name of the build type to "shippable" since the builds are all PGO. Note that the task names for Fenix call themselved 'nightly-simulation' but the intent is the same as 'shippable'. This also adds support for Focus, but that is less valuable since we don't schedule compatible builds very often.
1 parent 609e092 commit a83e5e8

1 file changed

Lines changed: 51 additions & 4 deletions

File tree

mozregression/fetch_configs.py

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,29 @@ def tk_routes(self, push):
599599
return
600600

601601

602+
class FenixIntegrationConfigMixin(IntegrationConfigMixin):
603+
tk_name = "fenix"
604+
605+
@property
606+
def integration_branch(self):
607+
return self.default_integration_branch
608+
609+
def tk_routes(self, push):
610+
for build_type in self.build_types:
611+
yield "gecko.v2.{}.revision.{}.mobile.{}-{}".format(
612+
self.integration_branch,
613+
push.changeset,
614+
self.tk_name,
615+
build_type,
616+
)
617+
self._inc_used_build()
618+
return
619+
620+
621+
class FocusIntegrationConfigMixin(FenixIntegrationConfigMixin):
622+
tk_name = "focus"
623+
624+
602625
class ThunderbirdIntegrationConfigMixin(IntegrationConfigMixin):
603626
default_integration_branch = "comm-central"
604627

@@ -743,9 +766,14 @@ def available_bits(self):
743766

744767

745768
@REGISTRY.register("fenix")
746-
class FenixConfig(CommonConfig, FenixNightlyConfigMixin):
769+
class FenixConfig(CommonConfig, FenixNightlyConfigMixin, FenixIntegrationConfigMixin):
770+
BUILD_TYPES = ("shippable",)
771+
BUILD_TYPE_FALLBACKS = {
772+
"shippable": ("nightly", "nightly-simulation"),
773+
}
774+
747775
def build_regex(self):
748-
return r"fenix-.+\.apk"
776+
return r"(target.{}|fenix-.*)\.apk".format(self.arch)
749777

750778
def available_bits(self):
751779
return ()
@@ -763,9 +791,28 @@ def should_use_archive(self):
763791

764792

765793
@REGISTRY.register("focus")
766-
class FocusConfig(FenixConfig, FocusNightlyConfigMixin):
794+
class FocusConfig(CommonConfig, FocusNightlyConfigMixin, FocusIntegrationConfigMixin):
795+
BUILD_TYPES = ("shippable",)
796+
BUILD_TYPE_FALLBACKS = {
797+
"shippable": ("nightly",),
798+
}
799+
767800
def build_regex(self):
768-
return r"focus-.+\.apk"
801+
return r"(target.{}|focus-.*)\.apk".format(self.arch)
802+
803+
def available_bits(self):
804+
return ()
805+
806+
def available_archs(self):
807+
return [
808+
"arm64-v8a",
809+
"armeabi-v7a",
810+
"x86",
811+
"x86_64",
812+
]
813+
814+
def should_use_archive(self):
815+
return True
769816

770817

771818
@REGISTRY.register("gve")

0 commit comments

Comments
 (0)