Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 24 additions & 8 deletions configuration/builders/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ def docker_config(


def deb_release_builder(
name: str, image: Union[str, tuple[str, str]], worker_pool: list
name: str,
image: Union[str, tuple[str, str]],
worker_pool: list,
test_galera: bool = True,
test_rocksdb: bool = True,
test_s3: bool = True,
) -> GenericBuilder:
"""Create a Debian-based release builder
Args:
Expand All @@ -64,9 +69,9 @@ def deb_release_builder(
jobs=DEFAULT_BUILDER_JOBS,
config=docker_config(image=image_name, platform=image_platform),
artifacts_url=os.environ["ARTIFACTS_URL"],
test_galera=True,
test_rocksdb=True,
test_s3=True,
test_galera=test_galera,
test_rocksdb=test_rocksdb,
test_s3=test_s3,
),
],
).get_config(
Expand All @@ -80,7 +85,15 @@ def deb_release_builder(


def rpm_release_builder(
name: str, image: str, worker_pool: list, arch: str, has_compat: bool, rpm_type: str
name: str,
image: str,
worker_pool: list,
arch: str,
has_compat: bool,
rpm_type: str,
test_galera: bool = True,
test_rocksdb: bool = True,
test_s3: bool = True,
) -> GenericBuilder:
"""Create an RPM-based release builder
Args:
Expand All @@ -90,6 +103,9 @@ def rpm_release_builder(
arch: For fetching the correct RPM compatibility packages.
has_compat: Whether to include compatibility packages.
rpm_type: The type of RPM (e.g., "rhel8", "rhel9"). Used during packaging.
test_galera: Whether to test Galera.
test_rocksdb: Whether to test RocksDB.
test_s3: Whether to test S3.
"""
return GenericBuilder(
name=name,
Expand Down Expand Up @@ -117,9 +133,9 @@ def rpm_release_builder(
arch=arch,
artifacts_url=os.environ["ARTIFACTS_URL"],
has_compat=has_compat,
test_galera=True,
test_rocksdb=True,
test_s3=True,
test_galera=test_galera,
test_rocksdb=test_rocksdb,
test_s3=test_s3,
),
],
).get_config(
Expand Down
1 change: 1 addition & 0 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
"amd64-fedora-43",
"aarch64-ubuntu-2604",
"amd64-ubuntu-2604",
"amd64v3-ubuntu-2604-deb-autobake-migration",
"ppc64le-ubuntu-2604",
"s390x-ubuntu-2604",
]
Expand Down
6 changes: 6 additions & 0 deletions master-migration/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ c["builders"] = [
image="debian12",
worker_pool=DEFAULT_AMD64_WORKER_POOL,
),
deb_release_builder(
name="amd64v3-ubuntu-2604-deb-autobake-migration",
image="ubuntu26.04-amd64v3",
worker_pool=WORKER_POOL.get_workers_for_arch(arch="amd64", names=["hz-bbw6"]),
test_galera=False,
),
]

## ------------------------------------------------------------------- ##
Expand Down