aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot_gentoo_ci/steps/nodes.py')
-rw-r--r--buildbot_gentoo_ci/steps/nodes.py19
1 files changed, 19 insertions, 0 deletions
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,