Skip to content

Commit 61310d3

Browse files
[CI] Setup Buildbot Infra for Premerge Builders
This patch sets up the buildbot infrastructure for the premerge builders. Reviewers: dschuff, Keenuts, lnihlen, gburgessiv, cmtice, gkistanova Reviewed By: cmtice Pull Request: #538
1 parent c96a522 commit 61310d3

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3535,7 +3535,29 @@
35353535
checkout_llvm_sources=False,
35363536
script_interpreter=None,
35373537
clean=True)},
3538-
3538+
3539+
# Builders that test the premerge configuration
3540+
# These builders are specifically for running the premerge configuration
3541+
# postcommit (after changes have landed in main). The configuration for
3542+
# running these checks premerge exists in the monorepo inside the
3543+
# .github/workflows/premerge.yaml file.
3544+
{'name': "premerge-monolithic-linux",
3545+
'workernames': ["premerge-us-central-linux", "premerge-us-west-linux"],
3546+
'builddir': "premerge-monolithic-linux",
3547+
'factory': AnnotatedBuilder.getAnnotatedBuildFactory(
3548+
script="premerge/dispatch_job.py",
3549+
checkout_llvm_sources=False,
3550+
extra_args=["Linux"],
3551+
depends_on_projects=["bolt", "clang", "clang-tools-extra", "compiler-rt", "flang", "flang-rt", "libc", "libclc", "lld", "lldb", "llvm", "mlir", "polly"])},
3552+
3553+
{'name': "premerge-monolithic-windows",
3554+
'workernames': ["premerge-us-central-windows", "premerge-us-west-windows"],
3555+
'builddir': "premerge-monolithic-windows",
3556+
'factory': AnnotatedBuilder.getAnnotatedBuildFactory(
3557+
script="premerge/dispatch_job.py",
3558+
checkout_llvm_sources=False,
3559+
extra_args=["Windows"],
3560+
depends_on_projects=["clang-tools-extra", "clang", "libclc", "lld", "llvm", "mlir", "polly"])},
35393561
]
35403562

35413563
# LLDB remote-linux builder env variables.

buildbot/osuosl/master/config/workers.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,16 @@ def get_all():
403403
create_worker("rise-worker-3", properties={'jobs' : 32}, max_builds=1),
404404
create_worker("rise-worker-4", properties={'jobs' : 32}, max_builds=1),
405405

406+
# Builders that run the premerge configuration
407+
# These workers are specifically for running the premerge configuration
408+
# postcommit (after changes have landed in main). The workers for the
409+
# infrastructure that runs the checks premerge are setup through Github
410+
# Actions under the premerge/ folder in llvm-zorg.
411+
create_worker("premerge-us-central-linux", properties={'jobs': 64}, max_builds=3),
412+
create_worker("premerge-us-central-windows", properties={'jobs': 64}, max_builds=3),
413+
create_worker("premerge-us-west-linux", properties={'jobs': 64}, max_builds=3),
414+
create_worker("premerge-us-west-windows", properties={'jobs': 64}, max_builds=3),
415+
406416
# FIXME: A placeholder for annoying worker which nobody could stop.
407417
# adding it avoid logs spammed by failed authentication for that worker.
408418
create_worker("mlir-ubuntu-worker0"),

0 commit comments

Comments
 (0)