diff options
author | Magnus Granberg <zorry@gentoo.org> | 2021-01-10 16:24:41 +0100 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2021-01-10 16:24:41 +0100 |
commit | d9dcf85c92b58ca427123ef2c38b8374ecdae293 (patch) | |
tree | 4458e525f1e80d399a2640609276b0ef74060712 /buildbot_gentoo_ci/config/builders.py | |
parent | Add config option project['repository_basedir'] (diff) | |
download | tinderbox-cluster-d9dcf85c92b58ca427123ef2c38b8374ecdae293.tar.gz tinderbox-cluster-d9dcf85c92b58ca427123ef2c38b8374ecdae293.tar.bz2 tinderbox-cluster-d9dcf85c92b58ca427123ef2c38b8374ecdae293.zip |
Add BuildFactory update_db_check
Signed-off-by: Magnus Granberg <zorry@gentoo.org>
Diffstat (limited to 'buildbot_gentoo_ci/config/builders.py')
-rw-r--r-- | buildbot_gentoo_ci/config/builders.py | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/buildbot_gentoo_ci/config/builders.py b/buildbot_gentoo_ci/config/builders.py index 114bb83..c069841 100644 --- a/buildbot_gentoo_ci/config/builders.py +++ b/buildbot_gentoo_ci/config/builders.py @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 from buildbot.plugins import util @@ -7,9 +7,19 @@ from buildbot_gentoo_ci.config import buildfactorys def gentoo_builders(b=[]): # FIXME: get workers from db b.append(util.BuilderConfig( - name='update_db_packages', - workername=[ 'updatedb_1', ], - factory=buildfactorys.f_update_db_packages() + name='update_db_check', + workername='updatedb_1', + factory=buildfactorys.update_db_check() + ) + ) + # FIXME: get workers from db + # Use multiplay workers depend on Property(cpv) + # if cp do not match next one, use diffrent worker then + # or first cp have done its buildsteps. + b.append(util.BuilderConfig( + name='update_cpv_data', + workername='updatedb_1', + factory=buildfactorys.update_db_cp() ) ) return b |