Browse Source

Add support for verification process

Add required configuration files and generally update the interface
after move to OpenStack git/gerrit.

Change-Id: Id8717e9764187e2f16e9a2a3b6007779b7fb6468
changes/29/339029/1
James Page 3 years ago
parent
commit
1e91681243
5 changed files with 23 additions and 4 deletions
  1. 1
    0
      .gitignore
  2. 4
    0
      .gitreview
  3. 1
    1
      interface.yaml
  4. 0
    1
      test-requirements.txt
  5. 17
    2
      tox.ini

+ 1
- 0
.gitignore View File

@@ -1 +1,2 @@
1 1
 .tox
2
+.testrepository

+ 4
- 0
.gitreview View File

@@ -0,0 +1,4 @@
1
+[gerrit]
2
+host=review.openstack.org
3
+port=29418
4
+project=openstack/charm-interface-keystone

+ 1
- 1
interface.yaml View File

@@ -1,3 +1,3 @@
1 1
 name: keystone
2 2
 summary: Interface for integrating with Keystone identity service
3
-maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
3
+maintainer: OpenStack Charmers <openstack-dev@lists.openstack.org>

+ 0
- 1
test-requirements.txt View File

@@ -1,3 +1,2 @@
1 1
 flake8>=2.2.4,<=2.4.1
2 2
 os-testr>=0.4.1
3
-charm-tools

+ 17
- 2
tox.ini View File

@@ -1,6 +1,7 @@
1 1
 [tox]
2
-envlist = lint,py27
2
+envlist = pep8,py27,py34,py35
3 3
 skipsdist = True
4
+skip_missing_interpreters = True
4 5
 
5 6
 [testenv]
6 7
 setenv = VIRTUAL_ENV={envdir}
@@ -12,8 +13,22 @@ commands = ostestr {posargs}
12 13
 [testenv:py27]
13 14
 basepython = python2.7
14 15
 deps = -r{toxinidir}/test-requirements.txt
16
+# TODO: Need to write unit tests then remove the following command.
17
+commands = /bin/true
15 18
 
16
-[testenv:lint]
19
+[testenv:py34]
20
+basepython = python3.4
21
+deps = -r{toxinidir}/test-requirements.txt
22
+# TODO: Need to write unit tests then remove the following command.
23
+commands = /bin/true
24
+
25
+[testenv:py35]
26
+basepython = python3.5
27
+deps = -r{toxinidir}/test-requirements.txt
28
+# TODO: Need to write unit tests then remove the following command.
29
+commands = /bin/true
30
+
31
+[testenv:pep8]
17 32
 basepython = python2.7
18 33
 deps = -r{toxinidir}/test-requirements.txt
19 34
 commands = flake8 {posargs}

Loading…
Cancel
Save