diff options
| author | Zuul <zuul@review.opendev.org> | 2020-12-22 09:12:32 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2020-12-22 09:12:32 +0000 |
| commit | 1609ffcb4f31f7017fc2b64f41db215a9c66359c (patch) | |
| tree | 1d47a87a5f6b39bb22cea46d13e94be5919d4514 /docker/karbor/karbor-api | |
| parent | 2c8ae3ff53fb9506455ae917802efcebe0687978 (diff) | |
| parent | d4a68553b2337e2f820ff4657faaed433c2b310f (diff) | |
| download | kolla-1609ffcb4f31f7017fc2b64f41db215a9c66359c.tar.gz kolla-1609ffcb4f31f7017fc2b64f41db215a9c66359c.zip | |
Merge "Remove Retired Karbor Support"
Diffstat (limited to 'docker/karbor/karbor-api')
| -rw-r--r-- | docker/karbor/karbor-api/Dockerfile.j2 | 21 | ||||
| -rw-r--r-- | docker/karbor/karbor-api/extend_start.sh | 8 |
2 files changed, 0 insertions, 29 deletions
diff --git a/docker/karbor/karbor-api/Dockerfile.j2 b/docker/karbor/karbor-api/Dockerfile.j2 deleted file mode 100644 index 32b084f88..000000000 --- a/docker/karbor/karbor-api/Dockerfile.j2 +++ /dev/null @@ -1,21 +0,0 @@ -FROM {{ namespace }}/{{ image_prefix }}karbor-base:{{ tag }} -{% block labels %} -LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" -{% endblock %} - -{% block karbor_api_header %}{% endblock %} - -{% if install_type == 'binary' %} - -RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ - && /bin/false - -{% endif %} - -COPY extend_start.sh /usr/local/bin/kolla_karbor_extend_start -RUN chmod 755 /usr/local/bin/kolla_karbor_extend_start - -{% block karbor_api_footer %}{% endblock %} -{% block footer %}{% endblock %} - -USER karbor diff --git a/docker/karbor/karbor-api/extend_start.sh b/docker/karbor/karbor-api/extend_start.sh deleted file mode 100644 index c5102072e..000000000 --- a/docker/karbor/karbor-api/extend_start.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases -# of the KOLLA_BOOTSTRAP variable being set, including empty. -if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then - karbor-manage db sync - exit 0 -fi |
