From d9dcf85c92b58ca427123ef2c38b8374ecdae293 Mon Sep 17 00:00:00 2001 From: Magnus Granberg Date: Sun, 10 Jan 2021 16:24:41 +0100 Subject: Add BuildFactory update_db_check Signed-off-by: Magnus Granberg --- buildbot_gentoo_ci/config/builders.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'buildbot_gentoo_ci/config/builders.py') 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 -- cgit v1.2.3-65-gdbad