summaryrefslogtreecommitdiff
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2022-03-04Build CentOS Stream 8 imagesMichal Nasiadka1-4/+4
This is part of the effort to allow a migration path for operators using CentOS 7 and Train today. Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/831265 Change-Id: I75373eb21c4269c20f72603ad4cf162a472de25b (cherry picked from commit 67d6d28b6208cc004a50f19be1386d88c2404bc4)
2021-02-15Drop lower-constraintsRadosław Piliszek1-7/+0
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: I58807c27fd20c7269019e26e8b507744d35325f3 (cherry picked from commit 8e9323d236a26a6514cdc5a60ac220a50a81abc7)
2020-01-14CentOS 8: Add zuul build and publish jobsMark Goddard1-0/+20
Adds build and publishing jobs for CentOS 8 images: - kolla-build-centos8-binary - kolla-build-centos8-source - kolla-publish-centos8-binary - kolla-publish-centos8-source The 'base' image has been added to the list of unbuildable images for CentOS 8 (now separate from the list for CentOS 7). This means that no images will be built - the jobs should essentially be a 'noop'. Change-Id: Ie9a0109bd4eef337358d714e4b5088b8e3de2f23 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit b060623b907348e518bdf1afede0b641be56c415)
2019-11-06Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainOpenStack Release Bot1-3/+3
Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/train branch, tests will continue to use the upper-constraints list on master. Change-Id: I9ec8f9640299d88c0ff4d8a5850689c0a9e35b62
2019-10-14tox: Keeping going with docsjacky061-3/+3
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: I6b8897472220e2f45ec3230be8d3f82adacc7c7e
2019-09-19Merge "Build pdf doc"Zuul1-0/+8
2019-09-18Remove support for OracleLinuxMark Goddard1-20/+0
We have agreed to remove support for Oracle Linux. http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html Change-Id: I961dfba1aeef2c509ecdaf376dfe6928926ffb39 Depends-On: https://review.opendev.org/682858
2019-09-17Build pdf docMark Goddard1-0/+8
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
2019-07-05Add Python 3 Train unit testsCorey Bryant1-1/+1
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: I3cb7d2c482cf6d57e01892b6ba0f76d9580ff53c Story: #2005924 Task: #34216
2019-06-20Clean up test processRadosław Piliszek1-13/+0
If stestr failed, then no node info was logged. Logging node info is now handled in pre and post stages of Zuul. Additionally Zuul v3 migration recommendations were applied and some unused code removed improving general readability. Change-Id: Iae9d37cb76997ba8389e21c7e2a3bf5905abe029 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-12Move to releases.openstack.orgtonybrad1-3/+3
Change-Id: I7ec146d0edc96f5ce925792530c42d7eedf8a409
2019-04-29Merge "Move to opendev"Zuul1-3/+3
2019-04-24Move to opendevZhongShengping1-3/+3
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: I377ea63827b6f3995ee275fdc466c1b2100eafc7
2019-04-22Update the min version of toxconfi-surya1-1/+1
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: Iea2da5e698959e85a6996b32bda85701b4aa0676
2019-03-25Remove unused scriptsMark Goddard1-83/+0
Removed various scripts which were part of previous CI configurations. Change-Id: I674c3bb89e049638926fcb2ad6577123117b5d32
2019-02-27Drop py35 jobsconfi-surya1-1/+1
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: Ib7804441fb3608b955c642014620fcab39d911ef
2019-02-24Switch to stestrVu Cong Tuan1-33/+39
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: I27308a2435a4dca572d736f56a02b0bbc8563981
2019-02-14Fix py36 gate jobMichal Nasiadka1-16/+16
python 3.6 pycache also includes links - so those also need to be removed Depends-On: https://review.openstack.org/636750 Change-Id: I0f995df45bf203acc79cc7bd52b9ac51577468da
2019-01-31Merge "Fix tox dependencies for release note generation"Zuul1-0/+4
2018-12-18[Configuration] Add missing py37 and corrected default envlist.Natal Ngétal1-1/+1
Change order of default tox envlist in order of likeliness to fail on a new change and add py37 and py36. Change-Id: I7b88f0ebce37a319e66b20d5438852976195f06e
2018-12-14Merge "Update min tox version to 2.0"Zuul1-1/+1
2018-12-13Fix tox dependencies for release note generationMark Goddard1-0/+4
Change-Id: I3aa42fe9225ca57151b5fdf1252a8fa37773d86a
2018-11-07Add python 3.6 unit test jobNguyen Hai Truong1-1/+1
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: I37bd6b96781ad8ca47c5cd57f455c540245f27f0
2018-11-02Update min tox version to 2.0Nguyen Hai Truong1-1/+1
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: Ie74cd61e251d46524d83a05c0b48fd462aeb4a57
2018-09-26fix tox python3 overridesDoug Hellmann1-0/+6
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: I916dfe05c88d3960e0239a6b9a7e5affc6d79196 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-17Temporary ignore B303 in bandit testsEduardo Gonzalez1-2/+3
Revert this change once the insecure usages are fixed. Change-Id: I36712b3c187afd5b1014d8f3b030a794621474be
2018-06-24Fix yaml warning in release notes and enable yamllint strict modeLiping Mao (limao)1-1/+1
Fix yaml warning in release notes. And this patch wants to make sure pep8 jenkins job can cover yaml warning check in the future. So use yamllint with strict mode[1] to treat warning as error. [1] http://yamllint.readthedocs.io/en/stable/configuration.html#errors-and-warnings Closes-Bug: #1778389 Change-Id: I05af5204c4d5388daa8bd3c8582fd1058df15920
2018-04-12Following the new PTI for document buildconfi-surya1-3/+8
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 Change-Id: Ic0b3f6c24b3229bbee19b39f9264a40884c700c9
2018-03-22add lower-constraints jobDoug Hellmann1-0/+7
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: I5753b175264c074ff722b47293c65063f0187ffe Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-16Follow the new PTI for document buildNguyen Hai1-1/+3
For compliance with the Project Testing Interface as described in: [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I302aced3b50b038900375e9632ca7ed136f32914
2018-02-27Verify YAML syntax in gatesEduardo Gonzalez1-0/+4
Test yaml syntax is correct on new changes. Fixes current warnings and errors Change-Id: I5888f8e4a9d27a08506036df2c564b9f2081ccee
2017-07-18Merge "Fix doc build warnings"Jenkins1-0/+1
2017-07-13Fix doc build warningsEduardo Gonzalez1-0/+1
Fix warnings: doc/image-building.rst:415:undefined label: deploy_a_registry (if the link has no caption the label must precede a section header) Change-Id: I8d921f3b05acf9304ccf41e172926887088b97d7
2017-07-06Add bandit check to all python codeEduardo Gonzalez1-1/+1
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-06-21Enable some off-by-default checksblue551-0/+1
Some of the available checks are disabled by default, like: [H106] Don’t put vim configuration in source files [H203] Use assertIs(Not)None to check for None Change-Id: I61ce619eeb37dc05f81015d37afc78a32838448a
2017-03-31Fix oslo_debug_helper not workingSurya Prakash Singh1-1/+1
Change-Id: Ifd4ea791b22b1bddc1116b89e6589a372cd17bd9 Closes-Bug: #1666560
2017-03-18Remove global privilege escalation for deploy_aio.shMohammed Naser1-11/+6
At the moment, deploy_aio.sh is called with sudo which results in the environment being wiped. This means that all Zuul environment variables are removed and therefore when zuul-cloner runs to checkout the branch of kolla-ansible, it will always fallback to master as ZUUL_BRANCH is unset. This patch removes the global usage of sudo in the tox.ini file as there is existing usage of sudo in the bash script itself. This will mean that we will only escalate privileges when needed rather for the whole script and the environment variables should be passed on properly resulting in the matching release of kolla-ansible being checked out. Closes-Bug: #1673756 Change-Id: I477a843e696be7136c020be6408afea01967879d
2017-03-15Merge "Remove support for py34"Jenkins1-1/+1
2017-03-15Remove support for py34lingyongxu1-1/+1
Change-Id: I522dc769803f2951341db39c868a153d6a69944a
2017-03-07Add debian related test envJeffrey Zhang1-0/+22
Change-Id: Ic186d8f563e58680e10d73a188ef63fa53e44c10
2017-02-10Delete python bytecode filezhuzeyu1-13/+13
Delete python bytecode including pyo Change-Id: Ia967e03e5b46ecdf25625a8554d26c3182ed7b6d
2017-01-17Code coverage improvement for kollaSurya Prakash Singh1-0/+1
This patch add the coverage tool package to test-requirements.txt which was missing, while kolla support coverage. In addtion to this tox.ini coverage command is modified to reflect the coverage report in standard output whenever "tox -e cover" command run for better representation of coverage report. Change-Id: I7f77c8d5320a7d180586ce1e8773a4f294846331 Partially-Implements: blueprint coverage-increment-for-kolla
2017-01-11Cover environment for kollaSurya Prakash Singh1-0/+8
Enabled the cover environment for kolla in tox Closes-bug: #1650269 Change-Id: I732058b07d951227e7011f6f1a3d84fed594cfa7
2016-11-20Merge "Remove Ansible references from tox.ini"Jenkins1-2/+2
2016-11-20Merge "Use upper constraints for all jobs in tox.ini"Jenkins1-1/+1
2016-11-18Remove Ansible references from tox.iniSteven Dake1-2/+2
Change-Id: Id27756e2333e216c9b0947c0af1e77c60ad5d9f0
2016-11-12Add bindep environment to toxJeremy Liu1-0/+8
This is helpful for listing any missing system requirements [1]. [1] http://docs.openstack.org/infra/manual/drivers.html#package-requirements Change-Id: I7bfa910a09f99354f4a2fb0ff67854a9c89c44fd
2016-11-05Add file validator for *.json.j2 fileJeffrey Zhang1-3/+1
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
2016-10-19Move bandit to pep8 as generic linting targetAndreas Jaeger1-0/+1
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
2016-10-19Add validate no new line at end of fileJeffrey Zhang1-0/+1
TrivialFix Change-Id: I817aa52caf56b7d54b266e553db6db1ceb38b773 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>