Bug 1877483 - set-up larch as a branch that supports nightly updates r=jlorenzo

Differential Revision: https://phabricator.services.mozilla.com/D200383
This commit is contained in:
Geoff Brown 2024-02-06 17:00:19 +00:00
parent 450b8e97d3
commit 9dd2421805
7 changed files with 19 additions and 3 deletions

View File

@ -71,6 +71,7 @@ job-defaults:
by-project:
try: nightly-try
default: nightly
nightly-larch: nightly-larch
nightly-oak: nightly-oak
nightly-pine: nightly-pine
beta:

View File

@ -51,6 +51,7 @@ job-defaults:
by-project:
try: nightly-try
default: nightly
nightly-larch: nightly-larch
nightly-oak: nightly-oak
nightly-pine: nightly-pine
beta:

View File

@ -99,6 +99,10 @@ PER_PROJECT_PARAMETERS = {
"target_tasks_method": "default",
"release_type": "nightly-pine",
},
"larch": {
"target_tasks_method": "default",
"release_type": "nightly-larch",
},
"kaios": {
"target_tasks_method": "kaios_tasks",
},

View File

@ -62,7 +62,7 @@ class MatchRunOnProjects(unittest.TestCase):
def test_release(self):
self.assertFalse(match_run_on_projects("birch", ["release"]))
self.assertFalse(match_run_on_projects("larch", ["release"]))
self.assertTrue(match_run_on_projects("larch", ["release"]))
self.assertFalse(match_run_on_projects("autoland", ["release"]))
self.assertTrue(match_run_on_projects("mozilla-central", ["release"]))
self.assertTrue(match_run_on_projects("mozilla-beta", ["release"]))
@ -78,7 +78,7 @@ class MatchRunOnProjects(unittest.TestCase):
def test_combo(self):
self.assertTrue(match_run_on_projects("birch", ["release", "birch", "maple"]))
self.assertFalse(match_run_on_projects("larch", ["release", "birch", "maple"]))
self.assertTrue(match_run_on_projects("larch", ["release", "birch", "maple"]))
self.assertTrue(match_run_on_projects("maple", ["release", "birch", "maple"]))
self.assertFalse(
match_run_on_projects("autoland", ["release", "birch", "maple"])

View File

@ -48,7 +48,7 @@ def _generate_task_output_files(job, filenames, locale=None):
def identify_desired_signing_keys(project, product):
if project in ["mozilla-central", "comm-central", "pine"]:
if project in ["mozilla-central", "comm-central", "larch", "pine"]:
return "nightly"
if project == "mozilla-beta":
if product == "devedition":

View File

@ -23,6 +23,8 @@ RELEASE_PROJECTS = {
# bug 1845368: pine is a permanent project branch used for testing
# nightly updates
"pine",
# bug 1877483: larch has similar needs for nightlies
"larch",
}
RELEASE_PROMOTION_PROJECTS = {

View File

@ -54,6 +54,8 @@ SIGNING_SCOPE_ALIAS_TO_PROJECT = [
# bug 1845368: pine is a permanent project branch used for testing
# nightly updates
"pine",
# bug 1877483: larch has similar needs for nightlies
"larch",
},
],
[
@ -102,6 +104,8 @@ BEETMOVER_SCOPE_ALIAS_TO_PROJECT = [
# bug 1845368: pine is a permanent project branch used for testing
# nightly updates
"pine",
# bug 1877483: larch has similar needs for nightlies
"larch",
},
],
[
@ -141,6 +145,8 @@ BEETMOVER_ACTION_SCOPES = {
# bug 1845368: pine is a permanent project branch used for testing
# nightly updates
"nightly-pine": "beetmover:action:push-to-nightly",
# bug 1877483: larch has similar needs for nightlies
"nightly-larch": "beetmover:action:push-to-nightly",
"default": "beetmover:action:push-to-candidates",
}
@ -173,6 +179,8 @@ BALROG_SCOPE_ALIAS_TO_PROJECT = [
# bug 1845368: pine is a permanent project branch used for testing
# nightly updates
"pine",
# bug 1877483: larch has similar needs for nightlies
"larch",
},
],
[