Merge "Add arm64 based functional test"

This commit is contained in:
Zuul 2019-12-16 21:31:51 +00:00 committed by Gerrit Code Review
commit f6d32a684f
7 changed files with 35 additions and 2 deletions

View File

@ -75,6 +75,16 @@
- ubuntu-systemd-container/bionic-build-succeeds - ubuntu-systemd-container/bionic-build-succeeds
- ubuntu-systemd-container/xenial-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 # Trusty / Python 2 tests
- job: - job:
name: dib-functests-trusty-python2 name: dib-functests-trusty-python2
@ -199,8 +209,15 @@
vars: vars:
dib_python: python2 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: - job:
name: dib-nodepool-functional-src-base name: dib-nodepool-functional-src-base
description: | description: |

View File

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

View File

@ -21,7 +21,11 @@ $_xtrace
# note 11- is after 10- which is where DISTRO_NAME is set usually # note 11- is after 10- which is where DISTRO_NAME is set usually
if [[ "${DISTRO_NAME}" == "ubuntu" ]]; then if [[ "${DISTRO_NAME}" == "ubuntu" ]]; then
export DIB_DISTRIBUTION_MIRROR=$NODEPOOL_UBUNTU_MIRROR 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" export DIB_DEBOOTSTRAP_EXTRA_ARGS+=" --no-check-gpg"
elif [[ "${DISTRO_NAME}" == "debian" ]]; then elif [[ "${DISTRO_NAME}" == "debian" ]]; then
export DIB_DISTRIBUTION_MIRROR=$NODEPOOL_DEBIAN_MIRROR 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