mockbuild: remove unused logs
These logs are not preserved, just remove them.
This commit is contained in:
parent
d9742a669c
commit
444c1cc006
1 changed files with 2 additions and 3 deletions
|
|
@ -74,9 +74,8 @@ sudo mock -v -r $MOCK_CONFIG --resultdir repo/$REPO_DIR --with=tests \
|
|||
# Change the ownership of all of our repo files from root to our CI user.
|
||||
sudo chown -R $USER repo/${REPO_DIR%%/*}
|
||||
|
||||
# Move the logs out of the way.
|
||||
greenprint "🧹 Retaining logs from mock build"
|
||||
mv repo/${REPO_DIR}/*.log $WORKSPACE
|
||||
greenprint " Remove logs from mock build"
|
||||
rm repo/${REPO_DIR}/*.log
|
||||
|
||||
# Create a repo of the built RPMs.
|
||||
greenprint "⛓️ Creating dnf repository"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue