Commit Graph

294 Commits

Author SHA1 Message Date
Kendall Nelson e1087267bb Retire python-karborclient
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: Ic1b039239b8141097873b2f90c448d613c9c11df
2020-12-21 11:55:16 -08:00
Andreas Jaeger c4b0bd2cdb Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I34f79cee33b7f5ad4a3adf0ad73f7e38052e921b
2020-05-22 17:18:38 +00:00
Zuul 44982f2456 Merge "Update hacking for Python3" 2020-04-21 07:35:42 +00:00
OpenStack Release Bot b475012330 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I01a66fa1b522c19392228d70c784ba8bb80603fe
2020-04-11 18:44:10 +00:00
Andreas Jaeger 9c8f2f29d4 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers

Change-Id: I175c9e6078c352950933372e7ea89d5951fd6fc6
2020-04-04 16:52:27 +02:00
Andreas Jaeger 9af7683133 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I3dfc16a044db1eaffae909db5aa11496d4294a89
2020-03-31 12:10:29 +02:00
Ghanshyam Mann 6ded5189ba [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-karborclient 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: I777e4ecb3dbb1bea98a9a8c2e5bde1ee4129cc0f
2019-12-15 01:15:10 +00:00
Zuul 1419988ace Merge "Add unit test for quotas" 2019-11-09 07:28:19 +00:00
liushuai 21addfcca0 Add unit test for quotas
Change-Id: Id0d6ee5142687f64cbf448a8983683b19eb4b1f6
2019-11-07 23:44:37 +08:00
liushuai 56681c318e Add unit test for triggers
Change-Id: I3b6aaead255b51c742e8602d09b4b3f7f152ec6c
2019-11-07 17:34:58 +08:00
liushuai 5bd1b2feeb Add unit test for operation logs
Change-Id: I812ccf4ac1e5ab3f3d2402bcf9a9dd5b88781513
2019-11-05 22:44:18 +08:00
liushuai 05139e97e8 optional argument should have default values
Change-Id: I5ff5447f8ceec0a8ff25d46208a59eb2d6c8e307
Closes-Bug: #1844488
2019-09-23 17:29:28 +08:00
Zuul c4e27f2e6d Merge "Add Python 3 Train unit tests" 2019-09-09 12:09:39 +00:00
jacky06 1a98ae3101 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ia80a351665da5428d3c7c4cb518ecf0afc2ef8c1
2019-08-24 10:52:37 +08:00
chenke 4571dcb492 Switch to the new canonical constraints URL on master
Reference:
1. http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
2. https://github.com/openstack/nova/blob/master/tox.ini#L17

Change-Id: Ie02a59eaee3807432c111e301163e87ab5afe2bd
2019-07-03 15:55:53 +08:00
Corey Bryant 9cd38596cd 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: Ia67bc92c85694a6be8eea65b9c4bb661ecc13b36
Story: #2005924
Task: #34214
2019-06-24 15:16:41 -04:00
Jiao Pengju 17f75a9c00 Fix listing with --all error
When executing command "karbor xxx-list --all", it will raise
error as 'error: ambiguous option: --all could match --all-tenants,
--all_tenants'. The reason is we have both '--all-tenants' and
'--all_tenants' in the specify operations, '--all' matches two
args, so it can not work, but when using '--all-' or '--all_',
it return the correct result. We should fix it, so we remove the
arg '--all_tenants' which is not in the help info.
Story: 2005874
Task: 33686

Change-Id: Iafa70c35594af732435122ebd50c114fd7f0b9df
2019-06-16 12:07:15 +08:00
OpenDev Sysadmins 6a5f46615c OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:41:49 +00:00
Zuul 036ec8746a Merge "Update json module to jsonutils" 2019-03-21 09:05:28 +00:00
cao.yuan 56474b54df Update json module to jsonutils
oslo project provide jsonutils, and karborclient use it in many place[1],
this PS to update the remained json module to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/python-karborclient/search?utf8=%E2%9C%93&q=jsonutils&type=

Change-Id: I8c2c0383eac12a5562f205640d6c8c7d062266b1
2019-02-25 20:15:46 +08:00
ZhongShengping 998e72a03a add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I207e95619a8f4e8948f0d71404738a32daa7b5ba
Story: #2004073
Task: #27421
2019-02-19 17:06:02 +08:00
98k 7d93f625d9 Add doc/requirements.txt to docs tox environment
Without these dependencies, the releasenotes build does not actually
work.

Change-Id: Ie38200dafb86dbf4cc604ae837fc04f42c47b399
2019-01-09 17:46:52 +00:00
Zuul 3216f64d14 Merge "Add Python 3.6 classifier to setup.cfg" 2018-12-21 01:27:52 +00:00
Zuul e5440f809d Merge "Convert trigger window from string to integer" 2018-12-10 06:26:49 +00:00
YUHAN d45538cf41 Convert trigger window from string to integer
Change-Id: Iccdaea4b4e5aedd2548e865576eb718643e41cf9
2018-12-10 12:56:18 +08:00
98k ce7b872c26 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I7fd74af8edb78fd95f59162f1282f1434c522cac
2018-12-04 07:38:17 +00:00
Zuul a0a7b4a24b Merge "Add osc support to update plan description" 2018-12-04 07:17:46 +00:00
liushuai c2e7441444 Add osc support to update plan description
Change-Id: Ibc661594342a89cc5f89084972a4fb9844da1a84
2018-12-04 13:56:51 +08:00
Zuul 5cf1f0d246 Merge "Unsubmitted name field shoud be ignored" 2018-12-04 05:48:27 +00:00
Zuul c992876f96 Merge "Add support to update plan description" 2018-12-04 05:45:40 +00:00
Zuul bc9ac570bf Merge "Add osc support to reset checkpoint state" 2018-12-03 08:53:48 +00:00
Jiao Pengju 048b3a0bd9 Add support to reset checkpoint state
This patch added clinet support for doing
checkpoint state reset.
Implements: bp checkpoint-status-reset

Change-Id: Id34501bd4d43c6ae0e9d0d789be7e92581cbff8c
2018-12-03 14:14:50 +08:00
liushuai 58234ab51c Add support to update plan description
Change-Id: I048e970cd449e0e51bbfc3a97e325afd0fa73d5c
2018-12-02 23:19:04 +08:00
Jiao Pengju 1eb26df991 Add osc support to reset checkpoint state
This patch added osc clinet support for doing
checkpoint state reset.
Implements: bp checkpoint-status-reset

Change-Id: If7c2ae3563ff0959c4c59f2b23a8c7c9ea11e196
2018-12-02 22:35:47 +08:00
qingszhao 47d15a74a3 Add Python 3.6 classifier to setup.cfg
Change-Id: Ibc1b7be0b55756b8768b58b04b0898b76aba8427
2018-11-30 06:56:08 +00:00
liushuai 597e452dbc Unsubmitted name field shoud be ignored
Closes-Bug: #1805815

Change-Id: Ife1a13b7b145eff7a8e8e8471bac0ee43c195c68
2018-11-30 00:11:01 +08:00
liushuai 262799e3c0 Convert trigger window from string to integer
Closes-Bug: #1805755

Change-Id: Ib2da9cb008fad3f9d686a1409c83d98b7daebe68
2018-11-29 11:21:42 +08:00
Zuul f3c117e17c Merge "Add osc all tenants support for checkpoint listing" 2018-11-19 03:36:42 +00:00
Jiao Pengju e3ed8939b8 Add osc all tenants support for checkpoint listing
Change-Id: I19c5461f28425377918ebc3faeaf5a7340eaead8
Implements: bp checkpoint-all-tenants
2018-11-18 21:00:08 +08:00
Jiao Pengju 38b2b847c8 Add all tenants support for checkpoint listing
Change-Id: Iffcc68efad6a218faa9a6d6d53ff1f7b833ed13e
Implements: bp checkpoint-all-tenants
2018-11-18 20:05:52 +08:00
Jiao Pengju 2fe9422e04 Limit the operation type for scheduledoperation
Now karbor only support two types of scheduledoperation,
but the client do not show and limit the values. So the
end users can type any string to execute the command of
'scheduledoperation create', but the server returns error
, this will make users confused, and they still not know
the right value. This patch will limit the operation type
in 'protect' and 'retention_protect'.

Change-Id: Ic1110124472ac455f988bb25254feeb4417caf1a
2018-11-09 12:38:52 +08:00
Zuul b0011487e2 Merge "Use templates for cover and lower-constraints" 2018-10-10 01:03:12 +00:00
Chen db689c650f Remove PyPI downloads
According to official site,
https://packaging.python.org/guides/analyzing-pypi-package-downloads/
PyPI package download statistics is no longer maintained and thus
should be removed.

Change-Id: I0cdc7bdfa4a8c36d57a2c0f5391a7e8c53925fed
2018-10-06 02:45:59 +00:00
Andreas Jaeger 1c2079ef71 Use templates for cover and lower-constraints
Small cleanups:

* Use openstack-tox-cover template, this runs the cover job
  in the check queue only. Remove individual cover jobs.
* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: I1d4176ff6a3c53c447f9d118008d3d51ac455b88
2018-09-29 19:09:06 +02:00
Nguyen Hai 038e2f6984 add python 3.6 unit test job
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: Ie2624ea979e19abe3feae68d8315c54fd9a9f7ff
Story: #2002586
Task: #24303
2018-08-22 15:08:13 +09:00
Nguyen Hai 334ef1ec33 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs 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: I4e3d217ba4d67fd227d532ac2ce6a36f36d68815
Story: #2002586
Task: #24303
2018-08-22 15:08:12 +09:00
Nguyen Hai 4455105df5 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ic6f174b987bd6a32af097926951bac75cb15f6ea
Story: #2002586
Task: #24303
2018-08-22 15:08:11 +09:00
Doug Hellmann 7aca76b32b fix tox python3 overrides
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: I8b2f1a62f8c9ca04d6c63f4a4ad22ec445bad88b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 17:58:17 -04:00
Zuul a614c845b2 Merge "Follow the new PTI for document build" 2018-04-21 07:32:13 +00:00
Zuul 8929cad166 Merge "add lower-constraints job" 2018-04-21 07:28:52 +00:00