Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
9966ce6e
Commit
9966ce6e
authored
Apr 29, 2021
by
Guilhem Saurel
Browse files
Robotpkg.valid_images: add extended_target…
parent
37cf7fd6
Pipeline
#14246
passed with stage
in 3 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
9966ce6e
...
...
@@ -881,7 +881,8 @@ class Robotpkg(NamedModel):
base_images
=
Image
.
objects
.
filter
(
robotpkg__project
=
self
.
project
,
target__main
=
True
)
base_image
=
base_images
.
order_by
(
'-py3'
,
'debug'
).
first
()
images
=
self
.
image_set
.
filter
(
created__isnull
=
False
,
target__active
=
True
).
order_by
(
'target__name'
)
images
=
self
.
image_set
.
filter
(
Q
(
target__active
=
True
)
|
Q
(
target__robotpkg
=
self
),
created__isnull
=
False
).
order_by
(
'target__name'
)
return
(
image
for
image
in
images
if
is_valid
(
base_image
,
image
))
def
without_py
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment