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
8df63af1
Commit
8df63af1
authored
Jul 25, 2018
by
Guilhem Saurel
Browse files
management command images
parent
1b397748
Pipeline
#1032
failed with stages
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/management/commands/images.py
0 → 100644
View file @
8df63af1
from
rainboard.models
import
Robotpkg
logger
=
logging
.
getLogger
(
'rainboard.images'
)
class
Command
(
BaseCommand
):
help
=
'Populate database with Docker images data'
def
handle
(
self
,
*
args
,
**
options
):
for
rpkg
in
Robotpkg
.
objects
.
all
():
rpkg
.
update_images
()
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