Commit Graph

20 Commits

Author SHA1 Message Date
Doug Hellmann 6b307e8fc7 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Iee3102f1e28a1349cae3e5afa3ece210d46b86d8
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 15:46:32 -04:00
M V P Nitesh 83bf437c5a Add 'rm -f .testrepository/times.dbm' command in testenv
Running py2* post py3* tests results in error. Add
'rm -f .testrepository/times.dbm' command in testenv to
resolve this.

Change-Id: Iba2e8573328b56c38121e6154aa9a44ab2cb1cb6
2017-04-25 12:32:35 +05:30
bhavani 722c087045 removed old py34 constraint because we already have new python version py35
Change-Id: I395c5658896bd3221c27d6dffdd6a9568b138a08
2017-03-02 17:32:12 +05:30
liusheng f7b9a2a5b3 Use policy-generator to generate policy sample file
This change will avoid the maintenance of policy.sample file in every
policy change.

Change-Id: Ia460a5e3c44f1d9306866414edced53d29559d36
2017-02-04 08:41:31 +08:00
Zhenguo Niu 7575d1b96e Rename nimble to mogan (4)
This changes devstack plugin some other related things

Change-Id: I60913691a89b767f34a04192244eee7ce4af7996
2017-01-05 00:49:39 +08:00
sxmatch 4fd1aab5b3 Rename nimble to mogan(part three)
This part includes codes folder renaming.

Co-Authored-By: Zhenguo Niu <Niu.ZGlinux@gmail.com>

Change-Id: I919f17a769baee44ce19f65bab900f9d6bd8b982
2017-01-04 22:53:39 +08:00
liusheng 7b41782283 Enable tests coverage report when run tox -ecover
Change-Id: I2fa3fcb697d0249e455dcc6b73973f2ab2b5758c
2017-01-04 09:44:10 +08:00
Zhenguo Niu 0ce4a05ac7 Gate on nimble.conf.sample generation
If someone makes a change that breaks "tox -egenconfig",
it is not caught today by any of the gate/check job, we
should fail at least docs job like what Nova does to make
sure it works.

Change-Id: I80951cd821029c05f84459dc929a11c9b403131e
2016-11-30 16:55:31 +08:00
gecong1973 ff54a3dcab Update flake8 ignore list
In hacking > 0.10.0, there is
no E123 and E125, so this commit to delete them.

Change-Id: Id3c7907b9049f85e77da7a2d61d26b32a083dea5
2016-11-24 10:08:11 +08:00
Jenkins 20c0e6cf62 Merge "Add tempest plugin for Nimble(part1)" 2016-11-23 13:02:21 +00:00
Zhenguo Niu b00e36a985 Introduce image service
Change-Id: Iaa839afd491e49a8219382a93e0065aeb52edab6
2016-11-22 17:53:19 +08:00
liusheng fd4ccd033b Add tempest plugin for Nimble(part1)
Change-Id: I6b11a330c9598e877665d18cc451cb124cafa7fc
Blueprint tempest-plugin
2016-11-22 14:54:39 +08:00
Zhenguo Niu 529f030637 Use upper constraints
Change-Id: Id6bca59a5b178b9de134bbaa6021e96ed3a09e76
2016-11-01 15:47:33 +08:00
Shaohe Feng 518d89d7c1 Add policy support to Nimble
Implements more fine-grained policy support within our API service,
following the oslo policy-in-code spec, while maintaining compatibility
with the previous default policy.json file. An empty policy.json file is
included, along with a sample file listig all supported policy settings
and their default values.

A new tox target "genpolicy" has been added to ease automation of
sample policy file generation.

Any policy has be changed, please run "tox -e genpolicy" to update
policy.json.sample.

ref: http://docs.openstack.org/developer/oslo.policy/usage.html
ref: pydoc oslo_policy.policy

Change-Id: I3a971f2565c2f35665007461c1ae91eeb3b2de5a
2016-10-20 09:57:13 +00:00
liusheng e7e19fa522 Add function tests for nimble API
This change add a functional test base for nimble and add some functional
tests for instance_type APIs.

Change-Id: I44fc4686891d75884860cab86e8c8e42186b5703
2016-10-13 16:27:28 +08:00
Kevin_Zheng 687acd7c5e Add basic structure of api-ref and api-ref for types
This patch setup the basic structure for api-ref and
adds api-ref for types(instance_types).

Partially-Implements: blueprint adopt-api-ref

Change-Id: I228891a2aff4b77d2acadc20627c67a55be6a706
2016-09-28 14:58:50 +08:00
gecong1973 4423327c79 Add Python 3.5 classifier and venv
Now that there is a passing gate job,
we can claim support for Python 3.5
in the classifier. This patch also
adds the convenience py35 venv

Change-Id: I8804d32aa2af9f5cb5048096af19a6a2498b73c6
2016-08-29 14:32:37 +08:00
Zhenguo Niu 74444bd30e Make use of oslo-config-generator
Change-Id: I43455aa3d13bd8310f7de94b76dfd7ddd2080516
2016-08-17 00:51:20 +08:00
Zhenguo Niu 9ea7fb537d Add i18n and exception common files
Change-Id: I7c1fba8a061e1243448aa89c258c27931440809d
2016-08-16 13:25:08 +08:00
Zhenguo Niu 98e5f76eb0 Initial import
Change-Id: I25ccb2c3a91289a258d4a3ac444e7323b50d0636
2016-08-12 20:13:11 +08:00