Add Bionic testing

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

The UCA repository is pointing to queens, as Q is supported on both
18.04 and 16.04

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I0ba49abb963bde2e48d6456a8e60b949099d0b4c
This commit is contained in:
Jean-Philippe Evrard 2018-05-08 21:53:31 +02:00
parent 4a7cac7153
commit ca48f99258
3 changed files with 55 additions and 0 deletions

View File

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

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

@ -0,0 +1,52 @@
---
# Copyright 2016 IBM Corp
# Copyright 2015, Serge van Ginderachter <serge@vanginderachter.be>
#
# 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.
## APT Cache Options
cache_timeout: 600
# Ceph GPG Keys
ceph_gpg_keys:
- key_name: 'ceph'
keyserver: 'hkp://keyserver.ubuntu.com:80'
fallback_keyserver: 'hkp://p80.pool.sks-keyservers.net:80'
hash_id: '0xe84ac2c0460f3994'
# The apt-key command won't del a key when you give it the hash_id, so we have
# to use the short key ID here instead.
ceph_revoked_gpg_keys:
- '17ED316D'
# Ceph.com repository variables
ceph_apt_repo_url_region: "download" # or "eu" for Netherlands based mirror
ceph_apt_repo_url: "http://{{ ceph_apt_repo_url_region }}.ceph.com/debian-{{ ceph_stable_release }}/"
# Ubuntu Cloud Archive variables
uca_openstack_release: queens
uca_repo_dist: "{{ ansible_lsb.codename }}-updates/{{ uca_openstack_release }}"
libvirt_package: libvirt-bin
libvirt_service_name: libvirt-bin
python_ceph_packages:
- python-ceph
# Apt repositories
ceph_apt_repos:
ceph:
repo: "deb {{ ceph_apt_repo_url }} {{ ansible_lsb.codename }} main"
state: "present"
uca:
repo: "deb {{ uca_apt_repo_url }} {{ uca_repo_dist }} main"
state: "present"

View File

@ -18,6 +18,7 @@
- openstack-ansible-linters
- openstack-ansible-functional-centos-7
- openstack-ansible-functional-opensuse-423
- openstack-ansible-functional-ubuntu-bionic
- openstack-ansible-functional-ubuntu-xenial
experimental:
jobs:
@ -28,4 +29,5 @@
- openstack-ansible-linters
- openstack-ansible-functional-centos-7
- openstack-ansible-functional-opensuse-423
- openstack-ansible-functional-ubuntu-bionic
- openstack-ansible-functional-ubuntu-xenial