- Feb 27, 2019
-
-
confi-surya authored
Python 3.5 was the target runtime for the Rocky release. The current target py3 runtime for Stein is Python 3.6, so there is no reason to keep testing against the older version. https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein Change-Id: I0db6c9cbf2af9ed9c701755a26f721aeac97d4cd
-
- Feb 14, 2019
-
-
Michal Nasiadka authored
- py35/py36 jobs are failing python 3.6 pycache also includes links - so those also need to be removed by tox testenv - kolla-ansible-ubuntu-source job is failing Without basedir set in galera.cnf - mysql_install_db looks for resolveip in /usr/sbin, instead of /usr/bin, thus complains about cannot resolving neither $HOSTNAME, nor localhost. Change-Id: I40514c0a7c43ae01c7680aac81123942be1cdef9
-
- Nov 07, 2018
-
-
Mark Goddard authored
Currently, the coverage report only includes the kolla_ansible python module, which only includes the kolla-genpwd command, and that is not tested. Change-Id: I16f0e9e0f47914b7ce24bbb515d59e4750228821
-
- Nov 06, 2018
-
-
Nguyen Hai Truong authored
This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I51f9d000469a6d92f72cc2c732b8763f35cb0c2c
-
- Nov 02, 2018
-
-
Nguyen Hai Truong authored
The commands used by constraints need at least tox 2.0. Update to reflect reality, which should help with local running of constraints targets. Change-Id: I426cebf26d4c386355fb0052ed12bda39d67fc49
-
- Oct 22, 2018
-
-
Doug Szumski authored
If you build the docs with `tox -edocs` and then run `tox -epep8`, it will always fail because it checks the build output from the docs. This change ignores the build folder. Trivial-Fix Change-Id: Ie7c53b517b7cfff1d317cad014371c94c6212eac
-
- Oct 09, 2018
-
-
Nguyen Van Trung authored
Quotes around {posargs} cause the entire string to be combined into one arg that gets passed to stestr. This prevents passing multiple args (e.g. '--concurrency=16 some-regex') Change-Id: Id7eb248942aff41902dc1e8875530cba49fdf1ee
-
- Aug 17, 2018
-
-
Eduardo Gonzalez authored
Revert this change once the insecure usages are fixed. Change-Id: Id7e8c9fe72db1b6f123eca540e09f77ddee2f242
-
- Jul 24, 2018
-
-
Vu Cong Tuan authored
According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I63079f352ff36dda4f3f64a8681431a319791f0e
-
- Jun 24, 2018
-
-
Liping Mao (limao) authored
To make sure we can find the yaml warning before code merge[1]. We can enable strict mode to treat warning as error[2]. [1] https://review.openstack.org/#/c/573482/1 [2] http://yamllint.readthedocs.io/en/stable/configuration.html#errors-and-warnings Change-Id: I0b54bc2bd384f092f2fcd1b0396e133a0d95befe
-
- Jun 12, 2018
-
-
qingszhao authored
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: Ie0eca8c8627ab67c7c4aeccdc8607e36a259f13c
-
- May 21, 2018
-
-
confi-surya authored
For compliance with the Project Testing Interface [1] as described in [2] [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html doc8 command is dropped from docs tox envs. So this affect nothing and run in PEP8. Related-Bug: #1765348 Depends-On: Icc7fe3a8f9716281de88825e9d5b2fd84de3d00a Change-Id: Idf9a16111479ccc64004eac9508da575822a3df5
-
- Mar 26, 2018
-
-
Eduardo Gonzalez authored
This patchset implements yamllint test to all *.yml files. Also fixes syntax errors to make jobs to pass. Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
-
- Mar 22, 2018
-
-
Doug Hellmann authored
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: I4279572d8eff5434c997717e5cb973afdce97de8 Depends-On: https://review.openstack.org/555034 Signed-off-by:
Doug Hellmann <doug@doughellmann.com>
-
- Jul 13, 2017
-
-
Eduardo Gonzalez authored
Gates only build deploy-guide docs, not every doc. This change clean doc errors, only Line to long. Also, removes doc/build folder in tox doc environment. doc/build is folder where previus executions are stored causing next execution to fail due rendered versions does not follow doc style checks. Change-Id: I623a7ee245729a06509f3a7039d5d5ed3813d977
-
- Jul 10, 2017
-
-
Eduardo Gonzalez authored
- Bandit tests are executed in kolla directory, in kolla ansible this directory is kolla_ansible. - Error is silently ignored: Files skipped (1): kolla (No such file or directory) - Also, in ansible/ there is python code in more places than only ansible/library, remove library to pass test over the whole ansible directory - Debug tests fails due cannot import tests. ImportError: Start directory is not importable: './kolla-ansible/tests' Change-Id: I0716034c382209b385105bb3a6e0bb7334076e45
-
- Feb 08, 2017
-
-
Cao Xuan Hoang authored
The gating on python 3.4 is restricted to <= Mitaka. This is due to the change from Ubuntu Trusty to Xenial, where only python3.5 is available. There is no need to continue to keep these settings. Change-Id: I7762918aa4d78028d1ceb2cc727c3c7dedd05a00
-
- Jan 27, 2017
-
-
RobiJoe authored
* This patch moves the tox environment and deployment guide placeholder files introduced in https://review.openstack.org/#/c/422931 from the kolla/ repository to the kolla-ansible/repository * Remove or add content as needed Change-Id: I10cf4b5baaf7f7fed7df800194a0c326372a22fb
-
- Jan 16, 2017
-
-
Surya Prakash Singh authored
Enabled the cover environment for kolla-ansible in tox Change-Id: Ic9f0dbc14ff9f4ef3d82bd06eb58fc145cb121d9 Closes-bug: #1655948
-
- Jan 04, 2017
-
-
Surya Prakash Singh authored
"etc/oslo-config-generator" is being use in kolla repo too. Closes-Bug: #1652650 Change-Id: I012830ac3212ebfe954483f076f84541f609bb44
-
- Dec 21, 2016
-
-
Tony Breeds authored
To be co-installable with other OpenStack projects and have consistent testing it's a good idea (tm) to use constraints when creating tox environments. Change-Id: I83d684d90309ad6109e7f6c21a9c2cad4a5371e2
-
- Nov 30, 2016
-
-
Jeffrey Zhang authored
* rename package name from kolla to kolla-ansible * remove docker for data_files * remove kolla docker * remove kolla-build console_scripts Change-Id: I53abbf79dffb54eb785a39ba04d375bc4e4f27b0
-
- Nov 21, 2016
-
-
Jeffrey Zhang authored
* Build kolla image by using kolla project's code * bump openstack_release to 4.0.0 * Remove tox deploy related env, it is useless now. Depends-On: I132ee005bce993cbadf411697817c2e95548dc81 Change-Id: Id899eb39d476b95130fbeb43adf4fd49ef32be32
-
- Nov 18, 2016
-
-
Steven Dake authored
Change-Id: If3cfda8a1bcb0ec0af39c0f7a067ead1f68cb4ff
-
Jeffrey Zhang authored
Build related jobs are removed in project-config, remove the related tox env. Change-Id: If1112b688fed185ba93a2d28a1ba3e77037d392c
-
- Nov 04, 2016
-
-
Jeffrey Zhang authored
All json file in Kolla are json.j2 file, it shold be render as jinja template, then validate by using json. Change-Id: Ibabbe435116fd255d68347e00407156db76fedfe Closes-Bug: #1634447
-
- Oct 19, 2016
-
-
Andreas Jaeger authored
bandit is a security linter and can be made voting now. Instead of starting another virtual machine, run it as part of the generic linting target which is pep8. Change-Id: I6a8f7aa2b60bd96d55b37b6cc2a371069d6d5e6a
-
Jeffrey Zhang authored
TrivialFix Change-Id: I817aa52caf56b7d54b266e553db6db1ceb38b773 Signed-off-by:
Jeffrey Zhang <zhang.lei.fly@gmail.com>
-
- Sep 21, 2016
-
-
MD NADEEM authored
TrivialFix Change-Id: I6f32ce7033fe5a8b8f628a8f52dde67b9540083d
-
- Sep 20, 2016
-
-
MD NADEEM authored
Currently __pycache__ directory, which also holds python bytecode is not deleted when running tox. TrivialFix Change-Id: I0fdcf9a3f9b01cee813eefdbfe29d208dd67f826
-
- Aug 28, 2016
-
-
Paul Bourke authored
* Inspected each error and fixed / added nosec where appropriate. * build-swift-ring.py which was throwing sec errors is no longer used so removed it. * Removed the dev/ directory from being checked. Closes-Bug: #1617713 Change-Id: I25664cabca4137e5c9f499c1af3f5ce78b86fb56
-
- Aug 04, 2016
-
-
Christian Berendt authored
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
-
- Jul 14, 2016
-
-
Yatin Kumbhare authored
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: Ia7b1fb88ac108e1e8fd6ed963967e731ae3ca5a4 Closes-Bug: #1603006
-
- May 26, 2016
-
-
Swapnil Kulkarni (coolsvap) authored
Change-Id: Icb47ba8b13b13889e28bb285321f11344400edc2 Closes-Bug:#1582618
-
- Apr 02, 2016
-
-
Jeffrey Zhang authored
The Ubuntu Mitaka repo is release, and we have add it. So it is time to add the Ubuntu binary gate. Closes-Bug: #1560386 Change-Id: I29d01147595c4ebebfa00798d01d5fd7398123a6
-
- Mar 27, 2016
-
-
Steven Dake authored
A recent change related to sudo securepath broke how sudo -E works. Now the PATH is reset by sudo as set by tox. As a result we can no longer rely on sudo -E anywhere in our gating system relating to path inheritence from the parent shell. This patch uses a shell operation in the setup_nodes.yml code to chmod the docker socket to 666 so docker containers can build properly. Now docker operations don't return a permission denied and we no longer require the sudo -E operation in any of our tox scripts. This isn't a security vulnerability because our gate scripts are only meant to be run in OpenStack infrastructure. To make this more clear I recommend moving these shell scripts to tests/gate. Change-Id: I5b3d6e280e3c12a25defedb14b5589ba642043fa Closes-Bug: #1562383
-
- Mar 23, 2016
-
-
Steven Dake authored
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
-
- Mar 08, 2016
-
-
Dave McCowan authored
Bandit is a job that parses and analyzes python code to detect common insecure programming practices. TrivialFix Change-Id: Iea23a9bd23b25827043f02aa1a62fb0724f1d0ee
-
- Mar 03, 2016
-
-
Jeffrey Zhang authored
Implements: blueprint add-hacking Change-Id: Ia24a263555b9c1eb11e61b9d3fe89612a89daed6
-
- Mar 01, 2016
-
-
Paul Bourke authored
Change-Id: Ic5c0e266639c8ed76d0af473d076d9ae6749102a Implements: bp oraclelinux-gate
-