49 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
1932552a05 Updated from global requirements
Change-Id: I66138f3d033461363d8cbf30104afa7a4643cff8
2016-10-05 13:30:35 +00:00
Christian Berendt
ffbd2c0956 Remove clients from test-requirements already installed by python-openstackclient
* python-cinderclient
* python-glanceclient
* python-keystoneclient
* python-novaclient

TrivialFix

Change-Id: Ia3bfa3ea090d7b7c0978c6f672c7554bfd4b0cc9
2016-09-26 04:21:58 +00:00
OpenStack Proposal Bot
1baffca152 Updated from global requirements
Change-Id: I279a3ec4ff1d7c16622921d9354b0a0b408b9b0a
2016-09-21 11:50:42 +00:00
caoyuan
4b7b4c47e5 Add "python-openstackclient" to test-requirements.txt
TrivialFix

Change-Id: Icca637368427e7ba0f60fc547dedbeba141de269
2016-09-16 11:12:06 +00:00
gong yong sheng
8f5a42c1f0 Add extras and pytz>=2013.6 into test requirements
These two modules are seemingly installed in ubuntu 16 and Fedora
systems. Ubuntu 14 needs them to be included explicitly.

Change-Id: I3e56453c36be20b160ba61a26015ec8ed0fa02a4
Closes-bug: 1623308
2016-09-14 17:54:22 +08:00
OpenStack Proposal Bot
6f3d8aa242 Updated from global requirements
Change-Id: Ia6cc6c3d60c861e1051a6b4204d8d9ba962f08aa
2016-09-09 10:19:39 +00:00
Jenkins
207bef6abe Merge "Improve script to check used source versions" 2016-09-08 13:53:34 +00:00
Christian Berendt
4b69671a49 Improve script to check used source versions
* rename version_check.py to version-check.py
* move requirement beautifulsoup4 from requirements to test-requirements
* add new requirement PrettyTable to test-requirements
* add debug logging messages (can be enabled with --debug parameter)
* add support to load configured versions from a kolla-build.conf
  file (can be used with --config-file parameter)
* use PrettyTable to print out a nice result table

---snip---
+---------+-----------------+----------------+------------------...
| Project | Current version | Latest version | Comparing changes...
+---------+-----------------+----------------+------------------...
| aodh    | 2.0.3           | 2.0.4          | https://github.co...
| cinder  | 8.0.0           | 8.1.0          | https://github.co...
| ironic  | 5.1.1           | 5.1.2          | https://github.co...
| murano  | 2.0.0           | 2.0.1          | https://github.co...
| nova    | 13.1.0          | 13.1.1         | https://github.co...
+---------+-----------------+----------------+------------------...
---snap---

TrivialFix

Change-Id: I5b5d3db34396b2fc95714273612563ea14e78cf8
2016-09-06 09:11:40 +02:00
OpenStack Proposal Bot
2aac59a91b Updated from global requirements
Change-Id: Ibf09b0327adc4454864ed0876d58cc52078592e8
2016-08-29 06:11:46 +00:00
OpenStack Proposal Bot
1e222274e1 Updated from global requirements
Change-Id: Ifbfd85ae44985049fdfb73a90078893511f0beab
2016-08-25 04:59:32 +00:00
OpenStack Proposal Bot
08f1ddad88 Updated from global requirements
Change-Id: I402fdf7d24071cf85c9bb5ca839cff785e69e08e
2016-08-21 00:04:43 +00:00
OpenStack Proposal Bot
69bbb75833 Updated from global requirements
Change-Id: Ic5710257758d3b6c8655443a5498cfa64d756263
2016-08-19 09:04:45 +00:00
OpenStack Proposal Bot
b092f9835c Updated from global requirements
Change-Id: If137df98d70561e9cd58e4d1455d9e2206a1a501
2016-08-18 09:51:46 +00:00
OpenStack Proposal Bot
de7e8bc00b Updated from global requirements
Change-Id: Ibbb49c8964aa0af663ad15874dea7959dd5cabcb
2016-08-12 09:56:30 +00:00
OpenStack Proposal Bot
4e8887ce3e Updated from global requirements
Change-Id: Ia8e8bf86b8512cac7a3c0b200d690b5286012813
2016-08-08 04:32:19 +00:00
Christian Berendt
c3d8262ec5 Add doc8 test and improve rst syntax
This will test all rst files inside the doc directory for style issues with
doc8 (an opinionated style checker for rst styles of documentation).

This will fix all syntax issues identified by doc8 and will improve
the syntax.

