Skip to content

Commit

Permalink
repo symlink in /packages/
Browse files Browse the repository at this point in the history
Steps where executed in root, so the target is a absolute file path.
  • Loading branch information
grooverdan authored and vladbogo committed Oct 24, 2023
1 parent 8778dce commit 1f22529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def getRpmAutobakeFactory(mtrDbPool):
command=util.Interpolate(
'mkdir -p ' + '/packages/' + '%(prop:tarbuildnum)s' + '/' + '%(prop:buildername)s'+
' && cp -r MariaDB.repo rpms srpms /packages/' + '%(prop:tarbuildnum)s' + '/' + '%(prop:buildername)s' + '/' +
' && ln -sf %(prop:tarbuildnum)s/%(prop:buildername)s/MariaDB.repo %(prop:branch)s-latest-%(prop:buildername)s.repo ' +
' && ln -sf %(prop:tarbuildnum)s/%(prop:buildername)s/MariaDB.repo /packages/%(prop:branch)s-latest-%(prop:buildername)s.repo ' +
' && sync /packages/' + '%(prop:tarbuildnum)s'
),
doStepIf=lambda step: hasFiles(step) and savePackage(step),
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 @@ 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 1f22529

Please sign in to comment.