Commit 7b8c5b2e authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Use logilab/cubicweb as default registry

Keep mirroring on hub.extranet.logilab.fr/cubicweb/cubicweb
parent 9b93a18e1034
......@@ -4,17 +4,17 @@ pipeline {
stage('build') {
steps {
sh "python3 build.py --checkrebuild"
sh "python3 build.py --registry logilab/cubicweb"
sh "python3 build.py --registry hub.extranet.logilab.fr/cubicweb/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"
}
}
}
......
......@@ -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/cubicweb/cubicweb:onbuild
FROM logilab/cubicweb:onbuild
You can even build an image without actually writing any Dockerfile::
echo "FROM hub.extranet.logilab.fr/cubicweb/cubicweb:onbuild" | docker build -f - -t cubicweb-blog .
echo "FROM logilab/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/cubicweb/cubicweb:py37-onbuild
FROM logilab/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/cubicweb/cubicweb:3.26
FROM logilab/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/cubicweb/cubicweb:3.26
FROM logilab/cubicweb:3.26
USER root
RUN pip install cubicweb-blog
USER cubicweb
......
......@@ -7,7 +7,7 @@ import logging
LOG = logging.getLogger(__name__)
REGISTRY = 'hub.extranet.logilab.fr/cubicweb/cubicweb'
REGISTRY = 'logilab/cubicweb'
CWREPO = 'https://hg.logilab.org/master/cubicweb'
MATRIX = [
(['py27'], ['stretch', 'buster'], [None, '3.25', '3.26'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment