Commit Graph

31 Commits

Author SHA1 Message Date
OpenStack Release Bot 33382fa8a7 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

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

Change-Id: Iaf32eff4d83ae5bdfefe0b4b62dab0d045d98a41
2022-09-13 14:13:31 +00:00
manchandavishal 59c7b032d9 Use Horizon project template for nodejs jobs
Horizon defined a project template 'horizon-nodejs-jobs'
for nodejs jobs. This patch updates ``.zuul.yaml`` to
use that template to run nodejs jobs here.

Depends-On: https://review.opendev.org/c/openstack/horizon/+/831929
Change-Id: I9a4656e78314bf56130a14152c7791f577bb4f11
2022-05-24 15:05:19 +05:30
Ghanshyam Mann 866d4bbcc5 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I7dc431aea5d800f000826cb371c4f1e1c89dc302
2022-05-24 14:05:08 +09:00
manchandavishal 68f5d8c494 Fixed Unit test for Heat-dashboard
After 7052b7f065 merged in openstack/horizon a new Unit
test class introduced in horizon i.e. RestAPITestCase.
This patch updates heat-dashboard to import RestAPITestCase
class instead of TestCase. For more info. see [1]

It also update few packages version in lower-constraints.txt and
other files to fix lower-constraints job.

[1] https://review.opendev.org/c/openstack/horizon/+/827097/2/openstack_dashboard/test/helpers.py#485

NOTE: py36 support has been dropped for Zed, so py36 UT no longer works
with upper-constraints for Zed. Thus, the zuul job template is updated
for Zed in this commit together. This commit also needs to be backported
to stable/yoga to fix the UT. When backported, make sure not to include
the zuul template change for Zed.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I81241b2225f1e8b7b38f8f03928d5b4c0b4c8094
2022-05-24 00:42:38 +09:00
OpenStack Release Bot 7e4cfaba75 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

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

Change-Id: I42850c7432c4e6ebf7c031db40063332e64a9fc2
2021-09-17 17:06:20 +00:00
manchandavishal b31cd83190 Drop horizon-nodejs10-jobs template
As we already added horizon-nodejs14-jobs template in this plugin
and nodejs14 jobs running fine. So let's drop horizon-nodejs10-jobs
template because nodejs10 is already EOL.

Change-Id: I11176ef54ca25b130bc2c1c86b8458cbf960312f
2021-05-19 21:45:36 +05:30
manchandavishal 6e698bbe09 Add horizon-nodejs14-job template.
Depends-On: https://review.opendev.org/c/openstack/horizon/+/784062
Change-Id: I6fb8e2cd8a67032ae31becf336aac56554ee824a
2021-04-27 18:21:51 +05:30
OpenStack Release Bot f9b3be622f Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

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

Change-Id: Icf5121aa763fa90129a4b47fe788da6bab84eb09
2021-03-26 15:36:33 +00:00
OpenStack Release Bot 3f779b6b0f Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

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

Change-Id: I7f78293b81edbcb8861e3aeb7de1f4db91bb55e9
2020-09-28 09:29:52 +00:00
OpenStack Release Bot 5cc83572be 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: Icb558507be8aea7bffd3522080688525d06cdcff
2020-04-24 17:12:43 +00:00
manchandavishal 8638a0c7f6 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

heat-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Also this patch update minimum tox version in tox.ini file.
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: I63d6c5dfb2bb312c413b9350fa7c9a01eae6cd0b
2019-12-03 07:36:38 +00:00
Zuul cbefbea854 Merge "Use Horizon project template for django jobs" 2019-11-01 13:12:38 +00:00
manchandavishal a0975b6198 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 and also fixes failed test cases for django2.2 support.
For information please refer [1]

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

Change-Id: I3ab81402633b9abe39e49c3921585db992050540
2019-10-30 17:19:18 +09:00
manchandavishal e1832bdfe4 Switch to official Ussuri jobs
Change-Id: I64fdad36971aff596bb5156ab31002f0fc8e24c8
2019-10-14 07:01:02 +00:00
pengyuesheng 024d36c987 Drop nodejs4 job
As Migration to bionic is completed or nodejs10 job running.
So we not required nodejs4 job anymore.

Change-Id: I75432d34524c827b02d162d4ca7f4623980c350c
2019-06-26 13:42:13 +08:00
OpenDev Sysadmins 618c66ba43 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:29:01 +00:00
manchandavishal a7cda44dfe Switch python3 versions of test jobs to match Train PTI
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit drops python 3.5 and adds python 3.7.

Redundant entries in tox.ini are cleanup along with python3.5 removal.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ideb2e7f6e7e3bd0986e5f6d400912a3e4e392e14
2019-03-28 14:02:28 +09:00
manchandavishal 1703721a38 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: Ifb5d57e078d16bd1b15418f38750fc0ef2b571f7
2019-03-12 11:03:45 +00:00
Ivan Kolodyazhny e4a8ab4a11 Add heat-dashboard integration tests
This patch adds basic tests to verify that heat-dashboard is
installed and could be opened.

