Check container on top of arm64 architecture

Change-Id: I8ab50226e9f079513dbc2fcaec16ab62d255144f
This commit is contained in:
Federico Ressi 2022-01-07 09:13:07 +01:00
parent a6d9345105
commit 8637d0db23
2 changed files with 41 additions and 1 deletions

View File

@ -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}

View File

@ -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