Merge "Add arm64 based functional test"
This commit is contained in:
commit
f6d32a684f
@ -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: |
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
if [[ "${ARCH}" == "arm64" ]]; then
|
||||||
|
export DIB_DISTRIBUTION_MIRROR=${NODEPOOL_UBUNTU_PORTS_MIRROR}
|
||||||
|
elif [[ "${ARCH}" == "amd64" ]]; then
|
||||||
export DIB_DISTRIBUTION_MIRROR=$NODEPOOL_UBUNTU_MIRROR
|
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
|
||||||
|
@ -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
|
@ -0,0 +1,3 @@
|
|||||||
|
block-device-efi
|
||||||
|
openstack-ci-mirrors
|
||||||
|
vm
|
@ -0,0 +1 @@
|
|||||||
|
export DIB_RELEASE=bionic
|
@ -0,0 +1 @@
|
|||||||
|
tar,qcow2
|
Loading…
Reference in New Issue
Block a user