From 7848824d8defa91a4b9dfc1f7de3a17285f9cd52 Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Tue, 5 Dec 2017 05:27:13 +0000 Subject: [PATCH] Add Bionic and remove Zesty series and tests Bionic, being the next LTS, is important to enable for dev and test as early as possible ahead of 18.02. Zesty goes EOL in Jan 2018. The next stable charms release (18.02) will not provide Zesty series support, as it was an interim (non-LTS) release. Change-Id: If8d82e92a6768af127e68d18c65dfbc3b97f49f9 --- metadata.yaml | 2 +- ...ic-zesty-ocata => dev-basic-bionic-queens} | 4 +-- tests/dev-basic-xenial-queens | 25 +++++++++++++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) rename tests/{gate-basic-zesty-ocata => dev-basic-bionic-queens} (84%) create mode 100755 tests/dev-basic-xenial-queens diff --git a/metadata.yaml b/metadata.yaml index c709dbbb..1931cd06 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -12,8 +12,8 @@ tags: - misc series: - xenial + - bionic - artful - - zesty - trusty description: | Ceph is a distributed storage and network file system designed to provide diff --git a/tests/gate-basic-zesty-ocata b/tests/dev-basic-bionic-queens similarity index 84% rename from tests/gate-basic-zesty-ocata rename to tests/dev-basic-bionic-queens index d2d61e1b..0dafe812 100755 --- a/tests/gate-basic-zesty-ocata +++ b/tests/dev-basic-bionic-queens @@ -14,10 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Amulet tests on a basic ceph-osd deployment on zesty-ocata.""" +"""Amulet tests on a basic ceph-osd deployment on bionic-queens.""" from basic_deployment import CephOsdBasicDeployment if __name__ == '__main__': - deployment = CephOsdBasicDeployment(series='zesty') + deployment = CephOsdBasicDeployment(series='bionic') deployment.run_tests() diff --git a/tests/dev-basic-xenial-queens b/tests/dev-basic-xenial-queens new file mode 100755 index 00000000..61c7b06d --- /dev/null +++ b/tests/dev-basic-xenial-queens @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# +# Copyright 2016 Canonical Ltd +# +# 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. + +"""Amulet tests on a basic ceph-osd deployment on xenial-queens.""" + +from basic_deployment import CephOsdBasicDeployment + +if __name__ == '__main__': + deployment = CephOsdBasicDeployment(series='xenial', + openstack='cloud:xenial-queens', + source='cloud:xenial-updates/queens') + deployment.run_tests()