build: enable Octavia for Ubuntu/binary

Change-Id: Icc68b404d8713a9fcf0026374378d1645fe30d52
This commit is contained in:
Marcin Juszkiewicz 2019-09-17 17:08:47 +02:00 committed by Dincer Celik
parent e6d7c81814
commit 7d0450d807
6 changed files with 17 additions and 11 deletions

View File

@ -22,8 +22,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
] %}
{% endif %}
{% elif base_package_type == 'deb' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% set octavia_api_packages = [
'octavia-api',
'apache2',
'libapache2-mod-wsgi-py3'
] %}
{% endif %}

View File

@ -13,8 +13,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openstack-octavia-common'
] %}
{% elif base_package_type == 'deb' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% set octavia_base_packages = [
'octavia-common'
] %}
{% endif %}
{{ macros.install_packages(octavia_base_packages | customizable("packages")) }}

View File

@ -11,8 +11,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openstack-octavia-health-manager'
] %}
{% elif base_package_type == 'deb' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% set octavia_health_manager_packages = [
'octavia-health-manager'
] %}
{% endif %}
{{ macros.install_packages(octavia_health_manager_packages | customizable("packages")) }}

View File

@ -11,8 +11,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openstack-octavia-housekeeping'
] %}
{% elif base_package_type == 'deb' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% set octavia_housekeeping_packages = [
'octavia-housekeeping'
] %}
{% endif %}
{{ macros.install_packages(octavia_housekeeping_packages | customizable("packages")) }}

View File

@ -11,8 +11,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openstack-octavia-worker'
] %}
{% elif base_package_type == 'deb' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% set octavia_worker_packages = [
'octavia-worker'
] %}
{% endif %}
{{ macros.install_packages(octavia_worker_packages | customizable("packages")) }}

View File

@ -123,7 +123,6 @@ SKIPPED_IMAGES = {
"monasca-thresh",
"nova-mksproxy",
"novajoin-base",
"octavia-base",
# There is no qdrouterd package for ubuntu bionic
"qdrouterd",
"searchlight-base",