From 88da8fea7f94f6249862a39d3b3af9894033bf70 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Mon, 8 Apr 2019 13:51:10 +0200 Subject: [PATCH] Enable bionic/stein and disco/stein functional tests Change-Id: I410728f6655e1363cd61c5191abd763ea766db6a --- src/tests/dev-basic-disco-stein | 24 ++++++++++++++++++++++++ src/tests/gate-basic-bionic-stein | 27 +++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100755 src/tests/dev-basic-disco-stein create mode 100755 src/tests/gate-basic-bionic-stein diff --git a/src/tests/dev-basic-disco-stein b/src/tests/dev-basic-disco-stein new file mode 100755 index 0000000..664bbc9 --- /dev/null +++ b/src/tests/dev-basic-disco-stein @@ -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 aodh deployment on trusty-stein.""" + +from basic_deployment import DesignateBasicDeployment + +if __name__ == '__main__': + deployment = DesignateBasicDeployment(series='disco') + deployment.run_tests() diff --git a/src/tests/gate-basic-bionic-stein b/src/tests/gate-basic-bionic-stein new file mode 100755 index 0000000..6e24087 --- /dev/null +++ b/src/tests/gate-basic-bionic-stein @@ -0,0 +1,27 @@ +#!/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 aodh deployment on bionic-stein.""" + +from basic_deployment import DesignateBasicDeployment + +if __name__ == '__main__': + deployment = DesignateBasicDeployment( + series='bionic', + openstack='cloud:bionic-stein', + source='cloud:bionic-stein') + deployment.run_tests()