From 444c1cc006b1dc838c24cff0f3bae8f85816c666 Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Fri, 20 Nov 2020 13:24:28 +0100 Subject: [PATCH] mockbuild: remove unused logs These logs are not preserved, just remove them. --- schutzbot/mockbuild.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index 7bbbb94..1a0cb32 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -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"