From f9033e6cee9e3d59d43bc80f08df11a36e549acf Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Sun, 18 Mar 2018 15:04:12 -0500 Subject: [PATCH] Barbican: Include missing image build This PS adds the misisng image build commands for the barbican image. Change-Id: I72085d20a098005bf79074f0f3297658de69f54c --- tools/images/openstack/newton/loci.sh | 10 ++++++++++ tools/images/openstack/ocata/loci.sh | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/tools/images/openstack/newton/loci.sh b/tools/images/openstack/newton/loci.sh index 0e80e9669f..09b76ed2bc 100644 --- a/tools/images/openstack/newton/loci.sh +++ b/tools/images/openstack/newton/loci.sh @@ -49,6 +49,16 @@ sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \ --tag docker.io/openstackhelm/heat:${IMAGE_TAG} sudo docker exec docker-in-docker docker push docker.io/openstackhelm/heat:${IMAGE_TAG} +sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \ + https://git.openstack.org/openstack/loci.git \ + --build-arg PROJECT=barbican \ + --build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \ + --build-arg PROJECT_REF=${OPENSTACK_VERSION} \ + --build-arg PIP_PACKAGES="pycrypto" \ + --build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \ + --tag docker.io/openstackhelm/barbican:${IMAGE_TAG} +sudo docker exec docker-in-docker docker push docker.io/openstackhelm/barbican:${IMAGE_TAG} + sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \ https://git.openstack.org/openstack/loci.git \ --build-arg PROJECT=glance \ diff --git a/tools/images/openstack/ocata/loci.sh b/tools/images/openstack/ocata/loci.sh index 37db00bc22..7f31d7dce0 100644 --- a/tools/images/openstack/ocata/loci.sh +++ b/tools/images/openstack/ocata/loci.sh @@ -49,6 +49,16 @@ sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \ --tag docker.io/openstackhelm/heat:${IMAGE_TAG} sudo docker exec docker-in-docker docker push docker.io/openstackhelm/heat:${IMAGE_TAG} +sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \ + https://git.openstack.org/openstack/loci.git \ + --build-arg PROJECT=barbican \ + --build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \ + --build-arg PROJECT_REF=${OPENSTACK_VERSION} \ + --build-arg PIP_PACKAGES="pycrypto" \ + --build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \ + --tag docker.io/openstackhelm/barbican:${IMAGE_TAG} +sudo docker exec docker-in-docker docker push docker.io/openstackhelm/barbican:${IMAGE_TAG} + sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \ https://git.openstack.org/openstack/loci.git \ --build-arg PROJECT=glance \