aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/centos/binary/barbican/Dockerfile40
l---------docker/centos/binary/barbican/build1
l---------docker/centos/binary/barbican/config-external.sh1
l---------docker/centos/binary/barbican/start.sh1
-rw-r--r--docker/centos/source/barbican/.buildinfo10
-rw-r--r--docker/centos/source/barbican/Dockerfile19
l---------docker/centos/source/barbican/build1
l---------docker/centos/source/barbican/config-external.sh1
l---------docker/centos/source/barbican/start.sh1
-rw-r--r--docker/common/barbican/config-external.sh10
-rwxr-xr-xdocker/common/barbican/start.sh22
l---------docker/fedora/binary/barbican1
l---------docker/rhel/binary/barbican1
13 files changed, 0 insertions, 109 deletions
diff --git a/docker/centos/binary/barbican/Dockerfile b/docker/centos/binary/barbican/Dockerfile
deleted file mode 100644
index 5c139a0ad..000000000
--- a/docker/centos/binary/barbican/Dockerfile
+++ /dev/null
@@ -1,40 +0,0 @@
-FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
-MAINTAINER Kolla Project (https://launchpad.net/kolla)
-
-COPY ./start.sh /start.sh
-
-# Install required packages
-# NOTE: these packages (tar especially) can be pruned once converted to
-# installation via RPM: https://bugs.launchpad.net/kolla/+bug/1453926
-RUN yum install -y gcc Cython sqlite-devel mysql-devel libffi-devel tar && yum clean all
-
-# use the Barbican Juno version
-# setting this as environment variable also keeps pbr version checking happy
-# TODO: when the Barbican rpm from cloudkeep.io is usable,
-# switch to using that instead
-ENV PBR_VERSION 2014.2
-
-# Get and extract the Barbican tar ball
-RUN curl -o /barbican-$PBR_VERSION.tar.gz https://github.com/openstack/barbican/archive/$PBR_VERSION.tar.gz -L
-RUN tar -xzf barbican-$PBR_VERSION.tar.gz
-
-# Install Barbican requirements
-RUN pip install -r barbican-$PBR_VERSION/requirements.txt
-RUN pip install MySQL-python
-
-# Install Barbican
-RUN cd barbican-$PBR_VERSION && python setup.py install
-
-# Configure Barbican
-RUN mkdir -p /etc/barbican
-RUN mkdir -p /var/log/barbican
-RUN cp -r /barbican-$PBR_VERSION/etc/barbican/* /etc/barbican
-
-# Instal uwsgi as that is what we will use to run Barbican
-RUN pip install uwsgi
-
-# Cleanup files not required anymore
-RUN rm -rf /barbican-$PBR_VERSION
-RUN rm -rf /barbican-$PBR_VERSION.tar.gz
-
-CMD ["/start.sh"]
diff --git a/docker/centos/binary/barbican/build b/docker/centos/binary/barbican/build
deleted file mode 120000
index 8d652f7ee..000000000
--- a/docker/centos/binary/barbican/build
+++ /dev/null
@@ -1 +0,0 @@
-../../../../tools/build-docker-image \ No newline at end of file
diff --git a/docker/centos/binary/barbican/config-external.sh b/docker/centos/binary/barbican/config-external.sh
deleted file mode 120000
index 5a0d7a06c..000000000
--- a/docker/centos/binary/barbican/config-external.sh
+++ /dev/null
@@ -1 +0,0 @@
-../../../common/barbican/config-external.sh \ No newline at end of file
diff --git a/docker/centos/binary/barbican/start.sh b/docker/centos/binary/barbican/start.sh
deleted file mode 120000
index fbb47be02..000000000
--- a/docker/centos/binary/barbican/start.sh
+++ /dev/null
@@ -1 +0,0 @@
-../../../common/barbican/start.sh \ No newline at end of file
diff --git a/docker/centos/source/barbican/.buildinfo b/docker/centos/source/barbican/.buildinfo
deleted file mode 100644
index 3ac7ec7fe..000000000
--- a/docker/centos/source/barbican/.buildinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-# Build info specific to this image. All values can be overridden in .buildconf
-
-COMPONENT=barbican
-SOURCE_INSTALL_AVAILABLE=1
-
-# Used for git install method
-: ${CLONE_FROM:=https://github.com/openstack/barbican}
-
-# Used for curl install method
-: ${TARBALL_URI:=http://tarballs.openstack.org/barbican/barbican-master.tar.gz}
diff --git a/docker/centos/source/barbican/Dockerfile b/docker/centos/source/barbican/Dockerfile
deleted file mode 100644
index 23469321a..000000000
--- a/docker/centos/source/barbican/Dockerfile
+++ /dev/null
@@ -1,19 +0,0 @@
-FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
-MAINTAINER Kolla Project (https://launchpad.net/kolla)
-
-ADD ./barbican.tar /
-RUN ln -s /barbican-* /barbican
-
-RUN cd /barbican \
- && useradd --user-group barbican \
- && pip install uwsgi \
- && pip install -r requirements.txt \
- && pip install /barbican \
- && mkdir /etc/barbican /var/log/barbican \
- && cp -r /barbican/etc/* /etc/barbican/ \
- && rm -rf /root/.cache
-
-COPY ./start.sh /start.sh
-COPY config-external.sh /opt/kolla/
-
-CMD ["/start.sh"]
diff --git a/docker/centos/source/barbican/build b/docker/centos/source/barbican/build
deleted file mode 120000
index 8d652f7ee..000000000
--- a/docker/centos/source/barbican/build
+++ /dev/null
@@ -1 +0,0 @@
-../../../../tools/build-docker-image \ No newline at end of file
diff --git a/docker/centos/source/barbican/config-external.sh b/docker/centos/source/barbican/config-external.sh
deleted file mode 120000
index 5a0d7a06c..000000000
--- a/docker/centos/source/barbican/config-external.sh
+++ /dev/null
@@ -1 +0,0 @@
-../../../common/barbican/config-external.sh \ No newline at end of file
diff --git a/docker/centos/source/barbican/start.sh b/docker/centos/source/barbican/start.sh
deleted file mode 120000
index fbb47be02..000000000
--- a/docker/centos/source/barbican/start.sh
+++ /dev/null
@@ -1 +0,0 @@
-../../../common/barbican/start.sh \ No newline at end of file
diff --git a/docker/common/barbican/config-external.sh b/docker/common/barbican/config-external.sh
deleted file mode 100644
index 12ca52fb9..000000000
--- a/docker/common/barbican/config-external.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-SOURCE="/opt/kolla/barbican/barbican.conf"
-TARGET="/etc/barbican/barbican.conf"
-OWNER="barbican"
-
-if [[ -f "$SOURCE" ]]; then
- cp $SOURCE $TARGET
- chown ${OWNER}: $TARGET
- chmod 0644 $TARGET
-fi
diff --git a/docker/common/barbican/start.sh b/docker/common/barbican/start.sh
deleted file mode 100755
index 589773540..000000000
--- a/docker/common/barbican/start.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-set -o errexit
-
-CMD="uwsgi"
-ARGS="--master --emperor"
-
-# Loading common functions.
-source /opt/kolla/kolla-common.sh
-
-# Execute config strategy
-set_configs
-
-# 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
- su -s /bin/sh -c "barbican-manage db_sync" barbican
- exit 0
-fi
-
-exec $CMD $ARGS
-
diff --git a/docker/fedora/binary/barbican b/docker/fedora/binary/barbican
deleted file mode 120000
index 7dd5c24ce..000000000
--- a/docker/fedora/binary/barbican
+++ /dev/null
@@ -1 +0,0 @@
-../../centos/binary/barbican \ No newline at end of file
diff --git a/docker/rhel/binary/barbican b/docker/rhel/binary/barbican
deleted file mode 120000
index 7dd5c24ce..000000000
--- a/docker/rhel/binary/barbican
+++ /dev/null
@@ -1 +0,0 @@
-../../centos/binary/barbican \ No newline at end of file