1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-28 18:56:15 +01:00

GHA: Fix obs-server test container to own files created under /srv/obs/build by obsrun

This commit is contained in:
Daniel Mach 2024-01-26 13:50:36 +01:00
parent 5662198d22
commit 9070d03cb6

View File

@ -100,7 +100,7 @@ FILES="_buildenv _statistics rpmlint.log"
for ARCH in $ARCHES; do
for PACKAGE in $PACKAGES; do
for FILE in $FILES; do
touch /srv/obs/build/test:factory/standard/$ARCH/$PACKAGE/$FILE
runuser -l obsrun -s /bin/bash -c "touch /srv/obs/build/test:factory/standard/$ARCH/$PACKAGE/$FILE"
done
done
done