10 Commits

Author SHA1 Message Date
Masayuki Igawa
3e1f330236
Fix import error "No module named six.moves" for plugin sanity job
This commit fixes the import error "No module named six.moves" without
using the module for the plugin sanity job. Because the job call the
script directly.

Change-Id: Id0fa1b15fe443d65a1b6ca008e490d0fa54d6b32
2017-07-04 13:19:06 +09:00
Jenkins
1b786f1c6d Merge "Fix no attribute 'urlopen' error in python3" 2017-06-29 01:20:04 +00:00
Masayuki Igawa
73c33455be Fix no attribute 'urlopen' error in python3
This commit fixes an error: "AttributeError: module 'urllib' has no
attribute 'urlopen'" with using six library. This is an incompatible
thing between python2 and python3.

Change-Id: I62ee7ee555708a2e948e6b812d996c3bb93cd6e8
2017-06-27 20:41:37 +00:00
Chandan Kumar
3c81b41d11 Fixed project lists for retrieving tempest plugins
As openstack/deb-, -specs and -ui project namespaces do not contain
tempest plugins. So, it is better to remove the above projects from
the list in which tempest plugin is searched.

Change-Id: Ie490073ea195a462cb7be0b88b6cb1b8a7b324b3
2017-06-15 11:33:55 +05:30
Jenkins
1f170f6a22 Merge "Use urllib2 instead of requests in tempest generate plugin list" 2017-06-15 05:51:17 +00:00
Chandan Kumar
1b1e6df9af Use urllib2 instead of requests in tempest generate plugin list
While using generate-tempest-plugins-list.py in tempest-plugin-sanity
CI jobs fails to run as it requires requests module to parse the git
url and is not install by default in CI job. If we are going to
install requests we need to use sudo for that which is not a
good idea, so it is better to move the script to urllib2.

Change-Id: Ifed51c67c03f993a4833413826ac15104db152fc
2017-06-13 15:42:22 +05:30
Chandan Kumar
0601be1bfd ported tools/*.py scripts to python3
Change-Id: Ib8dcc8b0c77515f8a302ed5bf03dc8283f36414b
2017-06-13 08:04:59 +05:30
Masayuki Igawa
134d9f748b
Introduce flake8-import-order
This commit introduces flake8-import-order to check import orders
automatically. We shouldn't do it manually.

Depends-On: Ia2140f5566ce169b076ffa5c9ebfbdbfc41e5bed
Change-Id: Iff75ebec42b295870edd1c04001adfb17460a682
2017-02-13 17:16:18 +09:00
Matthew Treinish
cc4ae4887e
Ignore deb-* packaging repos in the plugin list
This commit starts ignoring plugin hits from deb-* repos when generating
the plugin list for the plugin registry doc. These are just packaging
repos and not really relevant for a plugin list.

Change-Id: I5146936824c17476d4e7f3fab058c80fd932e512
2016-09-13 19:23:18 -04:00
Clint Adams
a413652c25 Prepare for dynamic generation of tempest plugin registry
This is based on the devstack plugin detection code, modified
to check setup.cfg for a tempest_plugins string.  It is to be
executed from a periodic proposal job, generating a list of
plugins in the same format.

Change-Id: I53d082319b6af6fb47083ea42c3ff6b109882e72
2016-03-28 20:11:23 -04:00