summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Page <james.page@ubuntu.com>2016-07-07 15:32:18 +0100
committerJames Page <james.page@ubuntu.com>2016-07-07 15:32:37 +0100
commit1e91681243ba251f4b85a1ed0ed2cff7b0f40b3f (patch)
treedf2124e393654f4b76919b43b017d3b6acd73750
parent74e74c23cb9cb27636810c99a9287a6e295e961b (diff)
Add support for verification process
Add required configuration files and generally update the interface after move to OpenStack git/gerrit. Change-Id: Id8717e9764187e2f16e9a2a3b6007779b7fb6468
Notes
Notes (review): Verified-1: Canonical CI <uosci-testing-bot@ubuntu.com> Code-Review+2: Ryan Beisner <ryan.beisner@canonical.com> Workflow+1: Ryan Beisner <ryan.beisner@canonical.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 07 Jul 2016 21:18:16 +0000 Reviewed-on: https://review.openstack.org/339029 Project: openstack/charm-interface-keystone Branch: refs/heads/master
-rw-r--r--.gitignore1
-rw-r--r--.gitreview4
-rw-r--r--interface.yaml2
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini19
5 files changed, 23 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 172bf57..9dd3eb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
1.tox 1.tox
2.testrepository
diff --git a/.gitreview b/.gitreview
new file mode 100644
index 0000000..736a626
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,4 @@
1[gerrit]
2host=review.openstack.org
3port=29418
4project=openstack/charm-interface-keystone
diff --git a/interface.yaml b/interface.yaml
index 0fe7e66..f01f858 100644
--- a/interface.yaml
+++ b/interface.yaml
@@ -1,3 +1,3 @@
1name: keystone 1name: keystone
2summary: Interface for integrating with Keystone identity service 2summary: Interface for integrating with Keystone identity service
3maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com> 3maintainer: OpenStack Charmers <openstack-dev@lists.openstack.org>
diff --git a/test-requirements.txt b/test-requirements.txt
index 10dbed3..095ec9c 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,3 +1,2 @@
1flake8>=2.2.4,<=2.4.1 1flake8>=2.2.4,<=2.4.1
2os-testr>=0.4.1 2os-testr>=0.4.1
3charm-tools
diff --git a/tox.ini b/tox.ini
index c035f1a..c395138 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,7 @@
1[tox] 1[tox]
2envlist = lint,py27 2envlist = pep8,py27,py34,py35
3skipsdist = True 3skipsdist = True
4skip_missing_interpreters = True
4 5
5[testenv] 6[testenv]
6setenv = VIRTUAL_ENV={envdir} 7setenv = VIRTUAL_ENV={envdir}
@@ -12,8 +13,22 @@ commands = ostestr {posargs}
12[testenv:py27] 13[testenv:py27]
13basepython = python2.7 14basepython = python2.7
14deps = -r{toxinidir}/test-requirements.txt 15deps = -r{toxinidir}/test-requirements.txt
16# TODO: Need to write unit tests then remove the following command.
17commands = /bin/true
15 18
16[testenv:lint] 19[testenv:py34]
20basepython = python3.4
21deps = -r{toxinidir}/test-requirements.txt
22# TODO: Need to write unit tests then remove the following command.
23commands = /bin/true
24
25[testenv:py35]
26basepython = python3.5
27deps = -r{toxinidir}/test-requirements.txt
28# TODO: Need to write unit tests then remove the following command.
29commands = /bin/true
30
31[testenv:pep8]
17basepython = python2.7 32basepython = python2.7
18deps = -r{toxinidir}/test-requirements.txt 33deps = -r{toxinidir}/test-requirements.txt
19commands = flake8 {posargs} 34commands = flake8 {posargs}