Add ubuntu focal image for tempest

Change-Id: I386a98cf88b26cce4c3c7ac7f03eaa22575c822c
This commit is contained in:
okozachenko
2022-04-11 18:54:06 +10:00
parent c89b05c6e8
commit 3974401a02
2 changed files with 33 additions and 6 deletions

View File

@@ -0,0 +1,27 @@
ARG FROM=ubuntu:20.04
FROM ${FROM}
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 \
python3-dev \
build-essential \
python3-pip \
libssl-dev \
git ;\
pip3 install -U pip ;\
git clone https://git.openstack.org/openstack/tempest ;\
git clone https://git.openstack.org/openstack/cinder-tempest-plugin ;\
git clone https://git.openstack.org/openstack/heat-tempest-plugin ;\
git clone https://git.openstack.org/openstack/keystone-tempest-plugin ;\
git clone https://git.openstack.org/openstack/neutron-tempest-plugin ;\
pip3 install -U setuptools==58.0.0 ;\
pip3 install wheel ;\
pip3 install -e tempest/ \
cinder-tempest-plugin/ \
heat-tempest-plugin/ \
keystone-tempest-plugin/ \
neutron-tempest-plugin/ ;\

View File

@@ -40,12 +40,12 @@
tags:
- latest-ubuntu_bionic
- "ubuntu_bionic-{{ currentdate }}"
#- context: tempest
# repository: openstackhelm/tempest
# dockerfile: Dockerfile.opensuse_15
# tags:
# - latest-opensuse_15
# - "opensuse_15-{{ currentdate }}"
- context: tempest
repository: openstackhelm/tempest
dockerfile: Dockerfile.ubuntu_focal
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
files: &tempest_files
- tempest/.*
- zuul.d/tempest.yaml