Skip to content

Commit

Permalink
Galera's package build has a flawed detection of Debian package build.
Browse files Browse the repository at this point in the history
Force debian via env variable.

Upstream fix on autodetection MariaDB/galera#10
  • Loading branch information
grooverdan committed Sep 4, 2023
1 parent ac59f72 commit ce7b584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master-galera/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ f_deb_build.addStep(steps.GitHub(
submodules=True
))
f_deb_build.addStep(steps.ShellCommand(name='build packages', command=["bash", "-xc", util.Interpolate("""set -e
./scripts/build.sh -p""")], workdir='build'))
./scripts/build.sh -p""")], workdir='build', env={'DEBIAN': '1'}))
f_deb_build.addStep(dpkgDeb())
f_deb_build.addStep(steps.ShellCommand(name='save_packages', timeout=7200, haltOnFailure=True, command=util.Interpolate('mkdir -p ' + '/packages/' + '%(prop:branch)s' + '/' + '%(prop:revision)s' + '/' + '%(prop:buildername)s'+ ' && cp -r debs/ sha256sums.txt /packages/' + '%(prop:branch)s' + '/' + '%(prop:revision)s' + '/' + '%(prop:buildername)s' + '/' + ' && sync /packages/' + '%(prop:branch)s' + '/' + '%(prop:revision)s'), doStepIf=lambda step: savePackage(step, savedPackageBranches)))
f_deb_build.addStep(steps.ShellCommand(name="cleanup", command="rm -r * .* 2> /dev/null || true", alwaysRun=True))
Expand Down

0 comments on commit ce7b584

Please sign in to comment.