aboutsummaryrefslogtreecommitdiff
path: root/tools/version-check.py
AgeCommit message (Collapse)AuthorFilesLines
2017-07-16Merge "Add bandit check to all python code"Jenkins1-3/+3
2017-07-13Merge "Remove ignore tempest project in version-check"Jenkins1-2/+1
2017-07-10Remove ignore tempest project in version-checkEduardo Gonzalez1-2/+1
Tempest is present in openstack/releases project Change-Id: Ib4c48108ecfe9eb9e3276ed039af083438385837 Closes-Bug: #1703395
2017-07-10Fix gnocchi in version_check scriptEduardo Gonzalez1-0/+1
Gnocchi is moved out of openstack/releases project. Version-check need to be updated with gnocchi in skipped projects. Closes-Bug: #1703386 Change-Id: I2b37aeb7042756be534559615878e698275783c6
2017-07-06Add bandit check to all python codeEduardo Gonzalez1-3/+3
Bandit was not running in all directories due missing -r parameter. Also, this change fix bandit errors. * Add nosec to subprocess module * Change /tmp/releases to .releases * Change /tmp/ to tmp/, tmp/ is not checked and in unittest is not an issue, simpler that mocking tempfile and make more complex tests. Change-Id: I42bafa4707a9a4d1faeb01cb9b5a843f56280deb
2017-05-20Get OpenStack service versions from openstack/releases repoJeffrey Zhang1-109/+124
In old implementation, version-check always get the latest versions rather than versions for certain release. it is useless for stable branch. And it parses from tarballs.openstack.org site, which is very slow. In this new implementation, version-check gets versions from openstack/releases repo, which is faster and accurate. It also support get versions for certain OpenStack release. For example, get the Ocata latest release version. ./verion-check.py --openstack-release ocata Closes-Bug: #1554337 Change-Id: Ie8951625817d82f38cf820cf9bd44ae447e2eb75
2016-10-14Consistently set sys path when using local toolsMartin André1-4/+3
Consistently set the search path to prefer PROJECT_ROOT as the source of packages to import if we are using local tools instead of pip installed kolla tools. TrivialFix Change-Id: Idd1d98bb82a8f1ddb32d1bdb23f346b461534b9f
2016-09-12Clean imports in codeNguyen Hung Phuong1-5/+5
In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. http://docs.openstack.org/developer/hacking/#imports Change-Id: I4b55cae8c2672f82025a95112b14d441d66f9d6d
2016-09-06Improve script to check used source versionsChristian Berendt1-0/+161
* 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