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: Mon, 5 Jun 2023 08:09:27 +0000 (UTC) [thread overview]
Message-ID: <1685912383.599646e376fc489f091b4f53ec7574ca61cec63b.zorry@gentoo> (raw)
commit: 599646e376fc489f091b4f53ec7574ca61cec63b
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 4 20:59:43 2023 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Sun Jun 4 20:59:43 2023 +0000
URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=599646e3
Disable distfiles on docker
Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>
buildbot_gentoo_ci/config/workers.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/buildbot_gentoo_ci/config/workers.py b/buildbot_gentoo_ci/config/workers.py
index 83eeda2..5f3a5a6 100644
--- a/buildbot_gentoo_ci/config/workers.py
+++ b/buildbot_gentoo_ci/config/workers.py
@@ -9,6 +9,8 @@ from buildbot.plugins import worker, util
def log_docker_images(props):
return 'bb-worker-log' + ':latest'
+#NOTE: Don't set distfiles if you have dist clean. Can get missing files
+#FIXME: Set in config
@util.renderer
def docker_volumes(props):
volumes_list = []
@@ -16,7 +18,7 @@ def docker_volumes(props):
src_dir = '/srv/gentoo/portage/' + props.getProperty('project_uuid')
dest_dir = '/var/cache/portage'
#add distdir
- volumes_list.append(src_dir + '/distfiles' + ':' + dest_dir + '/distfiles')
+ #volumes_list.append(src_dir + '/distfiles' + ':' + dest_dir + '/distfiles')
#add bindir
volumes_list.append(src_dir + '/packages' + ':' + dest_dir + '/packages')
return volumes_list
@@ -33,6 +35,7 @@ def docker_volumes_repositorys(props):
volumes_list.append(':'.join([src_dir, dest_dir]))
return volumes_list
+#FIXME: Move workers to DbConfig http://docs.buildbot.net/current/manual/configuration/dbconfig.html
@util.renderer
@defer.inlineCallbacks
def getDockerHost(props, docker_worker):
@@ -45,6 +48,7 @@ def getDockerHost(props, docker_worker):
print(node_data)
return node_data['docker_host_url']
+#FIXME: Move workers to DbConfig http://docs.buildbot.net/current/manual/configuration/dbconfig.html
@util.renderer
@defer.inlineCallbacks
def GetBuildDockerImage(props, docker_worker):
next reply other threads:[~2023-06-05 8:09 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 8:09 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-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
2022-01-08 17:22 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=1685912383.599646e376fc489f091b4f53ec7574ca61cec63b.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