11 Commits

Author SHA1 Message Date
bhavani
b2f81bd410 Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Change-Id: I11fd4c8b0291779a2f2dd1526b8b33b2885319ee
2017-03-15 10:20:39 +05:30
Jenkins
73d2f90b8b Merge "Add DB migration tests" 2017-03-09 05:15:53 +00:00
Feng Shengqin
7b21325352 Add DB migration tests
Change-Id: I0f718cfe37bf42da6b8bbf2e6dd1cbfd28e0f4dc
Closes-Bug: #1670195
2017-03-09 08:36:21 +08:00
Hongbin Lu
71817c79ab Refactor load_image out of inspect_image
This allows load_image to be reused by others. In addition, reduce
the max-complexity from 10 to 20. Max complexity of 10 is hard to
achieve and much lower than other openstack projects.

Change-Id: I6185e3b8fc5e5b132656ff416e08917edd938fc8
2017-03-08 15:45:31 -06:00
Feng Shengqin
c4ea7ededf Setup coverage job in gate
* checkout one commit before the latest and check coverage
* check coverage with the latest commit
* all new lines must be tested

This functionallity essentially compares the current change
with the master branch, since the coverage job runs always
for only one change.

Change-Id: I902f209b87656cca9746a3536cff03b58c7e4222
Closes-Bug: #1670199
2017-03-07 08:47:37 +08:00
Pradeep Kumar Singh
d06613e3e9 Move all conf option to centralize conf directory
Currently, all config options of Zun were found in
separate package/module. This is somehow hard for new
developer joining Zun team to use/add new config options.
This patch moves all config option to central place.

Change-Id: I2940d295b413b9c802f09be8d418c3721e2f423c
2016-11-02 07:42:43 +00:00
Wenzhi Yu
7b6f108821 Load wsgi apps with paste.deploy
This change replaces the hard coded WSGI app creation with a
pipeline of WSGI apps declared in a configuration file.

Change-Id: I1969e3eec7be1c28b637451c71cfe450c91b959f
Partially-Implements: blueprint support-multi-tenancy
2016-08-21 13:51:06 +08:00
root
5f2a016ea3 update higgins with zun
All contents mentioning higgins are updated to zun
using below 3 patterns:
:%s/higgins/zun/g
:%s/HIGGINS/ZUN/g
:%s/Higgins/Zun/g

Co-Authored-By: Hongbin Lu <hongbin.lu@huawei.com>

Change-Id: I33a979aa01421524c1cff6fb5cc2b4023bf1fe84
2016-06-08 22:21:34 -05:00
yanyanhu
d6e4831cb0 Add gen-config tool
This patch adds gen-config tool which wraps oslo-config-generator.
It also moves README-higgins.conf.txt and
higgins-config-generator.conf files from etc/higgins to tools
directory so etc/higgins will only be used to maintain configuration
files of Higgins service.

Change-Id: I53cc5aeba6001b147c7cf6ffba33056470646f0f
2016-05-27 03:11:44 -04:00
Eli Qiao
8348cc5ad1 Make infra ready for unit/pep8/doc testing
Enable unit test frame work first.

Change-Id: I537b769c5c7467206b6ba0d384434d3442462ff0
2016-05-26 19:17:39 +08:00
Sheel Rana
1f26d590a4 Added common utilities
This patchset contains some common utilities like
tox pep8 fast environment, context generate/check,
yaml load.

Change-Id: I855e40a3562b9c4fa015dd13f31642882097833e
2016-05-14 16:57:07 +05:30