Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I43293d05c9411a5b08bd661b4d2ee4a561952737
The modification is no longer required since [1] was merged.
[1] ce0ca3e42b0bc30ace835d5e9e98491a1fdca105
Change-Id: Ic1ec1a36fc8195a37204107cdf2dc707ec31e013
The bundler library has been pinned to 2.2.11 but this is quite old.
This attempts to remove that pin and use the latest version instead.
Change-Id: I1bdbfed38941c26ea17d2c595b6d8b1968b8c376
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Iecde2eaf4454928f1622df3a377d6d3a8a1447dc
The latest release puppet-lint contained the fix in the logic to parse
interpolations in strings, which triggered the following lint warnings
in multiple modules.
WARNING: unsafe interpolation of variable 'foo' in exec command
This disables the lint check as a short-term fix in master as well as
stable branches. The check will be restored once the error is addressed
in master.
Change-Id: I7c4fea1d1f5ca1132f922d560c04daa4ac50e3db
We've seen the following warning in CI jobs.
```
[DEPRECATED] The `--without` flag is deprecated because it relies on
being remembered across bundler invocations, which bundler will no
longer do in future versions. Instead please use `bundle config set
--local without 'system_tests'`, and stop using this flag
```
This updates the usage accordingly.
Change-Id: I7fe6fe62d1ab6b7d365cc730ce3cacfb7c5b2536
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Iccf41f9f1526606d1fec4b2eca38f7fde1685b87
This fact has been injected in mutliple spec files. Let's inject it in
a single place so reduce logics in individual spec files.
Depends-on: https://review.opendev.org/c/openstack/puppet-nova/+/876011
Change-Id: Ice931156dfd38b03699c022fe53e3d4898eeb19c
... to adapt to the latest version.
Note this also bumps puppetlabs_spec_helper to 5.x which now uses
rspec-mocks instead of mocha by default.
Change-Id: I48a160a5171397f8446909df1cbb0d6766c906b1
The library was pinned due to Ruby 2.6 in CentOS 8[1], but we no longer
use this os version in our tests.
[1] 58526da21b
Change-Id: If0c76ea2772dccecdaca25414d00a5b438faab8a
We need rspec-puppet ~> 2.10.0 to run it with Ruby 3. We now explicitly
disable strict variable check[1] so no need to pin it to that old
version.
[1] 091457724459f8047411d0dbafc4cf434081dafb
Change-Id: I182c327e54317984217cdb4b4397a51a3fedfd74
The new puppet 7.22.0 was released and this is compatible with
the latest concurrent-ruby. As we bumped the puppet version in master
CI, we no longer need this pin in master.
Related-Bug: #2003761
Depends-on: https://review.opendev.org/871957
Change-Id: Iadd6bc25bda4e537891c551d33071e31e8e0f1fb
The library litmus jobs are now fixed and can be enabled.
Depends-on: https://review.opendev.org/871445/
Change-Id: Ia043588a52e7bb6cd2903938fabea0de51efa5a4
concurrent-ruby 1.2.0 dropped the implementation which puppet still
relies on. Let's pin it to the older version to fix the broken tests
with old and current puppet versions.
This temporally disables library tests, mainly because the library
litmus jobs are currently failing with the following error. We later
enables these tests after we fix the missing variable.
~~~
The task includes an option with an undefined variable. The error was:
'ceph' is undefined
~~~
Closes-Bug: #2003761
Change-Id: Id47cd5cc12a301d19bf0941c8a9dbabd13fab568
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: Ic98652b199b0162c0b7e0981f9a8619f148abb56
The library was introduced so that we can add etcd support to
openstacklib[1] but the feature has never been implemented actually.
This removes the library because it has not really used and having more
libraries is likely to cause additional compatibility issue in stable
branches.
[1] bcd38a6543
Change-Id: I462c3c4227bd464b5ba57113b9d7da03dd829616
This reverts commit 57e6de9985.
Reason for revert:
The new bolt 3.23.0, which is compatible with Ruby 3, was released.
Change-Id: I306110131000cc29b58e0c2a8f17037286b8004b
... because RDO no longer supports CentOS 8 Stream since Zed. OpenStack
is globally removing support for Python 3.6 and 3.7 and no longer works
with CentOS 8 Stream which has Python 3.6.
Depends-on: https://review.opendev.org/836947
Change-Id: If0aa0a754e2cceac97454dcef0bf81d0d0bcce35
The latest version of bolt (3.22.1[1] at the time of writing) does not
support Ruby 3 yet. Ruby 3 is already available in CentOS Stream 9 and
this is currently causing failure during `gem install`.
This change excludes litmus and bolt when Ruby 3 is installed so that
unit tests can be executed in CentOS Stream 9.
[1] https://rubygems.org/gems/bolt/versions/3.22.1
Change-Id: I2ca0b9ae0c4b7c930b9f67b68643d8905bfecab0
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I5849fb57f7fd5d7d434e886cf9f9f886b3b9112f
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.
~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~
Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
[1] https://github.com/pypa/setuptools/issues/3197
Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ib0705b19a26e76b673c566280b82817660fa1b76
Recent puppet-openstacklib provides additional workers facts
in addition to the base $::os_worker fact.
This change ensures these facts are included in facts data during unit
tests.
Change-Id: I22d83a900f94d3506356788bf1acba4162356390
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: Ia6c22c13c91cafb7ec58043cb1735168d34c0f1a
Co-Authored-By: LiZekun <2954674728@qq.com>
The recent version of patspec requires 2.6 but this is not available in
CentOS 8.
Closes-Bug: #1962790
Change-Id: I0c3ba9707e02e163af248233a948eac2614bc277
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I8ace93654cf021e6f2eb6380edd1e41326fd3f02