Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/tinderbox-cluster:master commit in: buildbot_gentoo_ci/config/
Date: Wed, 27 Oct 2021 20:08:12
Message-Id: 1635365334.fa21ff6afa0f4ba9769a55e1d7bc59cf9dcca1c8.zorry@gentoo
1 commit: fa21ff6afa0f4ba9769a55e1d7bc59cf9dcca1c8
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 20:08:54 2021 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 20:08:54 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=fa21ff6a
7
8 Move repo update step before portage steps for workers
9
10 Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>
11
12 buildbot_gentoo_ci/config/buildfactorys.py | 6 ++----
13 1 file changed, 2 insertions(+), 4 deletions(-)
14
15 diff --git a/buildbot_gentoo_ci/config/buildfactorys.py b/buildbot_gentoo_ci/config/buildfactorys.py
16 index 45f8f48..d5f881b 100644
17 --- a/buildbot_gentoo_ci/config/buildfactorys.py
18 +++ b/buildbot_gentoo_ci/config/buildfactorys.py
19 @@ -95,10 +95,10 @@ def build_request_check():
20
21 def run_build_request():
22 f = util.BuildFactory()
23 - # FIXME: 5
24 - # Move the etc/portage stuff to is own file
25 # set needed Propertys
26 f.addStep(builders.SetupPropertys())
27 + # update the repositorys listed in project_repository
28 + f.addStep(builders.UpdateRepos())
29 # Clean and add new /etc/portage
30 #NOTE: remove the symlink befor the dir
31 f.addStep(buildbot_steps.ShellCommand(
32 @@ -118,8 +118,6 @@ def run_build_request():
33 f.addStep(buildbot_steps.MakeDirectory(dir="repos.conf",
34 workdir='/etc/portage/'))
35 f.addStep(portage.SetReposConf())
36 - # update the repositorys listed in project_repository
37 - f.addStep(builders.UpdateRepos())
38 # setup make.conf
39 f.addStep(portage.SetMakeConf())
40 # setup env