Commit Graph

213 Commits

Author SHA1 Message Date
Kendall Nelson 1d52e37d0a Retire karbor-dashboard
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: I972ffb299f93863c4e34b1f504b002095661e6af
2021-01-08 00:21:36 +00:00
Zuul 06e52e5126 Merge "Add Python3 victoria unit tests" 2020-09-28 09:55:16 +00:00
manchandavishal a96c06dbfd Cleanup for Refactor-error-messages
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .

Change-Id: Ie0538de1dd8df45009ca24bab379980d7d1b9613
2020-08-26 11:46:00 +00:00
Zuul 8a7401e0df Merge "Drop mox3 from karbor-dashboard" 2020-06-15 04:39:11 +00:00
OpenStack Release Bot 74badc39b8 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: Icd13328dba1b9a91871ff8589cbf1cf781e13db2
2020-05-02 13:10:49 +00:00
Andreas Jaeger 5f293262c9 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
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build
- Use openstackdocstheme instead of python2 only oslosphinx
- Remove install_command from tox.ini, the default is fine
- Fix two hacking problems, those were masked by ignore
  to an empty string.

Change-Id: I8f67f8a7998a16805cbda52854a6b0f0ade05dc8
2020-04-21 08:41:10 +02:00
Andreas Jaeger 2396e14085 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix warnings found.

Change-Id: If966592a0f0d2c1000d5dc1ddafe2a3bcae88551
2020-03-31 13:08:03 +00:00
manchandavishal af0f54f7e4 Drop Django 1.11 support
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.

tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.

horizon>=17.1.0 is required to use Django 2.2.
requirements.txt is updated accordingly.
For more info. please refer [1], [2].

[1] https://review.opendev.org/#/c/700733/
[2] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin

Change-Id: Ifc49a69d4b34b32d64a95cca488c3a1ab7eb2ef6
2020-01-21 07:45:12 +00:00
Ghanshyam Mann f2977418ec [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

karbor-dashboard 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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: Ic69bd25a9be7b512c0341e524e67e04f81217214
2020-01-21 15:50:35 +09:00
Akihiro Motoki adfd2c5862 translation: drop babel extractor definitions
babel extractors are now registered via python entry points,
so there is no need to declare babel extractors in babel configs.

This change is important to make translation work in Django 2.2.
django-babel does not work with Django 2.2 and looks unmaintained
for over two years. The horizon team is thinking to switch the extractor
to enmerkar (a fork of django-babel) to make extraction of translation
string work again near future. It is important to drop the extractor
definition to make the transition smooth.

django-babel (and enmerkar, a successor of django-babel) will be
installed via horizon, so we don't need to have it in requirements.txt
explicitly. It would make the transition of the babel extractor easy.
Babel is dropped from requirements.txt from the same reason.

Django dependency is also upadted to sync global-requirements.txt
to pass the requirements-check job.

Change-Id: I093d2c9789a142e909da6f3bedc12a91b181ab02
2020-01-08 16:35:45 +09:00
ShangXiao 2859b78e82 Switch to Ussuri jobs
Change-Id: I79e078ad944db19c24d1df99a853590b857a85ad
2019-11-12 15:15:29 +08:00
manchandavishal 7a7cea0799 Use Horizon project template for django jobs
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]

[1] https://review.opendev.org/#/c/681969/

Change-Id: If66f8edc7208b406d39cce90d22be53dd7e21301
2019-10-14 15:31:42 +00:00
caoyuan 3748986651 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I98af21d8c2b70592f9b131a8e2ea193fb80ca62b
2019-09-12 07:07:04 +00:00
Zuul 0609a0e996 Merge "Add Python 3 Train unit tests" 2019-09-09 12:08:07 +00:00
gujin 4a7fbd3ad8 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="

Change-Id: I3ba06e23519177c05352b97c42dd95d2674d5b0a
2019-07-29 17:57:48 +08:00
lidong 492072f156 Update links in README
Change-Id: I459d069576866ca8d0cce2f5a2d6617af4095962
2019-07-29 09:14:15 +00:00
chenke e06dbf2825 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: I1eea1cf828ada4c4ee59dc4621f60c90cf521655
2019-07-03 15:58:29 +08:00
Corey Bryant 39c30e539c 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: Icce6506a61590240e8a320146ef2648837173ca1
Story: #2005924
Task: #34214
2019-06-24 15:16:16 -04:00
OpenDev Sysadmins 056e51066e 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:31:49 +00:00
Zuul 5c279133d5 Merge "Update json module to jsonutils" 2019-03-21 07:17:50 +00:00
Zuul a779bbb28b Merge "Change openstack-dev to openstack-discuss" 2019-03-19 07:55:23 +00:00
jacky06 98cdd8207e Update json module to jsonutils
oslo project provide jsonutils, and karbor use it in many place[1],
this PS to update the remained json module to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/karbor/search?q=jsonutils&unscoped_q=jsonutils

Change-Id: I8a191a0a668a05eb1a63bb6cf45eb2624a7f848a
2019-02-28 00:34:20 +08:00
Zuul d862d4e6d8 Merge "Add icalendar into requirements" 2019-01-14 01:11:42 +00:00
Vieri a6d355f712 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ifa1589bc3d5dd18eb1dc12737fca33f2bd0ad05e
2018-12-05 03:45:37 +00:00
Akihiro Motoki 9300916345 Drop nose dependencies
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.

