From 755deaa44282b740451c413a61826635543ed23f Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Wed, 23 Nov 2016 15:29:23 -0600 Subject: [PATCH] Update Amulet defs, series metadata and c-h sync - Sync charm helpers if applicable. - Fix test executable hashbags for virtualenv prep. - Add Yakkety-Newton Amulet test definitions. - Prep Xenial-Ocata Amulet test definitions (not yet enabled). - Prep Zesty-Ocata Amulet test definitions (not yet enabled). - Remove Precise charm series metadata if present. - Remove Precise Amulet test definitions if present. Change-Id: I65882a92c431ada8d7b1f83f4844f1180f74be4c --- src/tests/gate-basic-xenial-ocata | 26 ++++++++++++++++++++++++++ src/tests/gate-basic-yakkety-newton | 0 src/tests/gate-basic-zesty-ocata | 24 ++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 src/tests/gate-basic-xenial-ocata mode change 100644 => 100755 src/tests/gate-basic-yakkety-newton create mode 100644 src/tests/gate-basic-zesty-ocata diff --git a/src/tests/gate-basic-xenial-ocata b/src/tests/gate-basic-xenial-ocata new file mode 100644 index 0000000..fb7abaa --- /dev/null +++ b/src/tests/gate-basic-xenial-ocata @@ -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-ocata.""" + +from basic_deployment import NeutronAPIODLBasicDeployment + +if __name__ == '__main__': + deployment = NeutronAPIODLBasicDeployment(series='xenial', + openstack='cloud:xenial-ocata', + source='cloud:xenial-updates/ocata', + odl_version='beryllium') + deployment.run_tests() diff --git a/src/tests/gate-basic-yakkety-newton b/src/tests/gate-basic-yakkety-newton old mode 100644 new mode 100755 diff --git a/src/tests/gate-basic-zesty-ocata b/src/tests/gate-basic-zesty-ocata new file mode 100644 index 0000000..6239ab5 --- /dev/null +++ b/src/tests/gate-basic-zesty-ocata @@ -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 zesty-ocata.""" + +from basic_deployment import NeutronAPIODLBasicDeployment + +if __name__ == '__main__': + deployment = NeutronAPIODLBasicDeployment(series='zesty', + odl_version='beryllium') + deployment.run_tests()