diff options
Diffstat (limited to 'chromium/infra/config/project.star')
-rw-r--r-- | chromium/infra/config/project.star | 77 |
1 files changed, 35 insertions, 42 deletions
diff --git a/chromium/infra/config/project.star b/chromium/infra/config/project.star index ccbbfdf6f94..73a69c75920 100644 --- a/chromium/infra/config/project.star +++ b/chromium/infra/config/project.star @@ -3,54 +3,47 @@ # found in the LICENSE file. settings = struct( - # Switch this to False for branches - is_master = True, - ref = 'refs/heads/master', - ci_bucket = 'ci', - ci_poller = 'master-gitiles-trigger', - main_console_name = 'main', - main_console_title = 'Chromium Main Console', - cq_mirrors_console_name = 'mirrors', - cq_mirrors_console_title = 'Chromium CQ Mirrors Console', - try_bucket = 'try', - try_triggering_projects = ['angle', 'dawn', 'skia', 'v8'], - cq_group = 'cq', - cq_ref_regexp = 'refs/heads/.+', - main_list_view_name = 'try', - main_list_view_title = 'Chromium CQ console', - # Switch this to None for branches - tree_status_host = 'chromium-status.appspot.com/', + project = "chromium-m86", + is_master = False, + is_lts_branch = False, + ref = "refs/branch-heads/4240", + ci_bucket = "ci", + ci_poller = "chromium-gitiles-trigger", + main_console_name = "main", + main_console_title = "Chromium M86 Main Console", + cq_mirrors_console_name = "mirrors", + cq_mirrors_console_title = "Chromium M86 CQ Mirrors Console", + try_bucket = "try", + try_triggering_projects = [], + cq_group = "cq", + cq_ref_regexp = "refs/branch-heads/4240", + main_list_view_name = "try", + main_list_view_title = "Chromium M86 CQ console", + tree_status_host = None, ) - def _generate_project_pyl(ctx): - ctx.output['project.pyl'] = '\n'.join([ - '# This is a non-LUCI generated file', - '# This is consumed by presubmit checks that need to validate the config', - repr(dict( - # On master, we want to ensure that we don't have source side specs - # defined for non-existent builders - # On branches, we don't want to re-generate the source side specs as - # that would increase branch day toil and complicate cherry-picks - validate_source_side_specs_have_builder = settings.is_master, - )), - '', - ]) + ctx.output["project.pyl"] = "\n".join([ + "# This is a non-LUCI generated file", + "# This is consumed by presubmit checks that need to validate the config", + repr(dict( + # On master, we want to ensure that we don't have source side specs + # defined for non-existent builders + # On branches, we don't want to re-generate the source side specs as + # that would increase branch day toil and complicate cherry-picks + validate_source_side_specs_have_builder = settings.is_master, + )), + "", + ]) lucicfg.generator(_generate_project_pyl) - -def master_only_exec(f): - if settings.is_master: - exec(f) - - -# The branch numbers of branches that we have builders running for (including -# milestone-specific projects) -# Branch numbers for milestones can be viewed in the chromium column at +# The milestone names and branch numbers of branches that we have builders +# running for (including milestone-specific projects) +# Branch numbers and milestones can be viewed in the chromium column at # https://chromiumdash.appspot.com/branches # The 2 highest milestones will be the ones with active branches -ACTIVE_BRANCH_NUMBERS = [ - 4103, - 4147, +ACTIVE_BRANCHES = [ + ("m85", 4183), + ("m86", 4240), ] |