Commit db1bd045 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Robotpkg.update_images: py3

parent f9dbc42e
Pipeline #707 passed with stages
in 1 minute and 6 seconds
......@@ -552,6 +552,10 @@ class Robotpkg(NamedModel):
for target in Target.objects.all():
image, _ = Image.objects.get_or_create(robotpkg=self, target=target)
image.update(pull)
if self.name.startswith('py-'):
for target in Target.objects.all():
image, _ = Image.objects.get_or_create(robotpkg=self, target=target, py3=True)
image.update(pull)
def update(self, pull=True, pull_image=False):
path = settings.RAINBOARD_RPKG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment