commit:     fa21ff6afa0f4ba9769a55e1d7bc59cf9dcca1c8
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 27 20:08:54 2021 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Wed Oct 27 20:08:54 2021 +0000
URL:        
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=fa21ff6a

Move repo update step before portage steps for workers

Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>

 buildbot_gentoo_ci/config/buildfactorys.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/buildbot_gentoo_ci/config/buildfactorys.py 
b/buildbot_gentoo_ci/config/buildfactorys.py
index 45f8f48..d5f881b 100644
--- a/buildbot_gentoo_ci/config/buildfactorys.py
+++ b/buildbot_gentoo_ci/config/buildfactorys.py
@@ -95,10 +95,10 @@ def build_request_check():
 
 def run_build_request():
     f = util.BuildFactory()
-    # FIXME: 5
-    # Move the etc/portage stuff to is own file
     # set needed Propertys
     f.addStep(builders.SetupPropertys())
+    # update the repositorys listed in project_repository
+    f.addStep(builders.UpdateRepos())
     # Clean and add new /etc/portage
     #NOTE: remove the symlink befor the dir
     f.addStep(buildbot_steps.ShellCommand(
@@ -118,8 +118,6 @@ def run_build_request():
     f.addStep(buildbot_steps.MakeDirectory(dir="repos.conf",
                                 workdir='/etc/portage/'))
     f.addStep(portage.SetReposConf())
-    # update the repositorys listed in project_repository
-    f.addStep(builders.UpdateRepos())
     # setup make.conf
     f.addStep(portage.SetMakeConf())
     # setup env

Reply via email to