Skip to content

Commit

Permalink
galera scripts/build.sh requires dpkg to detect Debian/Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Sep 1, 2023
1 parent 54ad406 commit d927883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci_build_images/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN . /etc/os-release; \
ccache \
check \
default-jdk\
dpkg \
dumb-init \
gawk \
git \
Expand Down
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 d927883

Please sign in to comment.