Skip to content

Commit

Permalink
fixup! Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Apr 25, 2024
1 parent 1143bb3 commit e435539
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions master-libvirt/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,49 @@ def getRpmInstallStep():
command=["./rpm-install.sh"],
)

def getDebGaleraStep(port):
def if_run_galera_test(step):
if step.getProperty("sst_mode") == "off":
return False
return True

return Test(
name="galera",
warningPattern="Test warning:.*",
description=["testing", "galera", "SST"],
descriptionDone=["galera", "SST"],
timeout=300,
lazylogfiles=True,
logfiles={
"daemon": "/home/buildbot/logs/daemon.log",
"syslog": "/home/buildbot/logs/syslog",
"node1": "/home/buildbot/logs/node1.err",
"node2": "/home/buildbot/logs/node2.err",
"node3": "/home/buildbot/logs/node3.err",
"node1.mariabackup.prepare": "/home/buildbot/logs/node1.mariabackup.prepare.log",
"node2.mariabackup.prepare": "/home/buildbot/logs/node2.mariabackup.prepare.log",
"node3.mariabackup.prepare": "/home/buildbot/logs/node3.mariabackup.prepare.log",
"node1.mariabackup.move": "/home/buildbot/logs/node1.mariabackup.move.log",
"node2.mariabackup.move": "/home/buildbot/logs/node2.mariabackup.move.log",
"node3.mariabackup.move": "/home/buildbot/logs/node3.mariabackup.move.log",
"node1.mariabackup.backup": "/home/buildbot/logs/node1.mariabackup.backup.log",
"node2.mariabackup.backup": "/home/buildbot/logs/node2.mariabackup.backup.log",
"node4.mariabackup.backup": "/home/buildbot/logs/node4.mariabackup.backup.log",
},
doStepIf=if_run_galera_test,
env=envFromProperties(
[
"BB_CI",
"arch",
"artifactsURL",
"master_branch",
"sst_mode",
"version_name",
]
),
command=["./deb-galera.sh"],
)


def getDebUpgradeStep():
return Test(
Expand Down

0 comments on commit e435539

Please sign in to comment.