Skip to content

Commit f2d2219

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 d4206f4 commit f2d2219

1 file changed

Lines changed: 29 additions & 3 deletions

File tree

mozregression/fetch_configs.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,21 @@ def tk_routes(self, push):
592592
return
593593

594594

595+
class FenixIntegrationConfigMixin(IntegrationConfigMixin):
596+
tk_name = "fenix"
597+
598+
def tk_routes(self, push):
599+
for build_type in self.build_types:
600+
yield "gecko.v2.{}.revision.{}.mobile.{}-{}".format(
601+
self.integration_branch,
602+
push.changeset,
603+
self.tk_name,
604+
build_type,
605+
)
606+
self._inc_used_build()
607+
return
608+
609+
595610
class ThunderbirdIntegrationConfigMixin(IntegrationConfigMixin):
596611
default_integration_branch = "comm-central"
597612

@@ -738,9 +753,14 @@ def available_bits(self):
738753

739754

740755
@REGISTRY.register("fenix")
741-
class FenixConfig(FenixNightlyConfigMixin, CommonConfig):
756+
class FenixConfig(FenixNightlyConfigMixin, FenixIntegrationConfigMixin, CommonConfig):
757+
BUILD_TYPES = ("shippable",)
758+
BUILD_TYPE_FALLBACKS = {
759+
"shippable": ("nightly", "nightly-simulation"),
760+
}
761+
742762
def build_regex(self):
743-
return r"fenix-.+\.apk"
763+
return r"(target.{}|fenix-.*)\.apk".format(self.arch)
744764

745765
def build_info_regex(self):
746766
return r"(?!)" # Match nothing
@@ -762,8 +782,14 @@ def should_use_archive(self):
762782

763783
@REGISTRY.register("focus")
764784
class FocusConfig(FocusNightlyConfigMixin, FenixConfig):
785+
BUILD_TYPE_FALLBACKS = {
786+
"shippable": ("nightly",),
787+
}
788+
789+
tk_name = "focus"
790+
765791
def build_regex(self):
766-
return r"focus-.+\.apk"
792+
return r"(target.{}|focus-.*)\.apk".format(self.arch)
767793

768794

769795
@REGISTRY.register("gve")

0 commit comments

Comments
 (0)