Change-Id: I79d6f1be1a2efbdab78769817a97419556176a5a
2018-10-06 02:46:05 +00:00
Zuul 2378290382 Merge "[doc] Correct the invalid runserver command in horizon" 2018-10-05 08:46:15 +00:00
Nguyen Hai c30681d732 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: Iff7a6a0f9278c8d2a24ba64d32dfc06045ea1e19
Story: #2002586
Task: #24303
2018-08-22 15:08:12 +09:00
Nguyen Hai c839f87b2e 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: Id7de113d53e86770172bd15d537f82e34b0ce9fb
Story: #2002586
Task: #24303
2018-08-22 15:07:58 +09:00
Zuul 3c83ccaac9 Merge "Updated from global requirements" 2018-08-17 07:35:09 +00:00
OpenStack Proposal Bot 9fafc1f291 Updated from global requirements
Change-Id: I7c1b4f80e49f94f6d8ac28c6875ba0d150430471
2018-08-17 14:31:15 +08:00
Eduardo Gonzalez 8d2e52f72e Add icalendar into requirements
icalendar package is required to karbor-dashboard to work.
It is imported and used at
bfcecfee68/karbor_dashboard/triggers/utils.py (L18)

If package is not included, horizon fails to start, this dependency
should be fixed in karbor-dashboard side rather than in deployment
tools/packagers.

Change-Id: I7eb826ee6f08366f0aa934342e0cdf0eaaa0bae0
Closes-Bug: #1787040
2018-08-15 08:48:35 +02:00
OpenStack Proposal Bot 77f7031710 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I67bcd60ce7ed13b31a82e89389746ec80c3e9b60
2018-08-12 07:34:02 +00:00
Zuul 8d5c5fa825 Merge "fix tox python3 overrides" 2018-07-31 02:02:14 +00:00
Qian Min Chen 4a599ca931 [doc] Correct the invalid runserver command in horizon
Since the horizon remove the 'run_tests.sh' file,
so use 'tox -e runserver' command.

Change-Id: Idbb4789c6e756b819123757186669275190d32f7
2018-07-17 22:42:57 +08:00
OpenStack Proposal Bot 8c851fce39 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5842ed05896f6a76b718fd835867cfb0b01f8b4e
2018-06-17 07:24:03 +00:00
huang.zhiping 86f514e9cc 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: Ie14819fe7be1fc6d7d8e04f2aa9f123bb6ad17e6
2018-06-09 09:22:23 +08:00
Zuul 6201296d61 Merge "Imported Translations from Zanata" 2018-04-11 08:30:22 +00:00
Charles Short 6aca9b6580 Drop mox3 from karbor-dashboard
This patch does several things at once:

- Remove mox from KarborApiTest. Use mock instead
  of mox3 to mock out the karborclient.
- Use mock to mout the karborclient.
- Drop mox3 from the test-requirements.txt.

This is apart of the mox community goal for Rocky.

Change-Id: Iea9e65778777746682895521f17ca69f5c27f7fd
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-03-29 15:12:34 -04:00
OpenStack Proposal Bot 37701536d3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iac05ba77e320657b0b74434320c04f0b9d16467b
2018-03-06 06:52:11 +00:00
OpenStack Proposal Bot e33c2088f1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I81b491469e4e9b39477ea0fbe977e4c10e084f65
2018-03-01 06:54:01 +00:00
OpenStack Proposal Bot bf31d5f2f1 Updated from global requirements
Change-Id: Ic77b42a2a102d72b4ef2e029c466042e70de1bb4
2018-01-17 20:36:39 +00:00
OpenStack Proposal Bot 761570ef87 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I51824947b49b97d592e080d66efea4538a248aa9
2017-12-13 07:08:52 +00:00
Zuul bfcecfee68 Merge "Fix trigger creation failed" 2017-11-23 14:05:09 +00:00
Jiao Pengju cce93819d1 Fix trigger creation failed
Currently, karbor use 'calendar' format as the default
time format, but karbor-dashboard use 'crontab', this
makes the trigger creation failed. This patch convert
the time format of the dashboard to canlendar to make
it work.

Change-Id: I7a89365005af3256bdf02478dd60428a118a8bbe
Closes-Bug: #1613587
2017-11-23 16:21:33 +08:00
Akihiro Motoki 6c739411bb Drop django_openstack_auth from requirements.txt
django_openstack_auth has been merged into horizon tree
as an effort of blueprint merge-openstack-auth.
There is no need to depend on django_openstack_auth any more.

Change-Id: I2fce88f4aba3c3e6ef44a75dae8357444ea88804
2017-11-16 07:00:21 +00:00
OpenStack Proposal Bot 29740fce21 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I07a853fd8f508994c75583eda5e2ccc17cd42b3a
2017-10-10 07:07:49 +00:00
Jenkins a024bc8a0a Merge "Fix to use "." to source script files" 2017-09-26 01:50:02 +00:00
OpenStack Proposal Bot ea79db1f4b Updated from global requirements
Change-Id: I032f9b6984e79a0f2fbaefbcacff44b3cbcb0c5e
2017-09-22 12:52:04 +00:00
Pengju Jiao 1d7fd7c754 Fix checkpoints pagination error
Currently, previous page in checkpoints pagination not
work, it always throw an error in the web page. It is
because that checkpoints in karbor do not need reverse
the order (checkpoints are sorted by 'timestamp@id' in
the backend, so we can not do the reverse only be the
id or name)

This patch will fix it.

Change-Id: I45c3e7337bf2ee9d3f2fbf9ee7a438884b8b8ca9
Closes-Bug: #1714909
2017-09-05 10:31:01 +08:00
melissaml 542fd7418e Fix to use "." to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

Change-Id: I6dd25f000ceb6db2d3db3da8058516954bc9dc9d
2017-09-02 03:04:15 +08:00