Commit Graph

37 Commits

Author SHA1 Message Date
Sharpz7 4ac6cf0857 [codespell] - Adding CI for codespell tox target
Adding CI for https://review.opendev.org/c/openstack/ironic-lib/+/905569/1

Related Bug: https://bugs.launchpad.net/ironic-python-agent/+bug/2047654

Change-Id: I8e2c7b88fcea44d5ede851b40657b0acc3cf9e54
2024-01-17 17:01:52 +00:00
OpenStack Release Bot c0ae15fb9c Add Python3 antelope unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

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

Change-Id: If9bde0075d92c09491085d1c6dc05e36d0810fe1
2022-09-08 07:52:18 +00:00
Zuul ded2a504e2 Merge "Drop lower-constraints.txt and its testing" 2022-08-24 15:15:00 +00:00
leiyashuai 9d116cd7c6 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: I0f09e027650d5c2953dab7191b3f3286a37057f1
2022-08-23 08:30:19 -03:00
Dmitry Tantsur b9f7ec7c3d Replace the netboot job with a local-boot one
Change-Id: I14b4134f6ba3f3d04d89a19caec3dc253a1d537f
2022-07-07 16:30:46 +02:00
Iury Gregory Melo Ferreira 179772a05a CI: Removing job queue
Please see:
https://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-4-1-0-deprecation-notes

Change-Id: I97687d815503f2e444f4ecc3ce98ea60aaaa8b20
2022-05-19 16:04:52 -03:00
Zuul d67fa037cd Merge "Add Python3 zed unit tests" 2022-05-04 19:28:52 +00:00
Riccardo Pittau 95ce746ad1 Update jobs names
Also actually set netboot to bios

Change-Id: I572d723e6b0d685a8a1ce9ec21c86adce3f25db4
2022-04-14 10:46:32 +00:00
OpenStack Release Bot 97b93d249f Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

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

Change-Id: Id611d09e96e43a19c145db61fa717151b4a20bdd
2022-03-07 14:07:26 +00:00
OpenStack Release Bot 15f5264394 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: I294706753dc791f70833759b6c7cdcd2eb7caa2e
2021-09-10 14:31:44 +00:00
Riccardo Pittau b750b74c20 Add lower-constraints job to current development branch
The lower-constraints test was removed because of an issue where pip
could not correctly determine the required packages versions to install,
ending in an almost infinite loop that would end up in timeout, failure,
and general mayhem.
Recently the issue has been fixed and, if properly configured, the
lower-constraints test can provide good indication of which minimum
versions are required to support the current code.
This patch adds the test back to the current development branch, and it
runs only on master.
The lower-constraints file will stay in the future stable branches.

Fix olso.utils min requirement and remove doc8 from test-requirements
as it's already included in tox.ini config.

Change-Id: Ic0174f59b95a878539ab17f659f1663548e94ed7
2021-08-06 10:03:03 +02:00
Dmitry Tantsur 9fb5be3482 Stop testing the iscsi deploy interface
Change-Id: I3eb14c2a5c489fff684f60a710b17b1c0b48a016
2021-04-30 17:05:29 +02:00
OpenStack Release Bot fb8b6c1c1e 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: I83237b5ca29ce1bec73e659381b134cc5c9844e0
2021-03-18 10:21:46 +00:00
Riccardo Pittau 0bbba8e62f Remove lower-constraints job
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.

Change-Id: Iab279c57676dba8faa87ab7523e577d3b65eb428
2020-12-15 18:44:24 +01:00
OpenStack Release Bot 715e5c29c5 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: I4b15e97a751deb0d70187ee4e5469c4b42881710
2020-09-03 16:22:44 +00:00
OpenStack Release Bot 75800bee57 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: Ie25ee9ab1f615ff946b3c9b0b789ddc47870941a
2020-04-10 11:59:57 +00:00
Riccardo Pittau 0838b15f61 Convert jobs to dib
Change-Id: Ie9fe810b639d60caf03d972eb966b2ab8401501a
2020-04-07 09:34:14 +02:00
Iury Gregory Melo Ferreira 6bb4f81c46 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ironic-lib 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://review.opendev.org/#/c/691178/

Change-Id: Idfa5afedb607c99c34ff4a07594f698c9bd3bed8
2019-11-22 14:10:45 +01:00
Iury Gregory Melo Ferreira 5b80af8a51 Fix Jobs
- Remove unused ironic-python-agent-build-image-coreos
- Fix typo on tinyipa job name on post.

Change-Id: Iaff62b407a61ebc6f4f0c12fd84979d33803a3e9
2019-11-20 16:16:51 +01:00
Iury Gregory Melo Ferreira d95114eef7 Add equivalent py3 jobs
This patch adds two new py3 jobs to cover the following py2 jobs:
- ironic-lib-partition-bios-ipmi-direct-tinyipa-src-python2
- ironic-lib-wholedisk-bios-ipmi-direct-tinyipa-src-python2

Also dropping unecessary variable `USE_PYTHON3` in the base job
that uses ironic-base.

