Skip to content
Snippets Groups Projects
Commit 0e99b69d authored by Steven Dake's avatar Steven Dake
Browse files

Implement a install_type and install_metatype

This prepares for the RHEL OSP implementation by making the build
tool convert all binary-* into an install_type of binary and * into
an install_metatype variable substitution inside the Dockerfiles.
Further binary-* is substituted as install_name to enable proper
building only.

Change-Id: Ib681b29176eb79a3cab12ec824313fdecb6e7a5f
Partially-Implements: blueprint rhel-based-image-support
parent d813f53b
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-nova-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-nova-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-nova-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-nova-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-nova-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'source' %} {% if install_type == 'source' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ovs-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}ovs-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY start.sh / COPY start.sh /
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ovs-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}ovs-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY start.sh / COPY start.sh /
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-openstack-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla) MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
......
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