commit: f9eed766d660ae99972201950f311c4cefc59be8 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> AuthorDate: Fri Mar 10 22:33:41 2023 +0000 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> CommitDate: Fri Mar 10 22:33:41 2023 +0000 URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=f9eed766
Download docker images befor build Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org> buildbot_gentoo_ci/steps/nodes.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/buildbot_gentoo_ci/steps/nodes.py b/buildbot_gentoo_ci/steps/nodes.py index f92727b..7a01cbb 100644 --- a/buildbot_gentoo_ci/steps/nodes.py +++ b/buildbot_gentoo_ci/steps/nodes.py @@ -108,6 +108,25 @@ class SetupBuildStepsForDocker(BuildStep): self.buildargs['BINHOSTURL'] = node_data['bin_host_url'] # set bootstrap image self.buildargs['BOOTSTRAPTAG'] = image_data['bootstrap_tag'] + # get the latest portage and bootstrap_tag images + aftersteps_list.append(steps.ShellCommand( + flunkOnFailure=True, + name='Pull ' + image_data['bootstrap_tag'], + command=['docker', + 'image', + 'pull', + image_data['bootstrap_tag'] + ] + )) + aftersteps_list.append(steps.ShellCommand( + flunkOnFailure=True, + name='Pull gentoo/portage:latest', + command=['docker', + 'image', + 'pull', + 'gentoo/portage:latest' + ] + )) # build the gentoo docker buildbot-worker image aftersteps_list.append(steps.ShellCommand( flunkOnFailure=True,