Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
docker-cubicweb
Commits
c5855c3bbf7e
Commit
7b8c5b2e
authored
May 24, 2019
by
Philippe Pepiot
Browse files
Use logilab/cubicweb as default registry
Keep mirroring on hub.extranet.logilab.fr/cubicweb/cubicweb
parent
9b93a18e1034
Changes
3
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
c5855c3b
...
...
@@ -4,17 +4,17 @@ pipeline {
stage
(
'build'
)
{
steps
{
sh
"python3 build.py --checkrebuild"
sh
"python3 build.py --registry
logila
b/cubicweb"
sh
"python3 build.py --registry
hub.extranet.logilab.fr/cubicwe
b/cubicweb"
}
}
stage
(
'push hub.extranet.logilab.fr'
)
{
steps
{
sh
"python3 build.py --push"
sh
"python3 build.py --push
--registry hub.extranet.logilab.fr/cubicweb/cubicweb
"
}
}
stage
(
'push logilab/cubicweb'
)
{
steps
{
sh
"python3 build.py
--registry logilab/cubicweb
--push"
sh
"python3 build.py --push"
}
}
}
...
...
README.rst
View file @
c5855c3b
...
...
@@ -90,15 +90,15 @@ context and install your cube in develop mode and create an instance of your cub
For example, given you're in the source tree of `cubicweb-blog`_, a Dockerfile would be as simple as::
FROM
hub.extranet.logilab.fr/cubicwe
b/cubicweb:onbuild
FROM
logila
b/cubicweb:onbuild
You can even build an image without actually writing any Dockerfile::
echo "FROM
hub.extranet.logilab.fr/cubicwe
b/cubicweb:onbuild" | docker build -f - -t cubicweb-blog .
echo "FROM
logila
b/cubicweb:onbuild" | docker build -f - -t cubicweb-blog .
In case you don't want a cubicweb version pre-installed and let your own dependencies control what version to install::
FROM
hub.extranet.logilab.fr/cubicwe
b/cubicweb:py37-onbuild
FROM
logila
b/cubicweb:py37-onbuild
.. _cubicweb-blog: https://hg.logilab.org/master/cubes/blog
...
...
@@ -116,7 +116,7 @@ In this case you have to:
For example, given you're in the source tree of `cubicweb-blog`_::
FROM
hub.extranet.logilab.fr/cubicwe
b/cubicweb:3.26
FROM
logila
b/cubicweb:3.26
USER root
COPY . /src
RUN pip install -e /src
...
...
@@ -127,7 +127,7 @@ For example, given you're in the source tree of `cubicweb-blog`_::
In case of out-of-source tree or not installing from /src directory, you will
also have to set the ``CUBE`` environment variable::
FROM
hub.extranet.logilab.fr/cubicwe
b/cubicweb:3.26
FROM
logila
b/cubicweb:3.26
USER root
RUN pip install cubicweb-blog
USER cubicweb
...
...
build.py
View file @
c5855c3b
...
...
@@ -7,7 +7,7 @@ import logging
LOG
=
logging
.
getLogger
(
__name__
)
REGISTRY
=
'
hub.extranet.logilab.fr/cubicwe
b/cubicweb'
REGISTRY
=
'
logila
b/cubicweb'
CWREPO
=
'https://hg.logilab.org/master/cubicweb'
MATRIX
=
[
([
'py27'
],
[
'stretch'
,
'buster'
],
[
None
,
'3.25'
,
'3.26'
],
...
...
Write
Preview
Supports
Markdown
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