Add test for Ubuntu Bionic

We require:

* lxc3 compatibility 589146
* remove bonds from AIO networks 594085
* ensure network fail makes test fail + flush handlers 593546

Depends-On: https://review.openstack.org/589146
Depends-On: https://review.openstack.org/594085
Depends-On: https://review.openstack.org/593546
Change-Id: I36dcb74f93064cc5c06600d0595c1d6484e1d774
This commit is contained in:
Jonathan Rosser 2018-08-13 08:50:39 +01:00
parent e7321a6bff
commit 4b0f18d870
4 changed files with 18 additions and 2 deletions

View File

@ -45,9 +45,10 @@
assert: assert:
that: that:
- (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or - (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
(ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'bionic') or
(ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') or
(ansible_os_family == 'Suse' and ansible_distribution_major_version == '42') (ansible_os_family == 'Suse' and ansible_distribution_major_version == '42')
msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial), CentOS 7 (WIP) and openSUSE Leap 42.X (WIP)" msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial), Ubuntu 18.04 LTS (Bionic), CentOS 7 (WIP) and openSUSE Leap 42.X (WIP)"
- include: common-tasks/package-cache-proxy.yml - include: common-tasks/package-cache-proxy.yml
when: install_method == "source" when: install_method == "source"

View File

@ -17,9 +17,10 @@
assert: assert:
that: that:
- (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or - (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
(ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'bionic') or
(ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') or
(ansible_os_family == 'Suse' and ansible_distribution_major_version == '42') (ansible_os_family == 'Suse' and ansible_distribution_major_version == '42')
msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial), CentOS 7 (WIP) and openSUSE Leap 42.X (WIP)" msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial), Ubuntu 18.04 LTS (Bionic), CentOS 7 (WIP) and openSUSE Leap 42.X (WIP)"
when: (check_operating_system | default(True))| bool when: (check_operating_system | default(True))| bool
tags: tags:
- check-operating-system - check-operating-system

View File

@ -38,6 +38,12 @@
install_method: source install_method: source
# Ensuring overrides work # Ensuring overrides work
- job:
name: openstack-ansible-varstest-aio_lxc-ubuntu-bionic
parent: openstack-ansible-deploy-aio_lxc-ubuntu-bionic
vars:
action: varstest
- job: - job:
name: openstack-ansible-varstest-aio_lxc-ubuntu-xenial name: openstack-ansible-varstest-aio_lxc-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
@ -69,6 +75,11 @@
ansible_package: "file://{{ ansible_user_dir }}/src/github.com/ansible/ansible" ansible_package: "file://{{ ansible_user_dir }}/src/github.com/ansible/ansible"
# ubuntu # ubuntu
- job:
name: openstack-ansible-deploy-aio_lxc-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
- job: - job:
name: openstack-ansible-deploy-aio_lxc-ubuntu-xenial name: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
parent: openstack-ansible-deploy-aio parent: openstack-ansible-deploy-aio

View File

@ -29,6 +29,9 @@
#- openstack-ansible-deploy-aio_lxc-centos-7 #- openstack-ansible-deploy-aio_lxc-centos-7
#- openstack-ansible-deploy-aio_lxc-opensuse-423 #- openstack-ansible-deploy-aio_lxc-opensuse-423
- openstack-ansible-deploy-aio_lxc-ubuntu-xenial - openstack-ansible-deploy-aio_lxc-ubuntu-xenial
# NOTE(jrosser): Temporarily mark Bionic as non-voting until other bionic work is complete
- openstack-ansible-deploy-aio_lxc-ubuntu-bionic:
voting: false
- openstack-ansible-deploy-aio_metal-ubuntu-xenial - openstack-ansible-deploy-aio_metal-ubuntu-xenial
- openstack-ansible-deploy-aio_metal-opensuse-423 - openstack-ansible-deploy-aio_metal-opensuse-423
- openstack-ansible-deploy-aio_metal-centos-7 - openstack-ansible-deploy-aio_metal-centos-7