Browse Source

Merge "Check container on top of arm64 architecture"

changes/98/823998/4
Zuul 5 months ago committed by Gerrit Code Review
parent
commit
5de6fde013
  1. 7
      Dockerfile
  2. 35
      zuul.d/docker.yaml

7
Dockerfile

@ -4,6 +4,7 @@ FROM centos:8 as lower-constraints
ENV CONSTRAINS_FILE=lower-constraints.txt
ENV INSTALL_PACKAGES="dnf install -y"
ENV INSTALL_PACKAGES_GROUP="dnf groupinstall -y"
ENV PYTHON_VERSION=3
USER 0
@ -13,6 +14,7 @@ FROM fedora:34 as py39
ENV CONSTRAINS_FILE=upper-constraints.txt
ENV INSTALL_PACKAGES="dnf install -y"
ENV INSTALL_PACKAGES_GROUP="dnf groupinstall -y"
ENV PYTHON_VERSION=3.9
USER 0
@ -22,6 +24,7 @@ FROM fedora:35 as py310
ENV CONSTRAINS_FILE=upper-constraints.txt
ENV INSTALL_PACKAGES="dnf install -y"
ENV INSTALL_PACKAGES_GROUP="dnf groupinstall -y"
ENV PYTHON_VERSION=3.10
USER 0
@ -60,7 +63,9 @@ ADD .git ${TOBIKO_DIR}/.git/
FROM source as build
RUN ${INSTALL_PACKAGES} gcc ${PYTHON}-devel
# Install development packages
RUN ${INSTALL_PACKAGES_GROUP} "Development Tools"
RUN ${INSTALL_PACKAGES} ${PYTHON}-devel
# Build wheel files
RUN mkdir -p ${WHEEL_DIR}

35
zuul.d/docker.yaml

@ -13,6 +13,11 @@
- tobiko-docker-functional
- tobiko-docker-infrared
- tobiko-docker-linters
check-arm64:
jobs:
- tobiko-docker-lower-constraints-arm64
- tobiko-docker-py3-arm64
- tobiko-docker-py310-arm64
gate:
jobs:
- tobiko-docker-functional
@ -98,3 +103,33 @@
parent: tobiko-docker-py3
vars:
docker_compose_service: linters
- job:
name: tobiko-docker-py3-arm64
description: |
Run unit tests for an OpenStack Python project inside a Docker container on top
of arm64 architecture
voting: false
parent: tobiko-docker-py3
nodeset: ubuntu-focal-arm64
- job:
name: tobiko-docker-py310-arm64
description: |
Run unit tests for an OpenStack Python project inside a Docker container on top
of arm64 architecture
voting: false
parent: tobiko-docker-py310
nodeset: ubuntu-focal-arm64
- job:
name: tobiko-docker-lower-constraints-arm64
description: |
Run unit tests for an OpenStack Python project inside a Docker container on top
of arm64 architecture
voting: false
parent: tobiko-docker-lower-constraints
nodeset: ubuntu-focal-arm64

Loading…
Cancel
Save