Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbogo committed Jun 3, 2024
2 parents 47e9611 + 7207fbf commit 8dcc80a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 49 deletions.
4 changes: 2 additions & 2 deletions common_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def run(self):
)

if tests:
test_args = " ".join(tests)
test_args = " ".join(set(tests))
self.setProperty("tests_to_run", test_args)

return results.SUCCESS
Expand Down Expand Up @@ -463,7 +463,7 @@ def getRpmAutobakeFactory(mtrDbPool):
baseurl=%(kw:url)s/%(prop:tarbuildnum)s/%(prop:buildername)s/rpms
gpgcheck=0
EOF
if [ "%(prop:rpm_type)s" = rhel8 ] || [ "%(prop:rpm_type)s" = centosstream8 ]; then
if [ "%(prop:rpm_type)s" = rhel8 ] || [ "%(prop:rpm_type)s" = centosstream8 ] || [ "%(prop:rpm_type)s" = alma8 ] || [ "%(prop:rpm_type)s" = rocky8 ]; then
echo "module_hotfixes = 1" >> MariaDB.repo
fi
""",
Expand Down
1 change: 1 addition & 0 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"amd64-fedora-39",
"amd64-freebsd-14",
"amd64-rhel-9",
"amd64-sles-15",
"ppc64be-aix-71",
"ppc64le-centos-stream9",
"ppc64le-debian-11",
Expand Down
2 changes: 2 additions & 0 deletions master-docker-nonstandard-2/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ addWorker(
"quay.io/mariadb-foundation/bb-worker:debian12-386",
jobs=20,
save_packages=False,
shm_size="30G",
)

addWorker(
Expand All @@ -153,6 +154,7 @@ addWorker(
"quay.io/mariadb-foundation/bb-worker:debian12-386",
jobs=20,
save_packages=False,
shm_size="30G",
)

addWorker(
Expand Down
2 changes: 1 addition & 1 deletion master-nonlatent/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ c["builders"].append(
util.BuilderConfig(
name="aarch64-macos-compile-only",
workernames=["bbw1-mac", "bbw2-mac"],
tags=["MacOS", "quick"],
tags=["MacOS", "quick", "protected"],
collapseRequests=True,
nextBuild=nextBuild,
factory=get_macos_factory(compile_only=True),
Expand Down
3 changes: 2 additions & 1 deletion scripts/bash_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ rpm_setup_mariadb_mirror() {
[mariadb]
name=MariaDB
baseurl=$baseurl
# //TEMP following is probably not needed for all OS
# //TEMP following is not needed for all OS
# - rhel8 based OS (almalinux 8, rockylinux 8, centos 8)
module_hotfixes = 1
gpgkey=https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Expand Down
39 changes: 0 additions & 39 deletions utilities.py

This file was deleted.

8 changes: 2 additions & 6 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,15 +461,11 @@ def hasEco(props):
def hasCompat(step):
builderName = str(step.getProperty("buildername"))

# For s390x there are no compat files
if "s390x" in builderName:
# For s390x and the listed distros there are no compat files
if any(builderName.find(sub) != -1 for sub in {"s390x", "fedora", "alma", "rocky"}):
return False
if "rhel" in builderName or "centos" in builderName:
return step.getProperty("rpm_type")[-1] in ["7", "8"]
if "fedora" in builderName:
return step.getProperty("rpm_type")[-1] in ["35", "36"]
if "alma" in builderName or "rocky" in builderName:
return False
return True


Expand Down

0 comments on commit 8dcc80a

Please sign in to comment.