Add Bionic testing

Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I732766c759d72783ff4680733de7ab9f50125e81
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Jean-Philippe Evrard 2018-05-08 22:37:38 +02:00 committed by Kevin Carter
parent f3421d7687
commit 573bd04e44
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
4 changed files with 45 additions and 2 deletions

View File

@ -22,6 +22,7 @@ galaxy_info:
platforms: platforms:
- name: Ubuntu - name: Ubuntu
versions: versions:
- bionic
- xenial - xenial
- name: EL - name: EL
versions: versions:

35
vars/ubuntu-18.04.yml Normal file
View File

@ -0,0 +1,35 @@
---
# Copyright 2018, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
_nspawn_map:
distro: ubuntu
arch: "{{ nspawn_architecture_mapping[container_architecture] }}"
release: bionic
# This is a list of items that will be passed into the container as READ-ONLY
# files or directories. If any of these items are passed into the container
# the container create process will ensure the file is not present within the
# contianer prior to writting the config.
_nspawn_read_only_host_bindmount:
- { source: /etc/environment, dest: /etc/environment }
# This is a list of items that will be passed into the container as a shared
# bind mount. If any of these items are passed into the container.
_nspawn_shared_host_bindmount:
- /etc/localtime
- /root
- /opt
_nspawn_container_enable_resolved: true

View File

@ -13,6 +13,11 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
- job:
name: openstack-ansible-nspawn-ubuntu-bionic
parent: openstack-ansible-functional
nodeset: ubuntu-xenial
- job: - job:
name: openstack-ansible-nspawn-ubuntu-xenial name: openstack-ansible-nspawn-ubuntu-xenial
parent: openstack-ansible-functional parent: openstack-ansible-functional

View File

@ -16,15 +16,17 @@
check: check:
jobs: jobs:
- openstack-ansible-linters - openstack-ansible-linters
- openstack-ansible-nspawn-ubuntu-xenial
- openstack-ansible-nspawn-centos-7 - openstack-ansible-nspawn-centos-7
- openstack-ansible-nspawn-opensuse-423 - openstack-ansible-nspawn-opensuse-423
- openstack-ansible-nspawn-ubuntu-bionic
- openstack-ansible-nspawn-ubuntu-xenial
experimental: experimental:
jobs: jobs:
- openstack-ansible-integrated-deploy-aio - openstack-ansible-integrated-deploy-aio
gate: gate:
jobs: jobs:
- openstack-ansible-linters - openstack-ansible-linters
- openstack-ansible-nspawn-ubuntu-xenial
- openstack-ansible-nspawn-centos-7 - openstack-ansible-nspawn-centos-7
- openstack-ansible-nspawn-opensuse-423 - openstack-ansible-nspawn-opensuse-423
- openstack-ansible-nspawn-ubuntu-bionic
- openstack-ansible-nspawn-ubuntu-xenial