diff options
author | Magnus Granberg <zorry@gentoo.org> | 2023-06-04 22:59:43 +0200 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2023-06-04 22:59:43 +0200 |
commit | 599646e376fc489f091b4f53ec7574ca61cec63b (patch) | |
tree | 741961ed06f23ac30a283a0941f4fe7ee4ba496e | |
parent | Support splited lines in auxdb output (diff) | |
download | tinderbox-cluster-599646e376fc489f091b4f53ec7574ca61cec63b.tar.gz tinderbox-cluster-599646e376fc489f091b4f53ec7574ca61cec63b.tar.bz2 tinderbox-cluster-599646e376fc489f091b4f53ec7574ca61cec63b.zip |
Disable distfiles on docker
Signed-off-by: Magnus Granberg <zorry@gentoo.org>
-rw-r--r-- | buildbot_gentoo_ci/config/workers.py | 6 |
1 files changed, 5 insertions, 1 deletions
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): |