public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Magnus Granberg" <zorry@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tinderbox-cluster:master commit in: buildbot_gentoo_ci/config/
Date: Sat,  8 Jan 2022 17:22:30 +0000 (UTC)	[thread overview]
Message-ID: <1641662531.52f785d4268d9238e940e4c2b3297f7cdeeea0a8.zorry@gentoo> (raw)

commit:     52f785d4268d9238e940e4c2b3297f7cdeeea0a8
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  8 17:22:11 2022 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Sat Jan  8 17:22:11 2022 +0000
URL:        https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=52f785d4

clean portage logs

Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>

 buildbot_gentoo_ci/config/buildfactorys.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/buildbot_gentoo_ci/config/buildfactorys.py b/buildbot_gentoo_ci/config/buildfactorys.py
index 6203a1f..53e7bb1 100644
--- a/buildbot_gentoo_ci/config/buildfactorys.py
+++ b/buildbot_gentoo_ci/config/buildfactorys.py
@@ -109,6 +109,18 @@ def run_build_request():
                                 workdir='/etc/'))
     f.addStep(buildbot_steps.MakeDirectory(dir="portage",
                                 workdir='/etc/'))
+    # Clean /var/cache/portage/logs and emerge.log
+    f.addStep(buildbot_steps.ShellCommand(
+                        name='Clean emerge.log',
+                        command=['rm', 'emerge.log'],
+                        workdir='/var/log/'
+                        ))
+    f.addStep(buildbot_steps.ShellCommand(
+                        flunkOnFailure=False,
+                        name='Clean logs',
+                        command=['rm', '-R', 'logs'],
+                        workdir='/var/cache/portage/'
+                        ))
     # setup the profile
     #NOTE: pkgcheck do not support it as a dir
     #f.addStep(buildbot_steps.MakeDirectory(dir="make.profile",


             reply	other threads:[~2022-01-08 17:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08 17:22 Magnus Granberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-06 22:27 [gentoo-commits] proj/tinderbox-cluster:master commit in: buildbot_gentoo_ci/config/ Magnus Granberg
2023-06-10 10:08 Magnus Granberg
2023-06-05  8:09 Magnus Granberg
2023-05-28  9:49 Magnus Granberg
2023-05-28  9:49 Magnus Granberg
2023-05-01  9:58 Magnus Granberg
2022-08-10 21:51 Magnus Granberg
2022-07-30 22:44 Magnus Granberg
2022-07-28 11:35 Magnus Granberg
2022-07-13 19:53 Magnus Granberg
2022-06-11  9:52 Magnus Granberg
2022-06-01  0:19 Magnus Granberg
2022-04-22 12:32 Magnus Granberg
2022-01-24  0:49 Magnus Granberg
2021-10-27 20:08 Magnus Granberg
2021-10-16 14:56 Magnus Granberg
2021-04-04 20:30 Magnus Granberg
2021-04-02 22:12 Magnus Granberg
2021-02-27 22:46 Magnus Granberg
2021-02-24 21:27 Magnus Granberg
2020-12-30  9:18 Magnus Granberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641662531.52f785d4268d9238e940e4c2b3297f7cdeeea0a8.zorry@gentoo \
    --to=zorry@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox