19 Commits

Author SHA1 Message Date
Martin Kopec
fa704ce067 Include openstack-tox-py311 job
Getting rid of the antelope template and replacing it with the list
of the jobs instead - it's gonna be easier to add newer python
jobs as we won't have to check which ones are a part of a template
and which need to be added directly.
mysql-server and mysql-client seem to be changed for mariadb-server
and mariadb-client:
https://github.com/geerlingguy/ansible-role-mysql/issues/336

Change-Id: Id37a96f32e58c5a91f25d731c89c7a565614d99f
2023-09-20 10:28:04 +02:00
jskunda
75eb3c0bf1 Update jobs for Bobcat development cycle
- Adds an Antelope job as upstream has just released it and moved to
  the Bobcat development cycle
- Update nodejs version to Node.js 18

Change-Id: Ia83c1a0e7ae011657bd195c23b0aae36381ff3a7
2023-05-18 08:53:36 +00:00
Martin Kopec
334dd378c9 Fix compatibility issues
A lot of things have changed at once (or have been ignored
in refstack for some time) and in order to keep refstack
functioning this commit addressed the following:
* Update nodejs jobs so that we keep testing refstack
with the newest nodejs
* Update jobs for Zed development cycle
* Add support for py3.10
* Fix 2009327 story - refstack is now compatible with
jsonschema>=3.2.0 (schema definition got fixed)
* Drop py3.6 and 3.7 (upstream tooling as e.g. devstack
isn't supporting those anymore)
* Fix mysql setup script used to run functional unit tests
* Add WebTest dependency needed by unit tests
* Update alembic and jsonschema version to at least
currently recomended versions (by constraints)

Task: 43761
Story: 2009327
Change-Id: I37bb7dc520119bdab280d62e23922641ef7658ce
2022-08-11 15:52:14 +02:00
Martin Kopec
a87eb6c818 Revert "Fix uploading of documentation to opendev.org #2"
This reverts commit 1e40c8784c40ab17ac754d5da8381476eb48cad4.

Reason for revert: It has turned out the previous job was correct

Change-Id: I78c43c3bfbd14797debcd1dfa74e448e2e1257bb
2021-10-19 19:29:20 +00:00
Martin Kopec
1e40c8784c Fix uploading of documentation to opendev.org #2
Previously used opendev-promote-docs didn't publish the docs
to docs.opendev.org as expected, this patch is trying the
following job instead: promote-tox-docs-infra

Change-Id: Id9005daf2848f07e353ecdf1387395a669c5fddf
2021-10-19 18:46:19 +00:00
lpiwowar
ae592877b6 Fix uploading of documentation to opendev.org
This patch makes sure that the promote pipeline uploads the
generated documentation to opendev.org. Previously the promote
pipeline called opendev-tox-docs job (this had no effect on
uploading of the documentation).

Change-Id: Ib1f6742a6614a9f64d128a7fd611044372d66f26
2021-10-19 16:26:09 +02:00
lpiwowar
7bbd4efa37 Publish docs to docs.opendev.org
docs.opendev.org will provide easier access to the doc pages
in comparison to the Gitea (opening the doc files in the repo).

Change-Id: I88f587b14f911ee34210f6a249f789929eb3a65c
2021-10-18 11:14:11 +02:00
Martin Kopec
1e6acbec85 Switch testing to Yoga testing runtime
Updating the testing template to Yoga testing runtime:
https://governance.openstack.org/tc/reference/runtimes/yoga.html

The commmit also removes refstack-tox-pip-check-reqs job due to a
bug in the pip-check-reqs tool:
https://github.com/r1chardj0n3s/pip-check-reqs/issues/70
and the fact the tool is not used in the gates by openstack
projects - still can be executed manualy though.

Change-Id: I6d64cb67529585b458b28ed4fe011d50d1f23d6d
2021-10-15 11:38:07 +00:00
Martin Kopec
0395f676ab Clean requirements, add pip check job
Removes redundant requirements and adds a new job which runs
'tox -epip-check-reqs' in order to avoid having redundant
dependencies specified or missing some.

Change-Id: I5ca35922213cfbe4c2b4b49388bffcc0b8fc6a96
2021-06-23 12:50:15 +00:00
Martin Kopec
65ee83693a Use Xena zuul job template
The template contains also py39 job.

Newer releases of requests-cache are not compatible with
requests package (or the other way around) resulting in:
AttributeError: 'Response' object has no attribute 'from_cache'
Therefore the patch caps requests-cache for now.

Change-Id: If64a52d975bacc43b23ee055a118dec6e3e6b42d
2021-05-03 09:18:04 +00:00
Martin Kopec
35b3a1da4f Fix CI, Drop python2 and 3.5, update jobs to python3
* Starting in mysql8, we can't expect a db user to be
  created with the GRANT command, we'll need to create
  one explicitly.

* OpenStack has dropped the py2.7 and py3.5 support
  in ussuri cycle. From now on, refstack will test only
  with py3 jobs. 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

* Replace the "refstack-tox-py36-func-mysql" with
  "refstack-tox-functional" to simplify naming and use the system default
  python3 version for this functional job.

* replace testr unit test runner by stestr. testr runner hasn't been updated
  for ~ 6 years - stestr is its successor

Story: 2003257
Task: 24062
Change-Id: I90ab2eca6366f0b6256f097712efac2ffe08b2c0
2020-12-18 20:59:21 +00:00
Andreas Jaeger
fe84ebb7ea Update .gitreview after repo rename
Interop repos have been removed from
openstack namespace to osf namespace (Depends-On),
which need update the .gitreview to start using the
new location.

Disable failing jobs to be able to merge this change.

Depends-On: https://review.opendev.org/#/c/734669/
Change-Id: I015e8f1ee0c3bdfe490b4fbf9d67206a178af8a4
2020-06-13 09:40:16 +02:00
Elod Illes
91c56ed9a1 Add local bindep.txt and py36-func-mysql job
As it was announced [1] global bindep-fallback.txt was removed and now
projects need to have a local bindep.txt to be able to install binary
dependencies for testing.

In test jobs the script tools/test-setup.sh is called which requires
mysql and postgres servers and clients to be installed.

To eliminate 'ERROR: InterpreterNotFound: python3.5' of the zuul job
refstack-tox-py35-func-mysql, simply replace the tox environment
py35-func-mysql to py36-func-mysql with a base python of 3.6 instead of
3.5 and rename the zuul job to contain py36 in the name.

Update the Zuul template to use nodejs6 jobs, this makes the single jobs
obsolete, remove them. Without this change, the gate will use
nodejs4 and fail.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html

Change-Id: I90cb912befb9d09fed330bd8d27a491caffbf7b9
2019-09-14 20:35:16 +02:00
Andreas Jaeger
0c4a30a402 Use openstack-tox-cover template
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Remove jobs and use template instead.

Change-Id: I02c0c5e8b706c1170bd5b782eb624b4429d97053
2018-09-07 12:49:50 +02:00
Doug Hellmann
4df8a38787 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: Ib27ba59598ed03b7c8ae671bcd067c0e71df3c85
Story: #2002586
Task: #24759
2018-08-30 18:10:46 -04:00
Doug Hellmann
12db47651c 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: I0e29ab2bad85fe535438665260a3535eae75ad12
Story: #2002586
Task: #24759
2018-08-30 18:10:43 -04:00
Doug Hellmann
578348f9af 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: Ia4fb2dfa84eeac7a56ff2bef90034a38bc2a106b
Story: #2002586
Task: #24759
2018-08-30 18:10:30 -04:00
James E. Blair
639073c645 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: Icdeba7a4da08048c3cc5f873e319961e44078c79
2018-02-01 17:02:37 -08:00
Duong Ha-Quang
d2130f6cb5 Convert legacy tox jobs in-tree
This implements all step in zuulv3 migration guide [1]:

It moves the legacy tox jobs in-tree and converts them directly into
Zuul v3 native jobs.

Note that other jobs stay in project-config as common jobs.

[1] https://docs.openstack.org/infra/manual/zuulv3.html#legacy-job-migration-details

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Needed-By: I210b7823bb5720d3a06cf4ac5681904c8a9c50a5
Change-Id: I3fa5ccbaf8c18c6a07bd170c3b75724be246e721
2017-11-16 19:06:15 +00:00