Commit Graph

22 Commits

Author SHA1 Message Date
Ghanshyam Mann b540700061 Retire patrole
Patrole project is not active anymore and its gate is broken.
We waited for couple of cycle to see if there is any interest
in this project and anyone can maintain it. But we did not get any
new maintainers and current QA team does not have bandwidth/interest
to continue maintaining it.

This project was for RBAc testing which is moving towards unit/functional
tests on service side as well as tempest plugins tests.

In QA 2023.2 PTG, we decided to retire this project

- https://etherpad.opendev.org/p/qa-bobcat-ptg

Change-Id: I7721cf06104e5871ec27cdd87d4608dace60a8b7
2023-04-10 22:29:00 -05:00
Anand Bhat db856d2b25 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/a2e9ae4cb

Change-Id: Icd9b8b1faa5e67e372fd411e6720f4c63f14d2bb
2021-05-28 11:32:32 +05:30
Vishakha Agarwal 15d8f26965 Switch testing to Victoria testing runtime
Upating the testing template from ussuri to victoria
testing runtime
- https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: Ifd65c0359509a4b59f3e876c42cef7cbf6f9ef93
2020-05-05 13:23:05 +05:30
Andreas Jaeger d69a6367a1 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Remove hacking requirements from lower-constraints, they
  are not needed for install

Change-Id: I150a5ee2cd08abf5ce9cf9daf2835007dea0dffd
2020-04-21 10:16:21 +00:00
Ghanshyam Mann 51368ef31c [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

patrole is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ied5cfb29363401d713c21fc579f30e1ef9c1210f
2020-02-28 01:22:58 +00:00
Corey Bryant 6f15d30d75 Add Python 3 Train unit tests
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: Ib3e0b4220d9a8a076ba2c26ac68852aa3953f134
Story: #2005924
Task: #34240
2019-07-15 13:19:43 -04:00
Ghanshyam Mann 35062ad415 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I09222df09e6c6618a06a08479638be3953e19ed4
2019-04-29 00:09:55 +00:00
Manik Bindlish 89d5d18234 Change openstack-dev to openstack-discuss
Mailinglists have been updated.
So, replacing openstack-dev with openstack-discuss.

Change-Id: I33171cb1ee466532823980f31e69393dc6484bd5
2018-12-04 04:35:09 +00:00
Felipe Monteiro ecfbb572c9 pbr: Remove unused translation sections from setup.cfg
Patrole doesn't have a translation infrastructure, so this is
to remove translation sections from the setup.cfg; these
sections are the same as those documented under:

https://docs.openstack.org/infra/manual/creators.html#python-projects

Change-Id: If2efd6e462933d0d192e331d12f0798ddf12ce46
2018-10-27 16:31:22 -04:00
ghanshyam 932b81d9d1 Update docs building
We need to move to new docs buidling structure as
per the Project Testing Interface (PTI) [0] for doc
build in OpenStack-Infra. More details [1].

[0] https://governance.openstack.org/tc/reference/project-testing-interface.html#documentation
[1] http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: I699095c2eb2c818354fe0502cbbbadd3b9ef2656
2018-03-22 20:31:53 +00:00
rajat29 d69a3f7f11 Update patrole entry_point plugin name
Updating the patrole entry_point plugin name from
'patrole_tempest_plugin' to 'patrole_tests'
Closes-Bug: #1694813

Change-Id: I31cfd09f2a18345c579a5076b4367486bbd51f7d
2017-12-07 14:12:48 +05:30
Felipe Monteiro 098a8cd057 Auto-generate sample config file
This PS auto-generates the sample config file using
oslo-config-generator which is how every project should reliably
produce a config file.

In addition, the Patrole documentation was updated to link to the
generated config file, so that the documentation accurately
shows config options.

Change-Id: Ib3c39084b4c2b5a0078d1293d882cf9a9050b29b
Closes-Bug: #1709490
2017-10-04 01:17:13 +00:00
gaozx 268b71df8f Update URLs in documents according to document migration
Change-Id: I31548801701df52c4b25e6a48f2c78efa6e740ea
2017-07-20 21:35:35 -04:00
Jenkins 8b8876ee0b Merge "Doc warnings as errors" 2017-07-13 01:40:23 +00:00
Felipe Monteiro 7de839d796 Doc warnings as errors
This commit sets warning-is-error = 1 under the build_sphinx
section of setup.cfg, now the standard across many OS services,
to flag sphinx warnings as errors.

Change-Id: I30a5425d7b6a221121350044ff3d197464b43cdb
2017-07-10 17:10:07 +01:00
Van Hung Pham 57127fd7d6 Remove support for py34
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: I71db19d9233254ecec89b774585271d47caba75f
2017-06-08 22:40:08 +07:00
Van Hung Pham 31b968dd89 Optimize the link address
Use https instead of http to ensure the safety

Change-Id: I4b8be0de1331450753508517558acdcca66e94c5
2017-06-05 18:45:16 +07:00
Felipe Monteiro 20359be219 Fix setup.cfg using incorrect entry point
Change-Id: Ie18ef469aaaf7dc8c41cf858055519ab3f09e24c
2017-05-22 16:08:31 +01:00
Andrea Frittoli 6b6c610a5f Add py3.5 support in setup.cfg
As defined in https://governance.openstack.org/tc/goals/pike/python35.html
Pike community goal for py35, adding py35 to setup.cfg.

I believe the py35 unit tests should be enough for this, but eventually we
should setup a py35 dsvm test as well.

Change-Id: I44d5465bf4d6223e603853c03d53d2b8cd98d1e0
2017-04-06 10:35:55 +01:00
Lucky samadhiya 3bbdd625d5 update homepage with developer documentation page
Change-Id: I50b64ca9986d06d5561e013df0b4e3ff487ae937
2017-01-19 13:43:10 +05:30
DavidPurcell 029d8c3126 Initial functionality framework.
Includes:
rbac_util - Utility for switching between roles for tests.
rbac_auth - Determines if a given role is valid for a given api call.
rbac_rule_validation - Determines if a allowed proper access and denied improper access (403 error)
rbac_role_converter - Converts policy.json files into a list of api's and the roles that can access them.

One example rbac_base in tests/api/rbac_base
One example test in tests/api/images/test_images_rbac.py

New config settings for rbac_flag, rbac_test_role, and rbac_roles

Implements bp: initial-framework
Co-Authored-By: Sangeet Gupta <sg774j@att.com>
Co-Authored-By: Rick Bartra <rb560u@att.com>
Co-Authored-By: Felipe Monteiro <felipe.monteiro@att.com>
Co-Authored-By: Anthony Bellino <ab2434@att.com>
Co-Authored-By: Avishek Dutta <ad620p@att.com>

Change-Id: Ic97b2558ba33ab47ac8174ae37629d36ceb1c9de
2017-01-13 11:37:30 -05:00
DavidPurcell 663aedfe46 Initial Cookiecutter commit
Change-Id: Iceff2531f4f7de21dcbb91ee893a8205b6c85107
2017-01-04 15:11:34 -05:00