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
6a919aba
Commit
6a919aba
authored
Jun 26, 2020
by
Guilhem Saurel
Browse files
20.04
parent
bb08a2ee
Pipeline
#9927
failed with stage
in 5 minutes and 39 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
rainboard/migrations/0043_focal.py
0 → 100644
View file @
6a919aba
# Generated by Django 3.0.3 on 2020-06-26 16:01
from
django.db
import
migrations
def
add_targets
(
apps
,
schema_editor
):
Target
=
apps
.
get_model
(
'rainboard'
,
'Target'
)
Target
.
objects
.
create
(
name
=
'20.04'
)
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0042_gepgitlab_to_gitlab'
),
]
operations
=
[
migrations
.
RunPython
(
add_targets
),
]
rainboard/templates/rainboard/gitlab-ci.yml
View file @
6a919aba
...
...
@@ -2,7 +2,6 @@
variables
:
CCACHE_BASEDIR
:
"
${CI_PROJECT_DIR}"
CCACHE_DIR
:
"
${CI_PROJECT_DIR}/ccache"
cache
:
paths
:
...
...
@@ -16,6 +15,8 @@ cache:
-
gh-pages
script
:
-
mkdir -p ccache
-
echo "CCACHE_DIR=${CI_PROJECT_DIR}/ccache" >> /opt/openrobots/etc/robotpkg.conf
-
cd /root/robotpkg/{{ robotpkg.category }}
-
git pull
{
%
if robotpkg.without_py %
}
- cd {{ robotpkg.without_py }}
...
...
rainboard/utils.py
View file @
6a919aba
...
...
@@ -9,7 +9,7 @@ from django.utils.safestring import mark_safe
logger
=
logging
.
getLogger
(
'rainboard.utils'
)
SOURCES
=
IntEnum
(
'Sources'
,
'github gitlab redmine robotpkg travis'
)
TARGETS
=
IntEnum
(
'Targets'
,
'14.04 16.04 17.10 18.04 dubnium jessie erbium stretch'
)
TARGETS
=
IntEnum
(
'Targets'
,
'14.04 16.04 17.10 18.04 dubnium jessie erbium stretch
20.04
'
)
INVALID_MAILS
=
(
'localhost'
,
'none'
,
'noreply'
,
'example'
)
...
...
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