Change-Id: Ib35683896f909a9cd88f88bb8170d8cde74364bd
2019-11-01 15:05:04 +01:00
Iury Gregory Melo Ferreira 6cba73a820 Switch to Ussuri job
Change-Id: I779bd55b11c3b719f96fa4e071588634afefa74b
2019-10-21 16:30:00 +02:00
Kaifeng Wang 04d9ebf605 Update Python 3 test runtimes for Train
One of train goals to have consistent python3 jobs.

https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I6ed1ec6c6b0e833fddc68e2931be053c8880fd65
2019-06-13 11:32:50 +08:00
Ghanshyam Mann 782d58e0cf 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: I0ddf941773729e7de8a7f8cb7487aa147378cbdc
2019-04-14 22:17:44 +00:00
Corey Bryant ade80eedd0 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: Id18639cc42b727c9e7fa3a3f00c36fe78fd23ea1
Story: #2004073
Task: #27420
2019-02-14 23:44:22 -05:00
Dmitry Tantsur c5d6e474c0 Build ironic-python-agent images on merging ironic-lib patches
ironic-lib contains big parts of IPA logic, so it makes sense to rebuild
the published images on commits here.

Change-Id: Iebbc60e05aaabd7c892f3ce71d145d821fd3be74
2019-01-14 11:54:03 +01:00
Julia Kreger 554e4ab37c zuul-ify ironic-lib jobs
Change-Id: I2f39305b6398de1a098f3a0e446444b6d1a9d12e
2018-11-27 06:16:06 -08:00
Andreas Jaeger 712da6c465 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: I96e399ecb52b3d6da174e7aa3149da40779be48c
2018-09-22 17:47:04 +02:00
Doug Hellmann 03accb9e49 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: Ic3327e006113b6081359a2f53f0844e20a93cdfd
Story: #2002586
Task: #24302
2018-08-16 09:44:53 -04:00
Doug Hellmann 438de1f957 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: I2e50927b8c0abcf972310a1e9b974c2b4eedbc9f
Story: #2002586
Task: #24302
2018-08-16 09:44:47 -04:00
Doug Hellmann 67746ac059 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: I5663dcb96f3208c6dc5b8a04012666325ffe571a
Story: #2002586
Task: #24302
2018-08-16 09:42:29 -04:00
Doug Hellmann 4270bbe4e9 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: I7b1a6743bea281fc8c75fd8ad062973c51539670
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 13:45:20 -04:00
Zuul 26d755e8c4 Merge "Zuul: Remove project name" 2018-01-29 23:55:26 +00:00
James E. Blair 7ff76e91f9 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: I1d90ac4c196a61a3801c3062c38f4aed1d86a699
2018-01-27 10:56:05 -08:00
John L. Villalovos 1873778cfb Use the 'ironic' queue for the gate
When doing the 'gate' build have the ironic-lib jobs be part of the
'ironic' queue. More information on this is in [1]. The benefit of
this is that we are only impacted by ironic projects if we do this.

From [1]:
Pipelines which use the dependent pipeline manager maintain separate
queues for groups of projects. When Zuul serializes a set of changes
which represent future potential project states, it must know about
all of the projects within Zuul which may have an effect on the
outcome of the jobs it runs. If project A uses project B as a library,
then Zuul must be told about that relationship so that it knows to
serialize changes to A and B together, so that it does not merge a
change to B while it is testing a change to A.

[1] https://docs.openstack.org/infra/zuul/feature/zuulv3/user/config.html

Change-Id: I8d99ef25b83ca05534a6392b83406fe76ce5cf5b
2018-01-25 08:52:39 -08:00
John L. Villalovos bff1d93438 zuul: Centralize irrelevant-files in legacy-ironic-lib-dsvm-base
Create a new base job: legacy-ironic-lib-dsvm-base

Define 'irrelevant-files' in legacy-ironic-lib-dsvm-base and remove
them from project.yaml. This means we only define 'irrelevant-files'
once. Also makes project.yaml much easier to read.

Fix the 'irrelevant-files' section to make sure we do test when
changes are made to 'requirements.txt'.

Sort the jobs lists in project.yaml.

Change-Id: I0534be1ff4ac4d3d2e40f282966683c7b60fc7ba
2017-11-13 08:36:48 -08:00
Vasyl Saienko 4af7a97fca Move openstack-tox-cover job to project config
The job is mentioned on Project Testing Interface (PTI)
https://governance.openstack.org/tc/reference/project-testing-interface.html
It should stay in project-config accroding to:
https://docs.openstack.org/infra/manual/zuulv3.html#what-not-to-convert

Change-Id: I93aebf064fd907bf5c724ca750db44125c11b6a1
2017-10-27 11:21:18 +03:00
Vladyslav Drok 5ab2d5c67a Move legacy ironic-lib jobs in-tree
This patch moves the legacy ironic-lib CI jobs into the ironic-lib
tree instead of storing them in openstack-infra/openstack-zuul-jobs
to give us control as we migrate the legacy jobs to the new ansible
roles.

Change-Id: Id9b0c22b73135ca0e9a952e909e8295550ad899f
2017-10-24 14:55:47 +03:00