From 07e40a29274f544dcffb166b2de25565504db892 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Mon, 8 Apr 2019 13:51:30 +0200 Subject: [PATCH] Enable bionic/stein and disco/stein functional tests Change-Id: I1e95d131193225048683690d2d80012469bb64d7 --- tests/dev-basic-disco-stein | 25 +++++++++++++++++++++++++ tests/gate-basic-bionic-stein | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100755 tests/dev-basic-disco-stein create mode 100755 tests/gate-basic-bionic-stein diff --git a/tests/dev-basic-disco-stein b/tests/dev-basic-disco-stein new file mode 100755 index 0000000..9b4261e --- /dev/null +++ b/tests/dev-basic-disco-stein @@ -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 lxd deployment on disco-stein.""" + +from basic_deployment import LXDBasicDeployment + +if __name__ == '__main__': + deployment = LXDBasicDeployment( + series='disco', openstack=None, source=None, + stable=False) + deployment.run_tests() diff --git a/tests/gate-basic-bionic-stein b/tests/gate-basic-bionic-stein new file mode 100755 index 0000000..52c2b89 --- /dev/null +++ b/tests/gate-basic-bionic-stein @@ -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 lxd deployment on bionic-stein.""" + +from basic_deployment import LXDBasicDeployment + +if __name__ == '__main__': + deployment = LXDBasicDeployment(series='bionic', + openstack='cloud:bionic-stein', + source='cloud:bionic-stein') + deployment.run_tests()