Commit Graph

10 Commits

Author SHA1 Message Date
yangyawei f2376540de setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4c

Change-Id: I09e2f3361eb2683dd7ccc28a4a77beb47617ba09
2021-05-14 18:08:54 +08:00
Sorin Sbarnea cc0d019446 Add py39 support
- update setup.cfg to advertise supported platforms
- fix tox.ini file use version agnostic envlist
- add openstack-tox-py39 job
- minor fix on test file which wrongly assumed that pop
  returns a new dictionary
- added type to release dictionary, which is what would
  have prevented previous item from being introduced.

Change-Id: I60b80ebe41a66d39e6f1a51a3d00c0b9292d42fd
2021-04-12 18:42:38 +01:00
Chandan Kumar (raukadah) a34719ac32 Fix oooci-build-images role to consume with build-image
In order to consume with oooci-build-images role with TQE
build-images role, it needs following changes:
* Install python-tripleoclient as pre.yaml will be not running all
  the stuff will be consumed via rpm only and it enabled only
  when to_build param is defined.
* Activate virtualenv only when venv exists
* Add role under setup.cfg so that TQ discovers it in runtime
* Put openstack/tripleo-ci as external repos so that toci script
  will copy and install the required roles.
* Added build_all_images var to build both overcloud and IPA images.
  It defaults to false.

Change-Id: Iabe30da1672c40d684cbf718abecb0040ae699f2
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-04-24 19:52:26 +05:30
Sorin Sbarnea e5217e01a4 Refactored tox jobs
- assure we test triple-jobs-gerrit.py file
- fix division by zero bug with above file
- simplified tox.ini file
- prevent accidental regression on CI by checking number of passed tests
- removed test_molecule.py file which was the precursor of what later
  become pytest-molecule

Change-Id: Id6ffb9df88a376bcd3c8a0d77b2d378fca8da115
2020-03-27 13:39:35 +00:00
Sorin Sbarnea b6611fd03a Fixed flake8 and broken gate
Flake8 went broken recently, adopts correct calling method to avoid
regression and fixes broken rules.

Also removes openstack-tox-pep8 from gate which was a guaranteed
failure when triggered as pep8 was removed.

Change-Id: Iba03d3051952f461bb16299a6d32475b2be43041
2020-01-27 19:21:48 +00:00
yatin 93768b46ee OpenDev Migration Patch 2
These changes were missed by Sysadmin's proposed
Migration Patch, this patch takes care of these
missings.

Also updated kolla review pull task to use
review.opendev.org instead of opendev.org as
remote url because opendev.org currently don't
have review refs/changes synched due to gitea bug.

Related-Bug: #1825732
Change-Id: I30646b0c5b95f391e9ab4bd767b468280ccb3842
2019-04-22 11:04:00 +05:30
Sorin Sbarnea f39cd8a9c3 Make pytest run generate html reports
Improve readability of pytest executions by producing html reports
which are also advertised by zuul, saving user time.

Change-Id: I306ad28c855c59f3d575da7a6132782ce02966d7
2019-04-16 09:22:07 +00:00
Natal Ngétal ed9cb0bf81 [Core] Change openstack-dev to openstack-discuss.
The openstack-dev address is replaces by openstack-discuss.

Change-Id: If1af95afd3a3ed4e0665f557072ac7accecb5d14
2018-12-04 11:40:39 +01:00
Natal Ngétal 48a59187c0 [Documentation] Remove useless file.
Remove the old README.md file was replaced by the README.rst. It's not
necessary to keep the file.

Change-Id: Idaa843e802c7c2d0f34429515d948d6fc05fb0a2
2018-10-03 12:57:22 +02:00
Dan Prince a4f7707364 Add setup/tox/requirements files
This patch adds files so that tripleo-ci can run
pep8 tests, and also be capable of running the
CI status report in a tox environment.

Pep8 tests are currently failing... those will be fixed
in a follow up patch.

Change-Id: Ifdfb0a8f3db0d53097b871408203448266145d50
2015-09-28 10:18:38 -04:00