- May 25, 2021
-
-
wu.chunyang authored
whitelist_externals is deprecated now, use allowlist_externals instead. see[0] Add find command to allowlist_externals list to fix a warning.[1] [0]: https://tox.readthedocs.io/en/latest/config.html [1]: https://zuul.opendev.org/t/openstack/build/9ac7f205080343f29d7e2b519abbdb73/log/job-output.txt#945 Change-Id: I67e9c892a945d04eff59427a0161aafceb136560
-
- May 19, 2021
-
-
likui authored
Change-Id: I87bd1cba830bd4c1de0136dd1f6b3636e74d12de
-
- Feb 20, 2021
-
-
Michal Nasiadka authored
Change-Id: If42b7324b58851a4f0beb3a80c70ca2c9dd729af
-
- Feb 10, 2021
-
-
Mark Goddard authored
Installing kolla-ansible system-wide on CentOS 8 fails with: ModuleNotFoundError: No module named 'setuptools_rust' This error appeared following the release of cryptography 3.4, which now includes Rust code. It can be installed without Rust using a Python wheel, but only with more recent pip than version 9.0.3 available as RPM on CentOS 8. The cryptography bug report [1] recommends pip>=19.1.1. This change switches to using pip --user when installing kolla-ansible. Also fixes an issue with ansible-lint which was failing on etc/kolla/globals.yml due to a missing space before comments. [1] https://github.com/pyca/cryptography/issues/5753 Change-Id: Ifaf1948ed5d42eebaa62d7bad375bbfc12b134d5 Closes-Bug: #1915141
-
Radosław Piliszek authored
One of the renos was causing issues due to a duplicated id. This change makes tox doc8 env lint renos and fixes the offending reno. Change-Id: Id3ae6e144b4261c97726cdec172ea9bef093de9e
-
- Dec 18, 2020
-
-
Radosław Piliszek authored
Per our PTG resolution [1] and general OpenStack resolution [2], lower-constraints are not worth the extra work and confusion they introduce. This patch drops them along with all mentions. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-October/018445.html [2] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019521.html Change-Id: I4c65a428facdf6d4ce28d97a868589aeae4c856e
-
- Nov 02, 2020
-
-
likui authored
UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: Ia33b5dcaddee1414b4c79a50595970745d31c8db
-
- Oct 30, 2020
-
-
likui authored
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: I10cf355191f4060eda95c6a8ee3abaaf28d16a74
-
- Sep 17, 2020
-
-
Mark Goddard authored
This allows us to move pages around without breaking links. Change-Id: Id2be1e6aba9fba376cf217b558ca922d8db1da28
-
wu.chunyang authored
in 'victoria' cycle, we should test py38 by default. Change-Id: Ic0bfb7f6a8b2123f609e0be0be9945bbf4d73520
-
- Sep 10, 2020
-
-
zhoulinhui authored
requirements.txt is unnecessary when run tox -e releasenotes, releasenotes relative stuffs is in doc/requirements.txt, this ps to remove the requirements.txt from tox.ini and reuse [docs] deps Change-Id: Ia6c51f9ffe1257f16e9bd55fe21cc832b634cbf3
-
- May 17, 2020
-
-
Michal Nasiadka authored
* Reworked tox pep8 into linters job, that runs: - pep8 - bandit - bashate - doc8 - yamllint - ansible-lint (validate-all-files.py + ansible-lint) * Skip E701 - missing galaxy_info in meta and E602 see [1]. * Skip E301 and E503 - followup later in a separate change * Added ansible-role-jobs to zuul.d/project.yaml which will run openstack-tox-linters job in check queue * Fixed remaining style issue * Made tox and docs reference the new env for linters * Dropped pype environment (not supported) [1]: https://github.com/ansible/ansible-lint/issues/457 Change-Id: I494b4b151804aac8173120e6c6e42bc2fdb00234
-
gugug authored
W503 and W504 are incompatible and we need to choose one of them. Existing codes follows W503, so we disable W504. Change-Id: Ic745e956dd332eb0fa49b93c1e6acb12f8a7f26c
-
- Apr 26, 2020
-
-
Radosław Piliszek authored
Removes and/or replaces all mentions of py27. Cleans up obsolete requirements and their lower-constraints. Separates test-requirements. Makes lower-constraints pass outside of CI (MarkupSafe). Adds FIXMEs about some hacky Mocks that may misbehave. Change-Id: Ifc090bf3c1db17d8542ee591c91e8225a597bfe2
-
- Apr 04, 2020
-
-
Andreas Jaeger authored
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found by updated hacking version. Remove hacking and friends from lower-constraints, they are not needed during installation. Change-Id: I7ef5ac8a89e94f5da97780198619b6facc86ecfe
-
- Feb 29, 2020
-
-
Ghanshyam Mann authored
Cleanup requirement and set ignore_basepython_conflict = True in tox to avoid python version conflict warning which going to be error in future. Change-Id: Iae7e0bb9e8af52ec3aafba7508305d8692d3c762
-
- Feb 28, 2020
-
-
Michal Nasiadka authored
Change-Id: I1439aa923a9129b752abb4acfb88559930b2178a
-
- Feb 10, 2020
-
-
Radosław Piliszek authored
This fixes files relevant for them because k-a uses common files for both docs and deploy guide. We need this to finally get rid of Rocky mentions despite our recent fixes to docs. Change-Id: I46c564f3d3e53c54148186fbadfd7380c4f2fd30
-
- Dec 11, 2019
-
-
Marcin Juszkiewicz authored
2020 is coming, everyone should be using Python 3 now. As per the official python support timeline set forth by the OpenStack TC [1], OpenStack Train (in our case, kolla-ansible 9.x) is the last release that will support python2.7. [1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html Implements: blueprint drop-py2-support Change-Id: Ibb3b12a779ecfd424053d0b3e98dac2f21d909bc
-
- Nov 26, 2019
-
-
Radosław Piliszek authored
Separate upgrade logic to is_upgrade job var and rename scenarios to match. Rename "ACTION" to "SCENARIO" (as it is a scenario). Separate testing of dashboard (aka Horizon) and increase its timeout to 5 minutes (CentOS 7 slow as always). Separate initialization of core OpenStack. Use gate setup script from ./tests/ Remove useless tox setupenv. Do not deploy Heat when not really necessary. Change-Id: I4fca319ccc3de7188f8b7b44c9c71321e3899467
-
- Oct 14, 2019
-
-
jacky06 authored
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name suggests, keeps the build running when it encounters non-fatal errors. This is exceptionally useful in avoiding a continuous edit-build loop when undertaking large doc reworks where multiple errors may be introduced. [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045 Change-Id: I405812a0039274139e055c54ab7b451dc753c842
-
- Sep 17, 2019
-
-
Mark Goddard authored
The is one of community goals that each project should produce a single PDF file. The pdf should be in the output of openstack-tox-docs job. TeX packages are required to build PDF locally, following is recommended: * inkscape * texlive-latex-base * texlive-latex-extra * texlive-fonts-recommended More about the goal: https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html https://etherpad.openstack.org/p/train-pdf-support-goal https://etherpad.openstack.org/p/pdf-goal-train-common-problems Change-Id: Ia0f8b73bcbda6295319f5c8de1aa02a40844207b
-
- Jul 05, 2019
-
-
Corey Bryant authored
This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: Ic5f9c5c666e08bc34127d97f9540033536c5b08f Story: #2005924 Task: #34216
-
- Jul 03, 2019
-
-
gujin authored
1. Update the UPPER_CONSTRAINTS_FILE to releases.openstack.org[1] 2. Blacklist sphinx 2.1.0[2] [1]: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html [2]: https://github.com/sphinx-doc/sphinx/issues/6440 Change-Id: Ie5f9ae1bd5c45617c6b7fde0e490d471e172c24e
-
- Jun 07, 2019
-
-
Doug Szumski authored
Change-Id: Ic011c25c491d7d2e1d1d656d8d1653e14bb2d1f1
-
- Apr 23, 2019
-
-
ZhongShengping authored
1.Use opendev.org instead of git.openstack.org. 2.Use review.opendev.org instead of review.openstack.org. You can see the discussion below: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html Change-Id: Ice4509204df788a1a44a06fb89fb44cfe6b54b94
-
- Apr 22, 2019
-
-
confi-surya authored
In Train, we will use python3.6 and 3.7 for which the minimum tox version required is 2.5[1] [1]https://tox.readthedocs.io/en/latest/changelog.html#v2-6-0-2017-02-04 Change-Id: I9b3dec141bd9e62739be00b69d033807cc2a2bd7
-
- 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
-