chore(images): remove duplicate images
All the Dockerfiles have been moved to openstack-helm-images project where it is better supported. The old Dockerfiles in the tools/images folder should be removed to reduce confusion. Users should be using the ones in openstack-helm-images project. Change-Id: Ife430a54806885220d25f426bac68ef87b9035d3 Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
parent
6095465667
commit
e70e85ecbc
@ -1,40 +0,0 @@
|
||||
FROM docker.io/ubuntu:xenial
|
||||
MAINTAINER pete.birley@att.com
|
||||
|
||||
ARG KUBE_VERSION=v1.10.3
|
||||
ARG CEPH_RELEASE=mimic
|
||||
|
||||
ADD https://download.ceph.com/keys/release.asc /etc/apt/ceph-release.asc
|
||||
RUN set -ex ;\
|
||||
export DEBIAN_FRONTEND=noninteractive ;\
|
||||
apt-key add /etc/apt/ceph-release.asc ;\
|
||||
rm -f /etc/apt/ceph-release.asc ;\
|
||||
echo deb http://download.ceph.com/debian-${CEPH_RELEASE}/ xenial main | tee /etc/apt/sources.list.d/ceph.list ;\
|
||||
TMP_DIR=$(mktemp --directory) ;\
|
||||
cd ${TMP_DIR} ;\
|
||||
apt-get update ;\
|
||||
apt-get dist-upgrade -y ;\
|
||||
apt-get install --no-install-recommends -y \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
ceph \
|
||||
curl \
|
||||
gcc \
|
||||
python \
|
||||
python-dev \
|
||||
jq ;\
|
||||
curl -sSL https://bootstrap.pypa.io/get-pip.py | python ;\
|
||||
pip --no-cache-dir install --upgrade \
|
||||
crush \
|
||||
rgwadmin \
|
||||
six \
|
||||
python-openstackclient \
|
||||
python-swiftclient ;\
|
||||
curl -sSL https://dl.k8s.io/${KUBE_VERSION}/kubernetes-client-linux-amd64.tar.gz | tar -zxv --strip-components=1 ;\
|
||||
mv ${TMP_DIR}/client/bin/kubectl /usr/bin/kubectl ;\
|
||||
chmod +x /usr/bin/kubectl ;\
|
||||
rm -rf ${TMP_DIR} ;\
|
||||
apt-get purge -y --auto-remove \
|
||||
python-dev \
|
||||
gcc ;\
|
||||
rm -rf /var/lib/apt/lists/*
|
@ -1,37 +0,0 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /bin/bash
|
||||
|
||||
DOCKER_REGISTRY ?= docker.io
|
||||
IMAGE_NAME ?= ceph-config-helper
|
||||
IMAGE_PREFIX ?= openstackhelm
|
||||
IMAGE_TAG ?= latest
|
||||
KUBE_VERSION ?= v1.10.3
|
||||
LABEL ?= putlabelshere
|
||||
|
||||
IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}
|
||||
|
||||
# Build ceph-config-helper Docker image for this project
|
||||
.PHONY: images
|
||||
images: build_$(IMAGE_NAME)
|
||||
|
||||
# Make targets intended for use by the primary targets above.
|
||||
.PHONY: build_$(IMAGE_NAME)
|
||||
build_$(IMAGE_NAME):
|
||||
docker build \
|
||||
--network host \
|
||||
--build-arg KUBE_VERSION=$(KUBE_VERSION) \
|
||||
-t $(IMAGE) \
|
||||
--label $(LABEL) --label KUBE_VERSION=$(KUBE_VERSION) \
|
||||
.
|
@ -1,40 +0,0 @@
|
||||
Ceph Config Helper Container
|
||||
============================
|
||||
|
||||
This container builds a small image with kubectl and some other utilites for
|
||||
use in the ceph-config chart.
|
||||
|
||||
Instructions
|
||||
------------
|
||||
|
||||
OS Specific Host setup:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ubuntu:
|
||||
^^^^^^^
|
||||
|
||||
From a freshly provisioned Ubuntu 16.04 LTS host run:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y \
|
||||
docker.io \
|
||||
git
|
||||
|
||||
Build the Ceph-Helper Image environment (optional)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A known good image is published to dockerhub on a fairly regular basis, but if
|
||||
you wish to build your own image, from the root directory of the OpenStack-Helm
|
||||
repo run:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
export KUBE_VERSION=v1.10.3
|
||||
sudo docker build \
|
||||
--network host \
|
||||
--build-arg KUBE_VERSION=${KUBE_VERSION} \
|
||||
-t docker.io/port/ceph-config-helper:${KUBE_VERSION} \
|
||||
tools/images/ceph-config-helper
|
||||
sudo docker push docker.io/port/ceph-config-helper:${KUBE_VERSION}
|
@ -1,3 +0,0 @@
|
||||
FROM gcr.io/google-containers/debian-base-amd64:0.3
|
||||
|
||||
RUN /usr/local/bin/clean-install ipcalc
|
@ -1,34 +0,0 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /bin/bash
|
||||
|
||||
DOCKER_REGISTRY ?= docker.io
|
||||
IMAGE_NAME ?= gate-utils
|
||||
IMAGE_PREFIX ?= openstackhelm
|
||||
IMAGE_TAG ?= v0.1.0
|
||||
LABEL ?= putlabelshere
|
||||
|
||||
IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}
|
||||
|
||||
# Build gate-utils Docker image for this project
|
||||
.PHONY: images
|
||||
images: build_$(IMAGE_NAME)
|
||||
|
||||
# Make targets intended for use by the primary targets above.
|
||||
.PHONY: build_$(IMAGE_NAME)
|
||||
build_$(IMAGE_NAME):
|
||||
docker build \
|
||||
--label $(LABEL) \
|
||||
-t $(IMAGE) \
|
||||
.
|
@ -1,37 +0,0 @@
|
||||
Gate Utils Container
|
||||
====================
|
||||
|
||||
This container builds a small image with ipcalc for use in both the multinode
|
||||
checks and development.
|
||||
|
||||
Instructions
|
||||
------------
|
||||
|
||||
OS Specific Host setup:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ubuntu:
|
||||
^^^^^^^
|
||||
|
||||
From a freshly provisioned Ubuntu 16.04 LTS host run:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y \
|
||||
docker.io \
|
||||
git
|
||||
|
||||
Build the Gate Utils Image
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A known good image is published to dockerhub on a fairly regular basis, but if
|
||||
you wish to build your own image, from the root directory of the OpenStack-Helm
|
||||
repo run:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
sudo docker build \
|
||||
-t docker.io/openstackhelm/gate-utils:v0.1.0 \
|
||||
tools/images/gate-utils
|
||||
sudo docker push docker.io/openstackhelm/gate-utils:v0.1.0
|
@ -1,2 +0,0 @@
|
||||
# kubernetes-entrypoint git clone target
|
||||
src
|
@ -1,9 +0,0 @@
|
||||
FROM docker.io/ubuntu:xenial
|
||||
|
||||
ARG BINARY_PATH
|
||||
ARG BINARY_INSTALL_PATH=/usr/local/bin/kubernetes-entrypoint
|
||||
ENV BINARY_INSTALL_PATH=${BINARY_INSTALL_PATH}
|
||||
|
||||
COPY ${BINARY_PATH} ${BINARY_INSTALL_PATH}
|
||||
|
||||
CMD ${BINARY_INSTALL_PATH}
|
@ -1,85 +0,0 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /bin/bash
|
||||
|
||||
# Git args
|
||||
GIT_REPO ?= https://github.com/stackanetes/kubernetes-entrypoint.git
|
||||
GIT_REF ?= master
|
||||
_GIT_CLONE_SUBDIR := src
|
||||
_GIT_CLONE_MOUNT_DIR := /go/src/github.com/stackanetes/kubernetes-entrypoint
|
||||
|
||||
# Image args
|
||||
IMAGE_REGISTRY ?= docker.io
|
||||
IMAGE_NAME ?= kubernetes-entrypoint
|
||||
IMAGE_PREFIX ?= openstackhelm
|
||||
IMAGE_TAG ?= $(GIT_REF)
|
||||
IMAGE_LABELS ?=
|
||||
# Overrides above image args if specified.
|
||||
IMAGE ?= ${IMAGE_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}$(if $(IMAGE_TAG),:$(IMAGE_TAG),)
|
||||
IMAGE_DOCKER_BUILD_OPTS ?=
|
||||
IMAGE_BINARY_INSTALL_PATH ?=
|
||||
|
||||
# Go args
|
||||
GO_IMAGE ?= docker.io/golang:1.10
|
||||
GO_BUILD_OPTS ?=
|
||||
|
||||
# Binary args
|
||||
_BINARY_SUBDIR := out
|
||||
_BINARY_PATH := $(_BINARY_SUBDIR)/kubernetes-entrypoint
|
||||
|
||||
.PHONY: all
|
||||
all: clean checkout binary image push
|
||||
|
||||
# Remove source code and binary
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(_GIT_CLONE_SUBDIR)
|
||||
|
||||
# Checkout source code
|
||||
.PHONY: checkout
|
||||
checkout:
|
||||
git clone $(GIT_REPO) $(_GIT_CLONE_SUBDIR)
|
||||
cd $(_GIT_CLONE_SUBDIR); git checkout $(GIT_REF) .
|
||||
|
||||
# Build binary
|
||||
.PHONY: binary
|
||||
binary:
|
||||
docker run\
|
||||
-v "$(shell pwd)/$(_GIT_CLONE_SUBDIR)":$(_GIT_CLONE_MOUNT_DIR)\
|
||||
`# Run as current user, not root, to avoid sudo usage in clean target`\
|
||||
-v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro\
|
||||
-u $(shell id -u ${USER}):$(shell id -g ${USER})\
|
||||
-w $(_GIT_CLONE_MOUNT_DIR)\
|
||||
$(GO_IMAGE)\
|
||||
go build -o "$(_BINARY_PATH)" $(GO_BUILD_OPTS)
|
||||
|
||||
# Internal variables
|
||||
_BINARY_INSTALL_PATH_ARG := $(if $(IMAGE_BINARY_INSTALL_PATH),--build-arg BINARY_INSTALL_PATH="${IMAGE_BINARY_INSTALL_PATH}" ,)
|
||||
_IMAGE_LABELS_ARG := $(if $(IMAGE_LABELS),--label="${IMAGE_LABELS}" ,)
|
||||
|
||||
# Build image
|
||||
.PHONY: image
|
||||
image:
|
||||
docker build\
|
||||
--build-arg BINARY_PATH=/$(_GIT_CLONE_SUBDIR)/$(_BINARY_PATH)\
|
||||
$(_BINARY_INSTALL_PATH_ARG)\
|
||||
$(_IMAGE_LABELS_ARG)\
|
||||
-t $(IMAGE)\
|
||||
$(IMAGE_DOCKER_BUILD_OPTS)\
|
||||
.
|
||||
|
||||
# Push image
|
||||
.PHONY: push
|
||||
push:
|
||||
docker push $(IMAGE)
|
@ -1,25 +0,0 @@
|
||||
Kubernetes-Entrypoint Image Build
|
||||
=================================
|
||||
|
||||
Builds an image with kubernetes-entrypoint for use with OpenStack-Helm.
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
git, docker
|
||||
|
||||
Instructions
|
||||
------------
|
||||
|
||||
Build the Kubernetes-Entrypoint Image
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A known good image is published to docker hub on a fairly regular basis, but if
|
||||
you wish to build your own image, from the directory containing this README run:
|
||||
|
||||
.. code:: bash
|
||||
# Example configuration overrides, see Makefile for all available options:
|
||||
# export IMAGE_REGISTRY=quay.io
|
||||
# export GIT_REPO=https://github.com/someuser/kubernetes-entrypoint.git
|
||||
# export GIT_REF=someref
|
||||
make
|
@ -1,172 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
OPENSTACK_VERSION="newton-eol"
|
||||
IMAGE_TAG="newton"
|
||||
|
||||
sudo docker run -d \
|
||||
--name docker-in-docker \
|
||||
--privileged=true \
|
||||
--net=host \
|
||||
-v /var/lib/docker \
|
||||
-v ${HOME}/.docker/config.json:/root/.docker/config.json:ro\
|
||||
docker.io/docker:17.07.0-dind \
|
||||
dockerd \
|
||||
--pidfile=/var/run/docker.pid \
|
||||
--host=unix:///var/run/docker.sock \
|
||||
--storage-driver=overlay2
|
||||
sudo docker exec docker-in-docker apk update
|
||||
sudo docker exec docker-in-docker apk add git
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--network host \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT=requirements \
|
||||
--build-arg PROJECT_REF=stable/newton \
|
||||
--tag docker.io/openstackhelm/requirements:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/requirements:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=keystone \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="apache ldap" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-openstackclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/keystone:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/keystone:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=heat \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="curl" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--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://opendev.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://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=glance \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="glance ceph" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/glance:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/glance:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=cinder \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="cinder lvm ceph qemu" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/cinder:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/cinder:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=neutron \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="neutron linuxbridge openvswitch" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/neutron:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/neutron:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=neutron \
|
||||
--build-arg FROM=docker.io/ubuntu:18.04 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="neutron linuxbridge openvswitch" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="ethtool lshw" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/neutron:${IMAGE_TAG}-sriov-1804
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/neutron:${IMAGE_TAG}-sriov-1804
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=nova \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="nova ceph linuxbridge openvswitch configdrive qemu apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/nova:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/nova:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=horizon \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="horizon apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/horizon:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/horizon:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=senlin \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="senlin" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/senlin:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/senlin:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=congress \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="congress" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-congressclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/congress:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/congress:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=magnum \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="magnum" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/magnum:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/magnum:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=ironic \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="ironic ipxe ipmi qemu tftp" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="iproute2" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/ironic:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/ironic:${IMAGE_TAG}
|
@ -1,173 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
OPENSTACK_VERSION="stable/ocata"
|
||||
IMAGE_TAG="${OPENSTACK_VERSION#*/}"
|
||||
|
||||
sudo docker run -d \
|
||||
--name docker-in-docker \
|
||||
--privileged=true \
|
||||
--net=host \
|
||||
-v /var/lib/docker \
|
||||
-v ${HOME}/.docker/config.json:/root/.docker/config.json:ro\
|
||||
docker.io/docker:17.07.0-dind \
|
||||
dockerd \
|
||||
--pidfile=/var/run/docker.pid \
|
||||
--host=unix:///var/run/docker.sock \
|
||||
--storage-driver=overlay2
|
||||
sudo docker exec docker-in-docker apk update
|
||||
sudo docker exec docker-in-docker apk add git
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--network host \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT=requirements \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--tag docker.io/openstackhelm/requirements:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/requirements:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=keystone \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent apache ldap" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-openstackclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/keystone:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/keystone:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=heat \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="curl" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--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://opendev.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 PROFILES="fluent" \
|
||||
--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://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=glance \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent glance ceph" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/glance:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/glance:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=cinder \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent cinder lvm ceph qemu" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/cinder:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/cinder:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=neutron \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent neutron linuxbridge openvswitch" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/neutron:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/neutron:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=neutron \
|
||||
--build-arg FROM=docker.io/ubuntu:18.04 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent neutron linuxbridge openvswitch" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="ethtool lshw" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/neutron:${IMAGE_TAG}-sriov-1804
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/neutron:${IMAGE_TAG}-sriov-1804
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=nova \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent nova ceph linuxbridge openvswitch configdrive qemu apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/nova:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/nova:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=horizon \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent horizon apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/horizon:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/horizon:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=senlin \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent senlin" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/senlin:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/senlin:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=congress \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent congress" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-congressclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/congress:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/congress:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=magnum \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent magnum" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/magnum:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/magnum:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=ironic \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent ironic ipxe ipmi qemu tftp" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="iproute2" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/ironic:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/ironic:${IMAGE_TAG}
|
@ -1,173 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
OPENSTACK_VERSION="stable/pike"
|
||||
IMAGE_TAG="${OPENSTACK_VERSION#*/}"
|
||||
|
||||
sudo docker run -d \
|
||||
--name docker-in-docker \
|
||||
--privileged=true \
|
||||
--net=host \
|
||||
-v /var/lib/docker \
|
||||
-v ${HOME}/.docker/config.json:/root/.docker/config.json:ro\
|
||||
docker.io/docker:17.07.0-dind \
|
||||
dockerd \
|
||||
--pidfile=/var/run/docker.pid \
|
||||
--host=unix:///var/run/docker.sock \
|
||||
--storage-driver=overlay2
|
||||
sudo docker exec docker-in-docker apk update
|
||||
sudo docker exec docker-in-docker apk add git
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--network host \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT=requirements \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--tag docker.io/openstackhelm/requirements:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/requirements:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=keystone \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent apache ldap" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-openstackclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/keystone:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/keystone:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=heat \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="curl" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--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://opendev.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 PROFILES="fluent" \
|
||||
--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://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=glance \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent glance ceph" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/glance:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/glance:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=cinder \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent cinder lvm ceph qemu" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/cinder:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/cinder:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=neutron \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent neutron linuxbridge openvswitch" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/neutron:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/neutron:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=neutron \
|
||||
--build-arg FROM=docker.io/ubuntu:18.04 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent neutron linuxbridge openvswitch" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="ethtool lshw" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/neutron:${IMAGE_TAG}-sriov-1804
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/neutron:${IMAGE_TAG}-sriov-1804
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=nova \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent nova ceph linuxbridge openvswitch configdrive qemu apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/nova:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/nova:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=horizon \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent horizon apache" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/horizon:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/horizon:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=senlin \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent senlin" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/senlin:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/senlin:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=congress \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent congress" \
|
||||
--build-arg PIP_PACKAGES="pycrypto python-congressclient" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/congress:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/congress:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=magnum \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent magnum" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/magnum:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/magnum:${IMAGE_TAG}
|
||||
|
||||
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
|
||||
https://opendev.org/openstack/loci.git \
|
||||
--build-arg PROJECT=ironic \
|
||||
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
|
||||
--build-arg PROJECT_REF=${OPENSTACK_VERSION} \
|
||||
--build-arg PROFILES="fluent ironic ipxe ipmi qemu tftp" \
|
||||
--build-arg PIP_PACKAGES="pycrypto" \
|
||||
--build-arg DIST_PACKAGES="iproute2" \
|
||||
--build-arg WHEELS=openstackhelm/requirements:${IMAGE_TAG} \
|
||||
--tag docker.io/openstackhelm/ironic:${IMAGE_TAG}
|
||||
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/ironic:${IMAGE_TAG}
|
@ -1,56 +0,0 @@
|
||||
FROM k8s.gcr.io/debian-iptables-amd64:v10
|
||||
MAINTAINER pete.birley@att.com
|
||||
|
||||
ARG OVS_VERSION=2.8.1
|
||||
|
||||
RUN set -ex ;\
|
||||
export DEBIAN_FRONTEND=noninteractive ;\
|
||||
apt-get update ;\
|
||||
apt-get upgrade -y ;\
|
||||
apt-get install --no-install-recommends -y \
|
||||
bash ;\
|
||||
apt-get install --no-install-recommends -y \
|
||||
build-essential \
|
||||
curl \
|
||||
libatomic1 \
|
||||
libssl1.1 \
|
||||
openssl \
|
||||
uuid-runtime \
|
||||
graphviz \
|
||||
autoconf \
|
||||
automake \
|
||||
bzip2 \
|
||||
debhelper \
|
||||
dh-autoreconf \
|
||||
libssl-dev \
|
||||
libtool \
|
||||
python-all \
|
||||
python-six \
|
||||
python-twisted-conch \
|
||||
python-zopeinterface ;\
|
||||
TMP_DIR=$(mktemp -d) ;\
|
||||
curl -sSL http://openvswitch.org/releases/openvswitch-${OVS_VERSION}.tar.gz | tar xz -C ${TMP_DIR} --strip-components=1 ;\
|
||||
cd ${TMP_DIR} ;\
|
||||
./boot.sh ;\
|
||||
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ;\
|
||||
make ;\
|
||||
make install ;\
|
||||
cd / ;\
|
||||
rm -rf ${TMP_DIR} ;\
|
||||
apt-get purge --auto-remove -y \
|
||||
build-essential \
|
||||
curl \
|
||||
graphviz \
|
||||
autoconf \
|
||||
automake \
|
||||
bzip2 \
|
||||
debhelper \
|
||||
dh-autoreconf \
|
||||
libssl-dev \
|
||||
libtool \
|
||||
python-all \
|
||||
python-six \
|
||||
python-twisted-conch \
|
||||
python-zopeinterface ;\
|
||||
clean-install \
|
||||
iproute2 ;\
|
@ -1,37 +0,0 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /bin/bash
|
||||
|
||||
DOCKER_REGISTRY ?= docker.io
|
||||
IMAGE_NAME ?= openvswitch
|
||||
IMAGE_PREFIX ?= openstackhelm
|
||||
OVS_VERSION ?= 2.8.1
|
||||
IMAGE_TAG ?= v$(OVS_VERSION)
|
||||
LABEL ?= putlabelshere
|
||||
|
||||
IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}
|
||||
|
||||
# Build openvswitch Docker image for this project
|
||||
.PHONY: images
|
||||
images: build_$(IMAGE_NAME)
|
||||
|
||||
# Make targets intended for use by the primary targets above.
|
||||
.PHONY: build_$(IMAGE_NAME)
|
||||
build_$(IMAGE_NAME):
|
||||
docker build \
|
||||
--network=host \
|
||||
--build-arg OVS_VERSION=$(OVS_VERSION) \
|
||||
--label $(LABEL) \
|
||||
-t $(IMAGE) \
|
||||
.
|
@ -1,39 +0,0 @@
|
||||
OpenvSwitch Container
|
||||
=====================
|
||||
|
||||
This container builds a small image with OpenvSwitch.
|
||||
|
||||
Instructions
|
||||
------------
|
||||
|
||||
OS Specific Host setup:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ubuntu:
|
||||
^^^^^^^
|
||||
|
||||
From a freshly provisioned Ubuntu 16.04 LTS host run:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y \
|
||||
docker.io \
|
||||
git
|
||||
|
||||
Build the VBMC Image environment
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A known good image is published to dockerhub on a fairly regular basis, but if
|
||||
you wish to build your own image, from the root directory of the OpenStack-Helm
|
||||
repo run:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
OVS_VERSION=2.8.1
|
||||
sudo docker build \
|
||||
--network=host \
|
||||
--build-arg OVS_VERSION="${OVS_VERSION}" \
|
||||
-t docker.io/openstackhelm/openvswitch:v${OVS_VERSION} \
|
||||
tools/images/openvswitch
|
||||
sudo docker push docker.io/openstackhelm/openvswitch:v${OVS_VERSION}
|
@ -1,24 +0,0 @@
|
||||
FROM ubuntu:16.04
|
||||
|
||||
RUN set -ex ;\
|
||||
export DEBIAN_FRONTEND=noninteractive ;\
|
||||
apt-get update ;\
|
||||
apt-get upgrade -y ;\
|
||||
apt-get install netbase -y ;\
|
||||
apt-get install --no-install-recommends -y \
|
||||
python-dev \
|
||||
build-essential \
|
||||
python-pip \
|
||||
git ;\
|
||||
git clone https://opendev.org/openstack/tempest ;\
|
||||
git clone https://opendev.org/openstack/cinder-tempest-plugin ;\
|
||||
git clone https://opendev.org/openstack/heat-tempest-plugin ;\
|
||||
git clone https://opendev.org/openstack/keystone-tempest-plugin ;\
|
||||
git clone https://opendev.org/openstack/neutron-tempest-plugin ;\
|
||||
pip install -U setuptools ;\
|
||||
pip install wheel ;\
|
||||
pip install -e tempest/ \
|
||||
cinder-tempest-plugin/ \
|
||||
heat-tempest-plugin/ \
|
||||
keystone-tempest-plugin/ \
|
||||
neutron-tempest-plugin/ ;\
|
@ -1,36 +0,0 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /bin/bash
|
||||
|
||||
DOCKER_REGISTRY ?= docker.io
|
||||
IMAGE_NAME ?= tempest
|
||||
IMAGE_PREFIX ?= openstackhelm
|
||||
IMAGE_TAG ?= plugins
|
||||
LABEL ?= putlabelshere
|
||||
|
||||
IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}
|
||||
|
||||
# Build tempest Docker image for this project
|
||||
.PHONY: images
|
||||
images: build_$(IMAGE_NAME)
|
||||
|
||||
# Make targets intended for use by the primary targets above.
|
||||
.PHONY: build_$(IMAGE_NAME)
|
||||
build_$(IMAGE_NAME):
|
||||
docker build \
|
||||
--network=host \
|
||||
--force-rm \
|
||||
--label $(LABEL) \
|
||||
-t $(IMAGE) \
|
||||
.
|
Loading…
Reference in New Issue
Block a user