summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrode Nordahl <frode.nordahl@canonical.com>2019-04-08 13:51:30 +0200
committerAlex Kavanagh (tinwood) <alex.kavanagh@canonical.com>2019-04-24 15:47:47 +0000
commit07e40a29274f544dcffb166b2de25565504db892 (patch)
treec48d34b830a48e73194eb310d933b0faf2fc6f4e
parent2e1fc7090b936c3e5f1a690e1c749e594b0f8a59 (diff)
downloadcharm-nova-lxd-07e40a29274f544dcffb166b2de25565504db892.zip
charm-nova-lxd-07e40a29274f544dcffb166b2de25565504db892.tar.gz
charm-nova-lxd-07e40a29274f544dcffb166b2de25565504db892.tar.bz2
Enable bionic/stein and disco/stein functional tests
Change-Id: I1e95d131193225048683690d2d80012469bb64d7
-rwxr-xr-xtests/dev-basic-disco-stein25
-rwxr-xr-xtests/gate-basic-bionic-stein25
2 files changed, 50 insertions, 0 deletions
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()

This mirror site include all the OpenStack related repositories under: openstack, openstack-dev and openstack-infra.

NOTE: All repositories are updated every one hour.

Usage

For Git Clone
 git clone http://git.trystack.cn/openstack/nova.git 
For DevStack

Add GIT_BASE, NOVNC_REPO and SPICE_REPO variables to local.conf file.

[[local|localrc]]

# use TryStack git mirror
GIT_BASE=http://git.trystack.cn
NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git
SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git