Porthole updates
This PS makes the follofing changes: - adds iproute2 package to compute-utility - kubectl updated to 1.27.4 in focal images - if available - mounts 80Gb volume in zuul nodes for docker and containerd - runs local docker registry and let's containerd to pull locally built images for tests Change-Id: I09faace44f68bf0d75a6f4272006cb36e02314d4
This commit is contained in:
parent
8c69a118df
commit
bd95b13d2b
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
calicoctl_utility: quay.io/airshipit/porthole-calicoctl-utility:latest-ubuntu_bionic
|
||||
calicoctl_utility: localhost:5000/porthole-calicoctl-utility:latest-ubuntu_bionic
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
calicoctl_utility: quay.io/airshipit/porthole-calicoctl-utility:latest-ubuntu_focal
|
||||
calicoctl_utility: localhost:5000/porthole-calicoctl-utility:latest-ubuntu_focal
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
ceph_utility: quay.io/airshipit/porthole-ceph-utility:latest-ubuntu_bionic
|
||||
ceph_utility: localhost:5000/porthole-ceph-utility:latest-ubuntu_bionic
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
ceph_utility: quay.io/airshipit/porthole-ceph-utility:latest-ubuntu_focal
|
||||
ceph_utility: localhost:5000/porthole-ceph-utility:latest-ubuntu_focal
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
compute_utility: quay.io/airshipit/porthole-compute-utility:latest-ubuntu_bionic
|
||||
compute_utility: localhost:5000/porthole-compute-utility:latest-ubuntu_bionic
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
compute_utility: quay.io/airshipit/porthole-compute-utility:latest-ubuntu_focal
|
||||
compute_utility: localhost:5000/porthole-compute-utility:latest-ubuntu_focal
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
etcdctl_utility: quay.io/airshipit/porthole-etcdctl-utility:latest-ubuntu_bionic
|
||||
etcdctl_utility: localhost:5000/porthole-etcdctl-utility:latest-ubuntu_bionic
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
etcdctl_utility: quay.io/airshipit/porthole-etcdctl-utility:latest-ubuntu_focal
|
||||
etcdctl_utility: localhost:5000/porthole-etcdctl-utility:latest-ubuntu_focal
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
mysqlclient_utility: quay.io/airshipit/porthole-mysqlclient-utility:latest-ubuntu_bionic
|
||||
mysqlclient_utility: localhost:5000/porthole-mysqlclient-utility:latest-ubuntu_bionic
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
mysqlclient_utility: quay.io/airshipit/porthole-mysqlclient-utility:latest-ubuntu_focal
|
||||
mysqlclient_utility: localhost:5000/porthole-mysqlclient-utility:latest-ubuntu_focal
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
openstack_utility: quay.io/airshipit/porthole-openstack-utility:latest-ubuntu_bionic
|
||||
openstack_utility: localhost:5000/porthole-openstack-utility:latest-ubuntu_bionic
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
openstack_utility: quay.io/airshipit/porthole-openstack-utility:latest-ubuntu_focal
|
||||
openstack_utility: localhost:5000/porthole-openstack-utility:latest-ubuntu_focal
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
postgresql_utility: quay.io/airshipit/porthole-postgresql-utility:latest-ubuntu_bionic
|
||||
postgresql_utility: localhost:5000/porthole-postgresql-utility:latest-ubuntu_bionic
|
||||
...
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
images:
|
||||
tags:
|
||||
postgresql_utility: quay.io/airshipit/porthole-postgresql-utility:latest-ubuntu_focal
|
||||
postgresql_utility: localhost:5000/porthole-postgresql-utility:latest-ubuntu_focal
|
||||
...
|
@ -11,7 +11,7 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc
|
||||
# Quincy 12.2.5
|
||||
ARG CEPH_RELEASE=quincy
|
||||
ARG CEPH_RELEASE_TAG=17.2.6-1focal
|
||||
ARG KUBE_VERSION=1.27.1
|
||||
ARG KUBE_VERSION=1.27.4
|
||||
|
||||
ARG CEPH_REPO=https://mirror.mirantis.com/acicd/ceph-quincy/
|
||||
ARG CEPH_KEY=https://mirror.mirantis.com/acicd/ceph-quincy/release.asc
|
||||
|
@ -8,7 +8,7 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc
|
||||
org.opencontainers.image.vendor='The Airship Authors' \
|
||||
org.opencontainers.image.licenses='Apache-2.0'
|
||||
|
||||
ARG KUBE_VERSION=1.27.1
|
||||
ARG KUBE_VERSION=1.27.4
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@ -24,6 +24,7 @@ RUN set -xe \
|
||||
gnupg \
|
||||
hexedit \
|
||||
iperf \
|
||||
iproute2 \
|
||||
jq \
|
||||
moreutils \
|
||||
radosgw \
|
||||
|
@ -9,7 +9,7 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc
|
||||
org.opencontainers.image.licenses='Apache-2.0'
|
||||
|
||||
ARG ETCDCTL_VERSION=v3.5.6
|
||||
ARG KUBE_VERSION=1.27.1
|
||||
ARG KUBE_VERSION=1.27.4
|
||||
|
||||
ENV GOOGLE_URL=https://storage.googleapis.com/etcd
|
||||
ENV GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
|
||||
|
@ -8,7 +8,7 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc
|
||||
org.opencontainers.image.vendor='The Airship Authors' \
|
||||
org.opencontainers.image.licenses='Apache-2.0'
|
||||
|
||||
ARG KUBE_VERSION=1.27.1
|
||||
ARG KUBE_VERSION=1.27.4
|
||||
|
||||
RUN set -xe \
|
||||
&& export DEBIAN_FRONTEND=noninteractive \
|
||||
|
@ -8,7 +8,7 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc
|
||||
org.opencontainers.image.vendor='The Airship Authors' \
|
||||
org.opencontainers.image.licenses='Apache-2.0'
|
||||
|
||||
ARG KUBE_VERSION=1.27.1
|
||||
ARG KUBE_VERSION=1.27.4
|
||||
|
||||
RUN set -xe \
|
||||
&& export DEBIAN_FRONTEND=noninteractive \
|
||||
|
@ -13,5 +13,29 @@
|
||||
|
||||
set -x
|
||||
|
||||
|
||||
: "${DISTRO="ubuntu_focal"}"
|
||||
|
||||
env
|
||||
make images
|
||||
make images
|
||||
|
||||
docker rm registry --force || true
|
||||
docker run -d -p 5000:5000 --restart=always --name registry registry:2
|
||||
|
||||
docker tag quay.io/airshipit/porthole-calicoctl-utility:latest-${DISTRO} localhost:5000/porthole-calicoctl-utility:latest-${DISTRO}
|
||||
docker tag quay.io/airshipit/porthole-ceph-utility:latest-${DISTRO} localhost:5000/porthole-ceph-utility:latest-${DISTRO}
|
||||
docker tag quay.io/airshipit/porthole-compute-utility:latest-${DISTRO} localhost:5000/porthole-compute-utility:latest-${DISTRO}
|
||||
docker tag quay.io/airshipit/porthole-etcdctl-utility:latest-${DISTRO} localhost:5000/porthole-etcdctl-utility:latest-${DISTRO}
|
||||
docker tag quay.io/airshipit/porthole-mysqlclient-utility:latest-${DISTRO} localhost:5000/porthole-mysqlclient-utility:latest-${DISTRO}
|
||||
docker tag quay.io/airshipit/porthole-openstack-utility:latest-${DISTRO} localhost:5000/porthole-openstack-utility:latest-${DISTRO}
|
||||
docker tag quay.io/airshipit/porthole-postgresql-utility:latest-${DISTRO} localhost:5000/porthole-postgresql-utility:latest-${DISTRO}
|
||||
|
||||
|
||||
|
||||
docker push localhost:5000/porthole-calicoctl-utility:latest-${DISTRO}
|
||||
docker push localhost:5000/porthole-ceph-utility:latest-${DISTRO}
|
||||
docker push localhost:5000/porthole-compute-utility:latest-${DISTRO}
|
||||
docker push localhost:5000/porthole-etcdctl-utility:latest-${DISTRO}
|
||||
docker push localhost:5000/porthole-mysqlclient-utility:latest-${DISTRO}
|
||||
docker push localhost:5000/porthole-openstack-utility:latest-${DISTRO}
|
||||
docker push localhost:5000/porthole-postgresql-utility:latest-${DISTRO}
|
@ -24,6 +24,16 @@
|
||||
set -x
|
||||
./tools/deployment/000-install-packages.sh
|
||||
./tools/deployment/002-build-charts.sh
|
||||
sudo fdisk --list
|
||||
df -h
|
||||
sudo mkdir -p /opt/ext_vol
|
||||
BIG_VOLUME=$(sudo fdisk -l 2>&1 | grep -E 80G | grep Linux | awk '{print $1}')
|
||||
if ! mount | grep "${BIG_VOLUME}"
|
||||
then
|
||||
sudo mkfs.ext4 "${BIG_VOLUME}"
|
||||
sudo mount "${BIG_VOLUME}" /opt/ext_vol
|
||||
df -h
|
||||
fi
|
||||
./tools/deployment/003-deploy-k8s.sh
|
||||
./tools/deployment/004-make-images.sh
|
||||
args:
|
||||
|
@ -58,7 +58,6 @@
|
||||
executable: pip3
|
||||
become: True
|
||||
|
||||
|
||||
- name: Make images
|
||||
when: not publish
|
||||
block:
|
||||
|
@ -17,7 +17,7 @@
|
||||
set -x
|
||||
|
||||
HELM=$1
|
||||
HELM_ARTIFACT_URL=${HELM_ARTIFACT_URL:-"https://get.helm.sh/helm-v3.11.1-linux-amd64.tar.gz"}
|
||||
HELM_ARTIFACT_URL=${HELM_ARTIFACT_URL:-"https://get.helm.sh/helm-v3.12.2-linux-amd64.tar.gz"}
|
||||
|
||||
|
||||
function install_helm_binary {
|
||||
|
Loading…
x
Reference in New Issue
Block a user