1450 Commits

Author SHA1 Message Date
Zuul
3d146fbbd3 Merge "Add missing unit tests for provision state commands" 2021-06-11 16:39:56 +00:00
likui
8bf8769f2d Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I41dac340cf679b86825638f56de8ef9999cfb3ff
2021-06-04 09:20:16 +08:00
Zuul
c5d1c6e2b0 Merge "Update project conundrum related docs" 2021-06-03 17:45:49 +00:00
Zuul
a9e3b32339 Merge "Switch testing to Xena testing runtime" 2021-05-31 11:08:35 +00:00
Riccardo Pittau
dd9ff8cda6 Update project conundrum related docs
Yes, project conundrum is a code-name for our transition to OFTC
as we do not want to put anything into freenode IRC which may abruptly
result in the channel being siezed or shutdown by the new
owners/operators of freenode

Change-Id: Ic4bfd0e5cfa8327d2832d4dbdd7c81348e1ef46f
See: http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022718.html
2021-05-31 09:08:42 +00:00
Zuul
8c2b802e5c Merge "Add Python3 xena unit tests" 2021-05-28 11:29:26 +00:00
XinxinShen
666648b9c1 Switch testing to Xena testing runtime
Updating the tetsing template to Xena testing runtime:
https://governance.openstack.org/tc/reference/runtimes/xena.html

Change-Id: I2e110291242568875937b10c2b13cb138af23ba7
2021-05-28 17:06:56 +08:00
likui
384bd6ec39 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I259f4d64f97a47676a756bba6ae8660e55dd45d1
2021-05-13 09:59:32 +08:00
Zuul
d8d1269f8f Merge "Make baremetal --debug actually work" 2021-03-25 04:22:14 +00:00
Zuul
2bd45d9b0c Merge "Fix --fields network_data" 2021-03-22 17:19:11 +00:00
Dmitry Tantsur
4a22f29f1e Make baremetal --debug actually work
The --debug option exists but does nothing. Wire in openstacksdk logging
and make sure ironicclient can log as well.

Change-Id: I136503f546be2ecbd3203ee07597df59a40a594e
2021-03-22 13:04:55 +00:00
Dmitry Tantsur
ac718d5902 Fix the functional tests
We somehow manage to merge a patch that breaks them. Import the required
code from change Ibb8c4676f653c36978bd0c9815ddf7eb80fa8670.

Make sure we run functional tests on ironicclient/tests changes.

Change-Id: I94e2b3d9ae669f2522f42879dd3ee3bd78b73c77
Co-Authored-By: Kyrylo Romanenko <kromanenko@mirantis.com>
2021-03-19 15:50:54 +01:00
9f738c44b2 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: I5b9a7ee97e0d97f4711aaf07fd548655f99fb07d
2021-03-18 10:26:09 +00:00
70143bc5ee Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I5e1fcf674f4576ff1e1ffec23cd2d363b6ce45e0
2021-03-18 10:26:04 +00:00
Dmitry Tantsur
be2f1164c1 Fix --fields network_data
Change-Id: Id1c6f1a69161e3ddbb83c9229aa9be84a0c8c02d
2021-03-17 16:20:49 +01:00
Zuul
59ffddd2e5 Merge "Add tests for 'baremetal port create' command" 2021-03-01 15:35:15 +00:00
Zuul
891192ca2b Merge "Support YAML files wherever JSON files are accepted" 2021-02-17 15:50:58 +00:00
Dmitry Tantsur
b3e955971c Clearer error message when unable to parse JSON
Using a non-existing file currently results in a cryptic message.

Change-Id: I0489380d3a3ac1c9286e754c488df68f2b85c22f
2021-02-16 19:38:28 +01:00
Dmitry Tantsur
229c4927f1 Support YAML files wherever JSON files are accepted
Change-Id: I98ca7ee19399dfa0499c5db71257dddb64a3cf61
2021-02-16 16:38:28 +01:00
Tang Chen
eac4058d9a Add missing unit tests for provision state commands
There are several missing unit tests for provision state
commands. This patch adds them.

Change-Id: Ie5b08f682f3cb8fbc5016cb02e689bb1934798f3
2021-02-12 17:45:21 +01:00
Zuul
17856e5d9f Merge "Add 'deploy steps' for provisioning API" 2021-02-12 16:02:01 +00:00
Riccardo Pittau
1e02b3e5eb Update minversion of tox
The minimum version since when tox accepts having inline comments
in deps is 3.9.0

https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17

Change-Id: I4915b3898ca8b5e88b5b0114c9e83475223d50bf
2021-01-22 10:09:01 +01:00
Aija Jauntēva
8df29e00a2 Add 'deploy steps' for provisioning API
Story: 2008043
Task: 41409
Depends-On: https://review.opendev.org/c/openstack/ironic/+/768353
Change-Id: I6adffcf304ca090ff551280f3ec4c9d09a5537d8
2021-01-13 08:27:20 -05:00
Zuul
2ade8869ad Merge "Move pep8 dependencies from test-requirements to tox.ini" 2021-01-06 11:10:12 +00:00
Zuul
634f17d977 Merge "Add PyPi link to readme.rst" 2021-01-04 18:10:05 +00:00
liushuobj
aba663fe6f Add PyPi link to readme.rst
Change-Id: I73da9d013a54d3730a9edde33271cb1a1fca481a
2021-01-03 11:20:52 +08:00
Dmitry Tantsur
c94eaae83b Support setting automated_clean to False
Change-Id: I683d3e2342142d6c87c4b270ccaf82445d22e9ef
2020-12-23 17:25:46 +01:00
Riccardo Pittau
1db6aef707 Move pep8 dependencies from test-requirements to tox.ini
They're not needed there and are hard to constraint properly.

