cinder/contrib/block-box/Makefile
John Griffith 3a2205e393 Update BlockBox
There have been a number of changes to LOCI since the introduction
of BlockBox.  In particular LOCI now offers a `universal` Dockerfile
and employees bindeps and new ARGS features of Docker to customize
images.

This patch modifies BlockBox to use the new universal LOCI repo and
also cleans up a bunch of cruft and adds an updated conf entry with
key-manager.

This patch also removes the dev environment as it's out dated and
doesn't seem to be gaining much usage.  It's easy enough to set
this up on your own, so rather than maintain it just remove it.

Change-Id: Id03ff9310fd53c4e6df300f2866b7a17cba82561
2017-10-04 13:59:01 -06:00

22 lines
621 B
Makefile

CINDER_BRANCH ?= master# master, stable/ocata, refs/changes/67/418167/1
NAME_PREFIX ?= ""
PLATFORM ?= debian:stretch# ubuntu:xenial, centos:7
TAG ?= debian-cinder:latest
all: base lvm
blockbox: base lvm
base:
docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=cinder \
--build-arg FROM=$(PLATFORM) \
--build-arg PROJECT_REF=$(CINDER_BRANCH) \
--tag $(TAG)
lvm:
docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=cinder \
--build-arg FROM=$(PLATFORM) \
--build-arg PROJECT_REF=$(CINDER_BRANCH) \
--build-arg PROFILES="lvm" \
--tag lvm-$(TAG)