heat-dashboard-integration-tests job is added in a
non-voting mode.

Depends-On: https://review.openstack.org/634712
Change-Id: I2550d6fcd1ce4e05502f247e227aaec05e762fcb
2019-02-05 09:40:06 +02:00
Andreas Jaeger e952fd0ff3 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Also, update some minimal requirement for horizon
needs newer versions. This is needed to pass the lower-constraints
job.

Change-Id: I6d69299c6099bdcd3671e7e7c764604676e8eaef
Needed-By: https://review.openstack.org/623229
2018-12-21 09:57:57 +01:00
Doug Hellmann c3665d1d9f 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: I5ed727f3dd33ad1c08de34b24246bd78b260dc8c
Story: #2002586
Task: #24298
2018-10-03 04:49:24 +00:00
Doug Hellmann 55537b6163 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

Depends-On: https://review.openstack.org/#/c/583291/
Change-Id: I2f183ca67c0d1d5b0d9e747131e1208085546e71
Story: #2002586
Task: #24298
2018-09-28 05:30:30 +00:00
Akihiro Motoki 850e8741a3 Add python3 django 1.11 job instead of django 2.0 job
Django 2.0 is now used in tox py35 job, so there is no need for
py35dj20 job. Instead, Django 1.11 with python3 is not covered.

- py35dj20 job is dropped from tox.ini.
- python3-django111 is added to tox.ini.
  python3 is specified to basepython to avoid a specific python version.
- .zuul.yaml is updated to consume horizon-openstack-tox-python3-django111
  and drop horizon-openstack-tox-py35dj20.

Change-Id: I90485a472edb5d2446c7e1bc08554fec72b307a0
2018-06-13 00:06:08 +09:00
Akihiro Motoki aa19f2c5f1 Django 2.0 support
Co-Authored-By: Xinni Ge <xinni.ge1990@gmail.com>
Change-Id: I928156149f7152128e7cfa02d1d6c4849bd0e9a4
2018-06-06 20:34:24 +09:00
Doug Hellmann ab78a8de23 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Ic5fa4edff518a453941ec3d288f7a859adccec76
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 12:43:09 -04:00
Akihiro Motoki 41639a25d5 Revert "Revert "Drop django <= 1.10 support""
This reverts commit 2b2aa29f02.

stable/queens branch has been created and the master is now open
for Rocky development. We can drop Django <= 1.10 support now safely.

Change-Id: I5768350481bced6dc51a8ad6b1af7ab36934f52f
2018-02-13 01:52:39 +09:00
Kazunori Shinohara 2b2aa29f02 Revert "Drop django <= 1.10 support"
This reverts commit 1512cb9fd0.

Change-Id: I70d87f643584ba3e800d96319d9d4c29a6c54611
2018-02-12 01:21:17 +00:00
Akihiro Motoki 1512cb9fd0 Drop django <= 1.10 support
horizon team will drop Django <= 1.10 support in Rocky release
considering the Django roadmap [1].
heat-dashboard consumes the job definitions of py27-dj1(8|9|10)
in horizon, so they need to be dropped so that the horizon team
will drop the job definitions.

This prevents horizon team from removing these jobs.
If heat-dashboard still needs them, define your own versions.

[1] https://www.djangoproject.com/weblog/2015/jun/25/roadmap/

Change-Id: I157ffe73b763fd23043a251dba02efe10109c0c7
2018-02-11 09:32:43 +09:00
James E. Blair c5d8d893f8 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I821e7f472112907f07f7d77b7de25ba700079d9c
2018-01-27 23:19:57 -08:00
Akihiro Motoki 01dfacef14 Consume horizon in-tree django variant jobs
The legacy jobs legacy-horizon-tox-py27dj1* needs to be clean up,
so it is not a good idea to consume them in horizon plugin jobs.
It prevents from pushing them away.
This commit tries to py27dj1* zuulv3 jobs defined in the horizon repo.

Needed-By: I23a95b36e73bb444f94683c801eda11fb1430aa8
Change-Id: I040b35a4830423dce6fa4279882a01b8e88ad5f9
2017-11-14 06:38:53 +00:00
kaz_shinohara a2a56c7062 Add in repo zuul job definition
Add .zuul.yaml file to make sure more flexible zuul job controll by
heat-dashboard team members, apart from project-config repo.
We will keep basic & common jobs in project-config repo,
also heat-dashboard repo will have specific jobs like as multi django
ver jobs.

Change-Id: Ia9084b10bf4bb1941e0eb21b51798c2090b459cc
2017-11-01 21:44:17 +09:00