Change-Id: Id1b9563e07e77e306aef5a0767c98c27f87c5c0e
2016-08-04 15:09:10 +02:00
OpenStack Proposal Bot
e504dade71 Updated from global requirements
Change-Id: Ic62e67fe10e551a673d809fb02c3d99592645926
2016-07-28 06:02:22 +00:00
OpenStack Proposal Bot
b6e51e9531 Updated from global requirements
Change-Id: Ie114db9899fd3da9efbb36cd18c1ae45c80489b8
2016-06-24 17:06:26 +00:00
OpenStack Proposal Bot
ed02ccceeb Updated from global requirements
Change-Id: I4c265fc0b7f5b4767d36f33dbd4f5903e09b00e5
2016-06-21 18:00:12 +00:00
OpenStack Proposal Bot
acb9eb7ed2 Updated from global requirements
Change-Id: I43dcff50eb1cf2d4a3f16e21e83920f1bbe7dd34
2016-05-30 17:45:24 +00:00
OpenStack Proposal Bot
82316a7d05 Updated from global requirements
Change-Id: I19642054ca18d447ef154fee3338c29d472ea87a
2016-05-21 15:47:43 +00:00
Jenkins
d48883b3a4 Merge "Remove unwanted test dependency zake" 2016-05-20 20:28:07 +00:00
OpenStack Proposal Bot
ec36e4f73a Updated from global requirements
Change-Id: Ib017711de749d72f277b614b735fd2d63cbe5c3a
2016-05-18 02:35:33 +00:00
Swapnil Kulkarni (coolsvap)
2b2480790d Remove unwanted test dependency zake
Trivial-Fix

Change-Id: I0d9f0e0f661c2dfe350c38485436288f9c1a4a3c
2016-05-17 17:41:26 +05:30
OpenStack Proposal Bot
27580054db Updated from global requirements
Change-Id: Ib41fc2453cd85fa4937218b37cf80db82f63b20c
2016-05-13 18:52:38 +00:00
OpenStack Proposal Bot
7a0a5987ea Updated from global requirements
Change-Id: I677541277d3393d92529b6b0fe19f8a7bf8ad24c
2016-04-28 16:12:23 +00:00
OpenStack Proposal Bot
352df065eb Updated from global requirements
Change-Id: Ia463de2f882a9fdf741f8418d7aca8c2ebf0afb8
2016-04-14 02:33:41 +00:00
OpenStack Proposal Bot
c71eed1fb6 Updated from global requirements
Change-Id: I0605f406b5c03f0a6cdba9de2a180ed877f7dfa6
2016-04-08 00:10:41 +00:00
Steven Dake
801ef2e843 Add reno support
For proper release note generation on the releases.openstack.org
website, this change will need to be backported into mitaka and
liberty as well.  Then a special one-file reno file will have to
be added for mitaka describing the features and the same story
for liberty.

See log of the discussion here:
http://eavesdrop.openstack.org/irclogs/%23openstack-release/%23openstack-release.2016-03-23.log.html#t2016-03-23T18:00:05

Change-Id: I3c298ae08ec4645f384ea5829cb0851fe82f4557
Partially-Implements: blueprint add-reno
2016-03-23 11:59:35 -07:00
Dave McCowan
39b8150f66 Add tox job for the bandit python security linter
Bandit is a job that parses and analyzes python code to detect
common insecure programming practices.

TrivialFix

Change-Id: Iea23a9bd23b25827043f02aa1a62fb0724f1d0ee
2016-03-08 16:33:59 -05:00
OpenStack Proposal Bot
f66af0c132 Updated from global requirements
Change-Id: Icbad4e77588f212af104efc9e6cfbd831c795a07
2016-03-05 20:45:36 +00:00
OpenStack Proposal Bot
a109f36e68 Updated from global requirements
Change-Id: I65585d6a3c05792d6de593e4024768916bd8ed47
2016-03-04 14:37:02 +00:00
OpenStack Proposal Bot
94b170a6c1 Updated from global requirements
Change-Id: I5dfada9f5ad92432fb1e8408ceb82a57dab5f2eb
2016-01-19 13:48:15 +00:00
OpenStack Proposal Bot
0fb7b9ad9d Updated from global requirements
Change-Id: I7d8485958fb96c7e111eab4df21472bee27ea8d0
2016-01-17 01:11:22 +00:00
SamYaple
b863a46805 Standardize bashate and add linters
The linters gate combindes pep8 and bashate (and then any other
linters we want). This changes bashate to be a sript rather than doing
a script inline. This matches the way other projects (and
project-config themselves) uses bashate [1].

Once a change upstream merges we can remove the redundant pep8 and
bashate gates.

[1] https://github.com/openstack-infra/project-config/blob/master/tox.ini#L11
https://github.com/openstack-infra/project-config/blob/master/tools/run-bashate.sh

Related-Id: I2afa7931bf3e18798b95a8af33ccf5ef761c4ad5

TrivialFix

