Skip to content
Snippets Groups Projects
Commit 480c479e authored by Hui Kang's avatar Hui Kang
Browse files

Add Kuryr Docker container


Co-authored-by: default avatarMohammad Banikazemi <mb@us.ibm.com>
Partially-implements: bp kuryr-docker-plugin
Change-Id: Ife54f71984ff6c9825769e81fd39e3444c6fe310
parent bb2ac5f6
No related branches found
No related tags found
No related merge requests found
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% elif install_type == 'source' %}
ADD kuryr-archive /kuryr-source
RUN ln -s kuryr-source/* kuryr \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /kuryr
{% endif %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
{{ include_footer }}
#!/bin/bash
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
mkdir -p /usr/lib/docker/plugins/kuryr
exit 0
fi
......@@ -204,6 +204,10 @@ SOURCES = {
'type': 'url',
'location': ('http://tarballs.openstack.org/keystone/'
'keystone-master.tar.gz')},
'kuryr': {
'type': 'url',
'location': ('http://tarballs.openstack.org/kuryr/'
'kuryr-master.tar.gz')},
'magnum-base': {
'type': 'url',
'location': ('http://tarballs.openstack.org/magnum/'
......@@ -264,7 +268,6 @@ SOURCES = {
'type': 'url',
'location': ('http://tarballs.openstack.org/zaqar/'
'zaqar-master.tar.gz')}
}
......
......@@ -67,7 +67,7 @@ class BuildTest(object):
class BuildTestCentosBinary(BuildTest, base.BaseTestCase):
excluded_images = []
excluded_images = ["kuryr"]
def setUp(self):
super(BuildTestCentosBinary, self).setUp()
......@@ -104,7 +104,7 @@ class BuildTestUbuntuSource(BuildTest, base.BaseTestCase):
class BuildTestOracleLinuxBinary(BuildTest, base.BaseTestCase):
excluded_images = []
excluded_images = ["kuryr"]
def setUp(self):
super(BuildTestOracleLinuxBinary, self).setUp()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment