Skip to content

Commit

Permalink
deb_autobake - symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Oct 24, 2023
1 parent 8778dce commit ad803ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,18 @@ f_deb_autobake.addStep(steps.SetPropertyFromCommand(command="find .. -maxdepth 1
f_deb_autobake.addStep(dpkgDeb())
f_deb_autobake.addStep(steps.ShellCommand(name='save_packages', timeout=7200, haltOnFailure=True,
command=util.Interpolate("""
source /etc/os-release
. /etc/os-release &&
mkdir -p /packages/%(prop:tarbuildnum)s/%(prop:buildername)s &&
cp -r debs/ sha256sums.txt /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/ &&
cat << EOF > /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/mariadb.sources &&
cat << EOF > /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/mariadb.sources
X-Repolib-Name: MariaDB
Types: deb
URIs: https://ci.mariadb.org/%(prop:tarbuildnum)s/%(prop:buildername)s/
Suites: $VERSION_CODENAME
Components: main main/debug
Trusted: yes
EOF
ln -sf %(prop:tarbuildnum)s/%(prop:buildername)s/mariadb.sources %(prop:branch)s-latest-%(prop:buildername)s.sources &&
ln -sf %(prop:tarbuildnum)s/%(prop:buildername)s/mariadb.sources /packages/%(prop:branch)s-latest-%(prop:buildername)s.sources &&
sync /packages/%(prop:tarbuildnum)s
"""), doStepIf=lambda step: hasFiles(step) and savePackage(step)))
f_deb_autobake.addStep(steps.Trigger(name='dockerlibrary', schedulerNames=['s_dockerlibrary'], waitForFinish=False, updateSourceStamp=False,
Expand Down

0 comments on commit ad803ed

Please sign in to comment.