Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbogo committed Mar 26, 2024
2 parents f2c4f88 + 4675ca1 commit b97baab
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 26 deletions.
4 changes: 2 additions & 2 deletions common_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def getBuildFactoryPreTest(build_type="RelWithDebInfo", additional_args=""):
f_quick_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -368,7 +368,7 @@ def getRpmAutobakeFactory(mtrDbPool):
f_rpm_autobake.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down
2 changes: 2 additions & 0 deletions docker-compose/.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ NGINX_ARTIFACTS_VHOST="ci.mariadb.org"
ENVIRON="PROD"
BRANCH="main"
MASTER_NONLATENT_DOCKERLIBRARY_WORKER="bb-rhel8-docker"
MASTER_NONLATENT_BINTARS_WORKER="monty-bbw1-x64"
MASTER_NONLATENT_BINTARS_WORKER_PORT="10002"
2 changes: 2 additions & 0 deletions docker-compose/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ NGINX_ARTIFACTS_VHOST="ci.dev.mariadb.org"
ENVIRON="DEV"
BRANCH="dev"
MASTER_NONLATENT_DOCKERLIBRARY_WORKER="bb-rhel9-docker"
MASTER_NONLATENT_BINTARS_WORKER="ro-apexis-bbw03-x64"
MASTER_NONLATENT_BINTARS_WORKER_PORT="10007"
6 changes: 3 additions & 3 deletions master-bintars/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ c["buildbotURL"] = os.getenv("BUILDMASTER_URL", default="https://buildbot.mariad
# could connect to your master with this protocol.
# 'port' must match the value configured into the workers (with their
# --master option)
port = int(os.getenv("PORT", default="10002"))
port = int(os.getenv("MASTER_NONLATENT_BINTARS_WORKER_PORT", default="10002"))
c["protocols"] = {"pb": {"port": port}}

####### DB URL
Expand Down Expand Up @@ -109,7 +109,7 @@ def mkWorker(name, **kwargs):
# worker name and password must be configured on the worker.
c["workers"] = []

c["workers"].append(mkWorker("monty-bbw1-x64", max_builds=1, properties={"jobs": 12}))
c["workers"].append(mkWorker(os.getenv("MASTER_NONLATENT_BINTARS_WORKER", default="monty-bbw1-x64"), max_builds=1, properties={"jobs": 12}))


####### FACTORY CODE
Expand Down Expand Up @@ -358,7 +358,7 @@ for b in builder_definitions:
c["builders"].append(
util.BuilderConfig(
name=builder_name + "-kvm-" + b + "-bintar",
workernames=["monty-bbw1-x64"],
workernames=[os.getenv("MASTER_NONLATENT_BINTARS_WORKER", default="monty-bbw1-x64")],
factory=f,
)
)
Expand Down
29 changes: 21 additions & 8 deletions master-docker-nonstandard-2/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ f_asan_ubsan_build.addStep(downloadSourceTarball())
f_asan_ubsan_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -301,7 +301,7 @@ f_asan_build.addStep(downloadSourceTarball())
f_asan_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -435,7 +435,7 @@ f_msan_build.addStep(downloadSourceTarball())
f_msan_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -550,7 +550,7 @@ f_valgrind_build.addStep(downloadSourceTarball())
f_valgrind_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -674,7 +674,7 @@ f_big_test.addStep(
f_big_test.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf " + "%(prop:mariadb_version)s" + ".tar.gz --strip-components=1"
"tar -xzf " + "%(prop:mariadb_version)s" + ".tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -856,10 +856,23 @@ f_full_test.addStep(downloadSourceTarball())
f_full_test.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
f_full_test.addStep(
steps.ShellCommand(
name="create html log file",
command=[
"bash",
"-c",
util.Interpolate(
getHTMLLogString(),
jobs=util.Property("jobs", default="$(getconf _NPROCESSORS_ONLN)"),
),
],
)
)
# build steps
f_full_test.addStep(
steps.Compile(
Expand Down Expand Up @@ -916,7 +929,7 @@ f_without_server.addStep(steps.ShellCommand(command="ls -la"))
f_without_server.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -1142,7 +1155,7 @@ f_bintar.addStep(downloadSourceTarball())
f_bintar.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down
29 changes: 21 additions & 8 deletions master-docker-nonstandard/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ f_asan_ubsan_build.addStep(downloadSourceTarball())
f_asan_ubsan_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -554,7 +554,7 @@ f_asan_build.addStep(downloadSourceTarball())
f_asan_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -688,7 +688,7 @@ f_msan_build.addStep(downloadSourceTarball())
f_msan_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -803,7 +803,7 @@ f_valgrind_build.addStep(downloadSourceTarball())
f_valgrind_build.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -927,7 +927,7 @@ f_big_test.addStep(
f_big_test.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf " + "%(prop:mariadb_version)s" + ".tar.gz --strip-components=1"
"tar -xzf " + "%(prop:mariadb_version)s" + ".tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -1109,10 +1109,23 @@ f_full_test.addStep(downloadSourceTarball())
f_full_test.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
f_full_test.addStep(
steps.ShellCommand(
name="create html log file",
command=[
"bash",
"-c",
util.Interpolate(
getHTMLLogString(),
jobs=util.Property("jobs", default="$(getconf _NPROCESSORS_ONLN)"),
),
],
)
)
# build steps
f_full_test.addStep(
steps.Compile(
Expand Down Expand Up @@ -1169,7 +1182,7 @@ f_without_server.addStep(steps.ShellCommand(command="ls -la"))
f_without_server.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down Expand Up @@ -1395,7 +1408,7 @@ f_bintar.addStep(downloadSourceTarball())
f_bintar.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down
8 changes: 4 additions & 4 deletions master-nonlatent/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ f_windows.addStep(
"dojob",
'"',
util.Interpolate(
"tar -xvzf %(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf %(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
),
'"',
],
Expand Down Expand Up @@ -398,7 +398,7 @@ f_windows_msi.addStep(
"dojob",
'"',
util.Interpolate(
"tar -xvzf %(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf %(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
),
'"',
],
Expand Down Expand Up @@ -730,7 +730,7 @@ f_aix.addStep(downloadSourceTarball())
f_aix.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz"
)
)
)
Expand Down Expand Up @@ -844,7 +844,7 @@ f_macos.addStep(downloadSourceTarball(output_dir="~/packages/"))
f_macos.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf ~/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf ~/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ f_deb_autobake.addStep(downloadSourceTarball())
f_deb_autobake.addStep(
steps.ShellCommand(
command=util.Interpolate(
"tar -xvzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
"tar -xzf /mnt/packages/%(prop:tarbuildnum)s_%(prop:mariadb_version)s.tar.gz --strip-components=1"
)
)
)
Expand Down

0 comments on commit b97baab

Please sign in to comment.