As per victoria cycle testing runtime and community goal,
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Bump lower constraints to make testing work for Focal.
Change-Id: I1fc6b0c67d767bc698e12f0e79fadd19bb7d0a8d
Story: #2007865
Task: #402198
According to Openstack summit session [1] stestr is maintained
project to which all Openstack projects should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ib27496313447cac962e4849223ab9eb96a9d873f
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Change-Id: I9a74878a28a9abb3d9452d7275b2d1a9441fff8c
Needed-By: I7b60d6f139da9abc000a76053e56512d60e42b76
The directory tools is exculed for runing pep8 test now.
Enable pep8 to check files in toos/ since there will be more python files.
Change-Id: I49b8b90ab8db82033c5a45ee2bcbfbfb7fb77339
"# flake8: noqa" option disables all checks for the whole file.
To disable one line we should use "# noqa".
Remove unused "# flake8: noqa" and fix hidden hacking errors.
Change-Id: I8b26cb0e7e5ad4a838099c7aa3ced31b96f28ca2
Closes-Bug: #1540254
Also update hooks to use murano install_venv and update script to fix
all the typos
Co-Authored-By: Nikolay Starodubtsev <starodubcevna@gmail.com>
Co-Authored-By: Victor Ryzhenkin <vryzhenkin@mirantis.com>
Closes-Bug: #1536614
Change-Id: I17de28570d543d30e80d41113425e32b0f4c26b2
Currently file lacks executable bit in its permission, so running tox -e
cover raises a Permission Denied error.
This patch adds executable bit for every group
Change-Id: I99dab1b0e2df9a9346e1017cc11c8c11f29a5865
Closes-Bug: #1476035
This script will allow to run non voiting coverage job which will detect
any changes in the code coverage for each commit on review.
It will help to automatically control the unit tests coverage for each commit
and core team can ask to add unit tests to some commit which will require it.
Change-Id: I318a6b0133333ef16494ed2def512720b15ce956
Closes-Bug: #1473364
* support scripts were copied from other projects like cinder, ...
* some modification were made to support some code checks
* at first we focus on code issues classified as 'refactor'
* job compare sets of code issues of current and previous commit
* if new issue emerged in current commit then -1
* use tox to launch locally 'tox -e pylint'
* next step is to create non-voting gate job
* job can be tested locally, example:
* 1) create method with more then 5 arguments
* 2) commit the change
* 3) run 'tox -e pylint'
* job should fail on 'Too many arguments'
Change-Id: Iccfb842de92e2284bedcfc7d9b1df5f456ba9d14
If subunit installed from packages then subunit-trace goes to
/usr/bin/ dir with hasbang string #!/usr/bin/python
In this case even if called from venv it use system python
interpreter, and will not have access to modules from venv.
Change-Id: I9b152055c5ce958001e59908564a3549960a7df9
Similarly with the way it was done in the murano-agent, added
the ability to use the oslo-config-generator for creating a sample
configuration file murano.conf.sample.
Now to create the file, you must run:
tox -egenconfig
Change-Id: I8b06336d75eccfd598ce9033333884f75f393a09
Some parameters were ommitted in murano sample config file
This patch adds config params from openstack to config checker
Closes-Bug: #1356787
Change-Id: I8221bc3aa063ecb53e210adf7a2222c92da1c049
Adds ability for deploy-time auth checks to allow/disallow
functionality, in line with other openstack projects.
Includes update of code in openstack/common, which is why the
patchset is so large. oslo-incubator changeset is May 27th
caed79d8239679cb74476bb0d9e5011b4fcc39da.
Implements blueprint policy-checks-in-api
Change-Id: I67a431dcc74f0a77ed48b7a489136d5008773cea
The previous commit, 3362ee1337,
a sync with Openstack Common, removed all definitions of the
post_process() function from the Distro class and all of its
child classes in install_venv_common.py.
This fix simply removes the call to the function in
install_venv.py
The issue is similar to #1263940 in tempest:
https://bugs.launchpad.net/tempest/+bug/1263940
Change-Id: Iedd0c29789c4b2ab9be880f9bd320b39a9bdd277
Closes-Bug: #1307705