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
6c11acde
Commit
6c11acde
authored
Sep 13, 2018
by
Guilhem Saurel
Browse files
checkout main package if the current is a python binding
parent
f00bff1c
Pipeline
#1474
passed with stages
in 1 minute and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
6c11acde
...
...
@@ -666,6 +666,10 @@ class Robotpkg(NamedModel):
def
valid_images
(
self
):
return
self
.
image_set
.
filter
(
created__isnull
=
False
,
target__active
=
True
).
order_by
(
'target__name'
)
def
without_py
(
self
):
if
'py-'
in
self
.
name
:
return
Robotpkg
.
objects
.
filter
(
name
=
self
.
name
.
replace
(
'py-'
,
''
)).
first
()
# class RobotpkgBuild(TimeStampedModel):
# robotpkg = models.ForeignKey(Robotpkg, on_delete=models.CASCADE)
...
...
rainboard/templates/rainboard/gitlab-ci.yml
View file @
6c11acde
...
...
@@ -15,8 +15,12 @@ cache:
-
gh-pages
script
:
-
mkdir -p ccache
-
cd /root/robotpkg/{{ robotpkg.category }}
/{{ robotpkg }}
-
cd /root/robotpkg/{{ robotpkg.category }}
-
git pull
{
%
if robotpkg.without_py %
}
- cd {{ robotpkg.without_py }}
- make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
- cd ..
{
%
endif %
}
- cd {{ robotpkg }}
- make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
- make install
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
...
...
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