From 5ce30ee9cbac73651f147f7ee5fee56d67a6fb90 Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 24 May 2017 15:18:11 +0100 Subject: [PATCH] Updates for pike b1 Add amulet tests for pike, but leave disabled for now. Required charmhelpers support for Pike picked up during rebuild. Change-Id: Id7cb699dd9d1ca806e862917137f6d1d69c6fef8 --- src/tests/gate-basic-artful-pike | 24 ++++++++++++++++++++++++ src/tests/gate-basic-xenial-pike | 26 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 src/tests/gate-basic-artful-pike create mode 100644 src/tests/gate-basic-xenial-pike diff --git a/src/tests/gate-basic-artful-pike b/src/tests/gate-basic-artful-pike new file mode 100644 index 0000000..e7e5579 --- /dev/null +++ b/src/tests/gate-basic-artful-pike @@ -0,0 +1,24 @@ +#!/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 openvswitch ODL deployment on artful-pike.""" + +from basic_deployment import OVSODLBasicDeployment + +if __name__ == '__main__': + deployment = OVSODLBasicDeployment(series='artful', + odl_version='beryllium') + deployment.run_tests() diff --git a/src/tests/gate-basic-xenial-pike b/src/tests/gate-basic-xenial-pike new file mode 100644 index 0000000..79787b1 --- /dev/null +++ b/src/tests/gate-basic-xenial-pike @@ -0,0 +1,26 @@ +#!/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 openvswitch ODL deployment on xenial-pike.""" + +from basic_deployment import OVSODLBasicDeployment + +if __name__ == '__main__': + deployment = OVSODLBasicDeployment(series='xenial', + openstack='cloud:xenial-pike', + source='cloud:xenial-updates/pike', + odl_version='beryllium') + deployment.run_tests()