Some time ago we updated the Loci repo to publish Openstack images to quay.io. This PR does the same for this repo to publish infra images to quay.io. The *-docker-image zuul-jobs roles do not support other registries except docker hub. So we have to switch to *-container-image roles which also assumes updating some jobs variables. Also this PR removes build jobs for outdated images - calicoctl-utility - elasticsearch-s3 - gate-utils - ospurge - vbmc Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com> Change-Id: I41bb88dc1e0fd06896865834fd8d118f432d5be2
32 lines
673 B
Docker
32 lines
673 B
Docker
ARG FROM=quay.io/airshipit/ubuntu:noble
|
|
FROM ${FROM}
|
|
|
|
ENV PATH=/var/lib/openstack/bin:$PATH
|
|
ENV LANG=C.UTF-8
|
|
|
|
RUN <<EOF
|
|
#!/bin/bash
|
|
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 \
|
|
python3-dev \
|
|
python3-venv \
|
|
build-essential \
|
|
python3-pip \
|
|
libssl-dev \
|
|
git \
|
|
lsb-release
|
|
python3 -m venv /var/lib/openstack
|
|
source /var/lib/openstack/bin/activate
|
|
pip3 install -U pip setuptools wheel
|
|
pip3 install tempest \
|
|
barbican-tempest-plugin \
|
|
cinder-tempest-plugin \
|
|
heat-tempest-plugin \
|
|
keystone-tempest-plugin \
|
|
neutron-tempest-plugin
|
|
EOF
|