Change-Id: I2ea2c1156e1b4de008f19e333e2740795dc406de
2016-01-13 17:33:28 +00:00
OpenStack Proposal Bot
afc6c146f2 Updated from global requirements
Change-Id: Ieeb43505d4c85d1b9bc7e5a10b59f406c81e22fa
2016-01-01 20:43:46 +00:00
OpenStack Proposal Bot
b496a11b7d Updated from global requirements
Change-Id: I934c54cff79f38bdac1b0a5548a93a8fa18fcefb
2015-12-18 02:45:53 +00:00
Angus Salkeld
27c0ae0624 Add support for copying files from a "zk://" source
Co-Authored-By: Michal Rostecki <mrostecki@mirantis.com>
Implements: blueprint zookeeper

Change-Id: I176f063d3802716846b921e210c1569d28bd90d8
2015-12-02 10:25:43 +01:00
OpenStack Proposal Bot
58cf733086 Updated from global requirements
Change-Id: Icb5f26716795513233173c111a04e8457d94607c
2015-11-19 15:46:30 +00:00
OpenStack Proposal Bot
eecbbdc808 Updated from global requirements
Change-Id: I5c2185e7ac9619ee284e7a291d02d364cdd60fe6
2015-11-18 21:24:35 +00:00
OpenStack Proposal Bot
6ebfd525f6 Updated from global requirements
Change-Id: Ibe06fcece3a098781f8b55437727617b2727509f
2015-11-13 17:11:37 +00:00
Kai Qiang Wu(Kennan)
eae8903ae0 Add developer docs automatic produce support
Partially-Implements: blueprint kolla-tox-doc

Change-Id: Ie950667a61d9ce45fcc7e26915a7aa0f0ca6b597
2015-08-28 06:11:08 +00:00
Steven Dake
5d671a5682 The requirements.txt file isn't correct
We now depend on jinja2 and docker-py for building images.

We no longer depend on docker-compose for any part of our
runtime so removing it as a requirement.  If we keep compose
in the tree, it will be for reference only, not for runtime.

Change-Id: Ie663a0f183e74c14f01e9cb4fdc8763355c6415a
Partially-Implements: blueprint dockerfile-template
2015-08-19 08:03:03 -07:00
Jeff Peeler
9f824cfe4e Add new test script for parallel builds
This adds a new test script for the new python based build script. A new
tox target has been created to execute it for usage in the gate.
Eventually, the other build script stuff can be deleted, but that won't
be done until full functionality exists in the new build.py.

Change-Id: Id9dd19926b1b9d875dcb069fd13d6450318374c8
Paritally-Implements: blueprint build-script
2015-08-12 14:30:24 -04:00
Borne Mace
160d163878 Enable pep8 tests
Change-Id: I476c335b60d3195a2381a91ad05d8f64f62190d0
Partially-Implements: blueprint enable-flake8
2015-07-10 14:13:47 -07:00
Jeff Peeler
78b27e3e60 Clean up the image functional test
1. Move setup_docker.sh to tools directory

2. Make a setup_gate.sh that installs necessary packages including
   docker and starts docker.

3. Add logging output.

4. Add default test timeout of 2 hours.

5. Add user to the docker group before running test cases.

6. Run image build as dockerroot group.

This patch has to be one commit to fix the gate in one go.

Co-Authored-By: Steven Dake <stdake@cisco.com>

Change-Id: I83f3cdb1dabf0dfface589c581cb22c155467acc
2015-05-26 15:01:28 -04:00
Jeff Peeler
21cd478cbd Add functional tests to tox
This adds functional tests to tox, along with a number of prerequisite
steps. Since this is primarily a bash project, pbr usage has been avoided.
Tests are to be written in python and put in the tests directory.

Running tox -e setupenv will execute a setup script
(tests/setup_docker.sh) to ensure the running instance of docker meets
the minimum version requirement.

Running tox -e images will execute the image building script
(tools/build-all-docker-images) and will parse the resulting output to report
failures.

Running tox -e startenv will generate the environment file, run
"tools/kolla start", and run first time initialization (eventually).

Running tox -e functional is for actually testing the deployed OpenStack
environment via a series of tests utilizing the client APIs.

Change-Id: Iff6dfdca43f0c44d471e7540a7836e56a0de4507
2015-05-13 15:38:07 -04:00
Lars Kellogg-Stedman
8b4f8d91ad modify tox config to use new validation code
this patch modifies tox.ini to perform both the JSON and YAML validation
checks.

Change-Id: Ie8db699f19dc7698407bab1e3d51dcb6184cfad2
2014-10-14 22:36:43 -04:00
Chmouel Boudjnah
ac0b2a797f Add validate-json tox target
This is a simple JSON validation script based on demjson python library,
we do some shell script trickeries to exit properly if there is a
failure for tox (should probably patch demjson to properly exit
instead).

Change-Id: I930908336deef7daeaab5b55ba2031c64698d880
Implements: blueprint json-validation-gate
2014-10-03 09:59:19 +00:00