Skip to content
GitLab
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
5df89716
Commit
5df89716
authored
Feb 28, 2018
by
Guilhem Saurel
Browse files
fix method calls
parent
6a2a9506
Changes
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
5df89716
...
...
@@ -598,14 +598,14 @@ class Image(models.Model):
def
get_build_args
(
self
):
ret
=
{
'TARGET'
:
self
.
get_target_display
(),
'ROBOTPKG'
:
self
.
robotpkg
,
'REGISTRY'
:
self
.
robotpkg
.
project
.
registry
}
'REGISTRY'
:
self
.
robotpkg
.
project
.
registry
()
}
if
not
self
.
robotpkg
.
project
.
public
:
ret
[
'IMAGE'
]
=
'robotpkg-jrl'
return
ret
def
get_image_name
(
self
):
project
=
self
.
robotpkg
.
project
return
f
'
{
project
.
registry
}
/
{
project
.
main_namespace
.
slug
}
/
{
project
}
:
{
self
.
get_target_display
()
}
'
return
f
'
{
project
.
registry
()
}
/
{
project
.
main_namespace
.
slug
}
/
{
project
}
:
{
self
.
get_target_display
()
}
'
def
build
(
self
):
args
=
self
.
get_build_args
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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