Change-Id: I2d9dee3dc2299656f305559145f7801b25ef30f3
2020-12-23 12:13:40 +00:00
likui
ceceb3ffee remove lower-constraints job tox.ini
Change-Id: Ie33de4a045de20eae35f90e07ccc2df745dc67d5
2020-12-20 10:43:47 +08:00
Riccardo Pittau
7fb95d341c Remove lower-constraints job
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.

Also fix functional tests.

Change-Id: Iafad733ac813da65ceb1864cb24af65e924732b7
2020-12-16 14:42:28 +01:00
likui
6249fc0219 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

-https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: Ifc5d324e988f0e7d1fb9ce7b312fe2f6509894bb
2020-11-12 09:27:05 +08:00
Zuul
2cc16ea21e Merge "Update create node from file example" 2020-10-23 15:29:55 +00:00
Julia Kreger
f9d05c7123 Update create node from file example
The file was out of date with the removed *_ipmitool drivers
and the driver_info field which should be posted on node creation
to the API.

Change-Id: I18ece4f2472a0aced2874992c18a8871665f9621
2020-10-21 11:44:44 -07:00
Riccardo Pittau
c1722818e5 Set safe version of hacking
Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.

Change-Id: I3b8e667d0693250d5e5b94874b701f5419990c80
2020-10-19 13:41:14 +00:00
Zuul
4b766d6124 Merge "requirements: Drop os-testr" 2020-10-07 09:30:11 +00:00
Zuul
e2f88cf08e Merge "Remove install unnecessary packages" 2020-10-07 08:14:24 +00:00
maaoyu
0e4a23393f Remove install unnecessary packages
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: Ia6ed4853f4fae465e102ce93ad39ee915cc02847
2020-09-24 11:03:11 +08:00
wu.shiming
fa2c95f3a7 requirements: Drop os-testr
We've switched to stestr.

Change-Id: I768ae840c850a5b6df38a7f2abf5780d7711b303
2020-09-22 11:55:54 +08:00
Zuul
a5485dc29f Merge "Add Python3 wallaby unit tests" 2020-09-21 22:13:08 +00:00
wu.shiming
c09eec0025 Remove install unnecessary packages
The docs and releasenotes requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: I54a26bb71ee99ef3de110b2c7cb508218f4cff83
2020-09-14 14:05:00 +08:00
Ghanshyam Mann
847479184c Fix l-c job
Bumping few lower constraints to pass it on Focal
node.

Change-Id: I8dd649c9ecc313590248cdc301c0a15edb63f409
2020-09-11 17:58:28 +00:00
f412b4f8dd 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: Ia2ad7f169cb3920cc0decc24facc21bfb1c8e0a3
2020-09-09 16:36:21 +00:00
127eaf551d Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I438199e52a670d748841e8189b089471f13eb10a
Sem-Ver: feature
2020-09-09 16:36:19 +00:00
Kyrylo Romanenko
f8af1df9e6 Add tests for 'baremetal port create' command
Add tests for options:
    --extra
    --pxe-enabled
    --local-link-connection

Change-Id: Idf70f8b24df6439a6a4ece9c840d904a4bcb8a8a
Partial-Bug: #1566329
2020-09-08 08:36:40 +00:00
Zuul
e381a8b0c3 Merge "Remove Babel requirement" 2020-09-07 15:41:45 +00:00
Zuul
4da3900293 Merge "Add release note regarding global_request_id" 2020-08-24 15:51:04 +00:00
Zuul
15730ad9a5 Merge "Allow to pass global request id for remaining objects" 2020-08-24 15:50:58 +00:00
wu.chunyang
d21e0fa60b Remove Babel requirement
Babel is not needed as requirement, remove it.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: Id6e22f7404db0fe36b3e3b3b5acec391b5aa65cf
2020-08-24 22:37:12 +08:00
Vladyslav Drok
7fc6f659bd Fix expected exception message in one test
It seems to have changed recently.

Change-Id: Ie84f5d9c3d657a49d4c443efdd695d69f5150142
2020-08-12 14:21:50 +03:00
Riccardo Pittau
42514bef11 Set min version of tox to 3.2.1
As recommended, since version 3.2.0 tox switches pip invocations
to use the module -m pip instead of direct invocation.
We set min version to 3.2.1 [1] to also fix the behavior of
--parallel--safe-build

[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-2-1-2018-08-10

Change-Id: I5101dcffa0ea9d44507d25b1a8519d710404deb3
2020-07-15 15:31:46 +02:00