Add arm64 based functional test

An initial functional test for bionic/arm64 builds, put it in the new
arm64 check queue.

Change-Id: I5f8a047f41c6555da7211b758c55f7a87b3aa5d1
This commit is contained in:
Ian Wienand 2019-08-14 15:43:46 +10:00
parent 76b09c845c
commit 082397a86a
7 changed files with 35 additions and 2 deletions

View File

@ -75,6 +75,16 @@
- ubuntu-systemd-container/bionic-build-succeeds
- ubuntu-systemd-container/xenial-build-succeeds
- job:
name: dib-functests-arm64
description: |
ARM64 build tests
abstract: true
parent: dib-functests-base
vars:
dib_functests:
- ubuntu-minimal/bionic-arm64-build-succeeds
# Trusty / Python 2 tests
- job:
name: dib-functests-trusty-python2
@ -199,8 +209,15 @@
vars:
dib_python: python2
# Build and boot functional tests
# ARM64 tests
- job:
name: dib-functests-arm64-bionic
description: |
ARM64 image tests building on am ARM64 Bionic host
nodeset: ubuntu-bionic-arm64
parent: dib-functests-arm64
# Build and boot functional tests
- job:
name: dib-nodepool-functional-src-base
description: |

View File

@ -32,6 +32,9 @@
- dib-functests-bionic-python3-image
- dib-functests-bionic-python3-extras
- dib-functests-bionic-python3-containers
check-arm64:
jobs:
- dib-functests-arm64-bionic
gate:
jobs:
- openstack-tox-pylint

View File

@ -21,7 +21,11 @@ $_xtrace
# note 11- is after 10- which is where DISTRO_NAME is set usually
if [[ "${DISTRO_NAME}" == "ubuntu" ]]; then
if [[ "${ARCH}" == "arm64" ]]; then
export DIB_DISTRIBUTION_MIRROR=${NODEPOOL_UBUNTU_PORTS_MIRROR}
elif [[ "${ARCH}" == "amd64" ]]; then
export DIB_DISTRIBUTION_MIRROR=$NODEPOOL_UBUNTU_MIRROR
fi
export DIB_DEBOOTSTRAP_EXTRA_ARGS+=" --no-check-gpg"
elif [[ "${DISTRO_NAME}" == "debian" ]]; then
export DIB_DISTRIBUTION_MIRROR=$NODEPOOL_DEBIAN_MIRROR

View File

@ -0,0 +1,4 @@
Verify we can build a ubuntu-minimal image.
Note this test includes the vm element to test the bootloader install,
and specifies to output a .qcow2

View File

@ -0,0 +1,3 @@
block-device-efi
openstack-ci-mirrors
vm