Enable bionic/stein and disco/stein functional tests

Change-Id: I1e95d131193225048683690d2d80012469bb64d7
This commit is contained in:
Frode Nordahl 2019-04-08 13:51:30 +02:00 committed by Alex Kavanagh (tinwood)
parent 2e1fc7090b
commit 07e40a2927
2 changed files with 50 additions and 0 deletions

25
tests/dev-basic-disco-stein Executable file
View File

@ -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()

25
tests/gate-basic-bionic-stein Executable file
View File

@ -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()