Commit Graph

244 Commits

Author SHA1 Message Date
Takashi Kajinami 31aeb84bae Retire puppet-qdr: Remove Project Content
Depends-on: https://review.opendev.org/c/openstack/project-config/+/907951
Change-Id: I77f7bc94b8d1b3459c64f44f5d18d5f8c747ae4a
2024-02-22 10:46:27 +09:00
OpenStack Release Bot e349e5feba reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ib3703e96bf3c628cb76cdadd81b8e8a72622e2df
2024-02-21 16:51:09 +00:00
Takashi Kajinami 1bc79f51d5 Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.

Change-Id: I3d31f49869413404942b161711e96185fbef94ee
2023-11-18 09:26:34 +00:00
OpenStack Release Bot d66c85e971 Update master for stable/2023.2
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: I189ede45f9d8512402ef15d5cc490049c3a87274
2023-10-16 15:19:55 +00:00
Takashi Kajinami 2f71846a72 Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.

```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')

NoMethodError:
  undefined method `manifest_dir='...
```

[1] 316d95923c

Change-Id: Ia27615c204ce4c2004f4cfe7bea8ffa6b5ca325c
2023-10-11 12:08:45 +09:00
Zuul 51524c4042 Merge "Prepare 2023.2 release" 2023-10-03 17:19:56 +00:00
Takashi Kajinami 7f34676524 Prepare 2023.2 release
Change-Id: Ibf4b978449a1e0ba55cc9d35d22b3ce2f03a91f8
2023-10-03 16:40:15 +09:00
Takashi Kajinami 2fa77019cb Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.

Change-Id: I6fd58caa0c9e83d0323c803a0c8da449d5caf525
2023-10-03 13:25:23 +09:00
Takashi Kajinami dfaa45af6e replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

This also adds type definitions for all parameters, to avoid errors
in template rendering or rendering invalid content.

Change-Id: I5eedfe2ec4a192234226740ec410dd31cf941e85
2023-09-04 13:47:06 +09:00
Zuul 6774826f56 Merge "Replace integration job by litmus job" 2023-08-16 07:24:46 +00:00
Takashi Kajinami 93637c83d3 Replace integration job by litmus job
qpid dispatch router is no longer tested in integration tests, because
the amqp1 driver has been deprecated. This replaces the integration
tests by litmus tests so that we can keep testing basic deployment
functionality.

Depneds-on: https://review.opendev.org/891326
Change-Id: I3e231fa5a8ec626b0929bc2564a82aad954659b1
2023-08-15 19:37:52 +09:00
Takashi Kajinami 5e98365879 Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: I4e2dd56f6cbd75377976fe77dace7777eabd28f4
2023-08-11 17:59:02 +09:00
Zuul dd05b021d9 Merge "Add .pdkignore to exclude some files from tar ball" 2023-08-10 16:07:00 +00:00
Takashi Kajinami b6b2f762ed Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.

Let's exclude these files to reduce size of the archive.

The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.

Change-Id: I1e103fdd129a17df8594f2caf66577d6fbaee4d4
2023-08-11 00:51:43 +09:00
Takashi Kajinami b50afaee83 Fix wrong default value of qdr::router_worker_threads
The default should match processor counts instead of os_worker fact.
This module does not depend on openstacklib so we should not use
the fact provided that module.

Closes-Bug: #2023371
Change-Id: I534f29d75046a854a54b4c07cfb5757bfd39dd92
2023-08-02 14:04:04 +09:00
Takashi Kajinami d8afefaa60 Ensure tools packages are installed
This adds the unit test case to ensure tools packages are installed
as expected.

Change-Id: I2a34f54c2fac93f1997df8b8a3d626bcff1c0aab
2023-07-13 18:17:24 +09:00
Zuul d78a346455 Merge "Replace deprecated Stdlib::Compat::Integer" 2023-05-31 15:24:50 +00:00
Zuul cb8ac72542 Merge "Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path"" 2023-05-31 15:24:49 +00:00
Takashi Kajinami 78d889e7c3 Replace deprecated Stdlib::Compat::Integer
All Stdlib::Compat::* types were removed in the latest stdlib[1].

[1] fcbd4267fd

Change-Id: Ie8532960aad01054ee5e255df61d1d0970e8a566
2023-05-31 12:42:09 +09:00
Takashi Kajinami d729093de0 Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path"
This reverts commit 9a7a6c3f43.

Reason for revert:
Stdlib::Absolutepath has never been deprecated, but
Stdlib::Compat::Absolute_path was deprecated. The latest stdlib
removed all Stdlib::Compat::* types[1].

[1] fcbd4267fd

Change-Id: I657c74d476b34fbb3e15229f48440dbbdbde8402
2023-05-31 03:39:54 +00:00
Takashi Kajinami 1c0d6f19e8 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I61eaa417118072a79e5e1192b96d0854c2a7bbb9
2023-05-22 12:29:47 +09:00
Joel Capitao 9a7a6c3f43 Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path
The Stdlib::Absolutepath which was deprecated 4 years ago is
now removed since [1]. We replace it by the
Stdlib::Compat::Absolute_path [2] data type which contains the
same functions "is_absolute_path" and "validate_absolute_path".

[1] https://github.com/puppetlabs/puppetlabs-stdlib/pull/1324
[2] https://github.com/puppetlabs/puppetlabs-stdlib/blob/main/REFERENCE.md#Stdlib--Compat--Absolute_path

Change-Id: Iec51d93025702a40b2f2be45a655eded125f1ab5
2023-05-05 10:12:21 +02:00
OpenStack Release Bot a8db45d02d Update master for stable/2023.1
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: I95cffa95b447002e84bbb6faefa927da3b71161d
2023-04-05 15:35:30 +00:00
Takashi Kajinami ea73f3bcec Prepare 2023.1 release
Change-Id: Ibad076adb9f389f045bab1451f783ba1017ca338
2023-03-28 01:36:42 +00:00
Takashi Kajinami 930cdd9783 Fix ignored qdr::listener_* parameters
Closes-Bug: #2012200
Change-Id: If8ec5f0e698f1b198304cec45081cb6d0bbe1676
2023-03-20 12:40:58 +09:00
Takashi Kajinami 8c1faac656 Fix ignored qdr::router_* parameters
Partial-Bug: #2012200
Change-Id: I3dcdba8e456af5b293aa3c3266489ca3dd6a4e94
2023-03-20 11:44:10 +09:00
Takashi Kajinami 3152b13eed Enable scenario001 integration test
This module is used in scenario001 which uses AQMP for rpc backend.

Change-Id: If60ba22e686bf4df8692d7c3772a479c706e65b8
2023-03-20 11:27:39 +09:00
Takashi Kajinami 537fc7c64d Enforce boolean values
Usage of truthy strings were deprecated a while ago[1]. Let's enforce
boolean values to simplify the logic.

[1] 171b6d172d

Change-Id: Ic907c99d6a956a9a168200cf61a4b211fe582d07
2023-03-17 14:57:27 +09:00
Takashi Kajinami 080edaea9e Remove logic for CentOS <= 7
... because that old version is no longer supported.

Change-Id: Ia8adfcf0f41627fec8e8dc4db67b36deecb769cb
2023-03-02 12:55:38 +09:00
Takashi Kajinami 31675bb6da Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I8c6cbf3801edac54098f0a4de51109e6cbf03913
2023-03-02 12:54:49 +09:00
Takashi Kajinami df92712653 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I419bf93d68c4c739204540da6a1624e36edd0287
2023-01-15 22:30:44 +09:00
OpenStack Release Bot e6c42648b7 Update master for stable/zed
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: I115bfb946ba1789122e01247a25d16b6e9b22bb4
2022-10-20 11:11:14 +00:00
Takashi Kajinami dfe49c7894 Prepare Zed RC1
Change-Id: I7003bc8d621c7d634e883389fd9afe0c3423869b
2022-10-05 13:11:02 +09:00
Takashi Kajinami 01245d1bae Bump upper version of puppetlabs-apt
... because now we have puppetlabs-apt 9.0.0 in CI.

Depends-on: https://review.opendev.org/853741
Change-Id: I91e99877a85d2d5b1f2096f7323fd3bd38650ab5
2022-09-07 01:28:27 +09:00
Takashi Kajinami 9235117810 Bump upper version of puppetlabs-apt
Now we are using puppetlabs-apt v8.4.1 in our CI. Let's bump the upper
version so that the constraint include that tested version.

Change-Id: I4e6307db454618cd8d12ca0ec2ad7ca1265e439e
2022-07-30 23:15:19 +09:00
Takashi Kajinami ea40583a84 Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Depends-on: https://review.opendev.org/843503
Change-Id: I1aacc020786eb53fdf962527c6aa4ba1ee647a26
2022-06-01 13:57:55 +09:00
OpenStack Release Bot 639ff96438 Update master for stable/yoga
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: I848fce4878596581e8b32526337b97dc6f7efb24
2022-04-05 09:14:42 +00:00
Takashi Kajinami 9cfa6b5f75 Prepare Yoga RC1
Change-Id: Ibd8bdf318fa099908a1dddeef2d1b979afbb7fe8
2022-03-12 00:25:18 +09:00
Zuul 3757046999 Merge "remove unicode literal from code" 2022-03-07 23:52:32 +00:00
ZhongShengping 23288b824a Prepare Yoga M3
Update the version metadata for Yoga milestone M3

Change-Id: Id611df2b68c97381df7517589aad95404986ad9c
2022-02-27 13:18:54 +00:00
LiZekun 72feaf53b7 remove unicode literal from code
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: Iee4371eb977d751e9dce471f5f12ef922e20ccfe
2022-02-23 01:56:24 +00:00
Takashi Kajinami ef02a07548 Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: I659dda0e2299ba4798d01fbbdddd65bf43f0bff0
2022-02-23 01:33:07 +09:00
ZhongShengping 01d4e1cbcd Prepare Yoga M2
Update the version metadata for Yoga milestone M2

Change-Id: I28ed67a2ce99fba2f95e4a633f0668a932b173c9
2021-12-02 14:00:37 +08:00
Takashi Kajinami 689ee38a4f Bump version for the start of Yoga
Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: Icc5c1b8e17ee3c8d335a5899cec3803a2d255ba9
2021-10-11 12:11:32 +09:00
OpenStack Release Bot 31a3fd77d2 Update master for stable/xena
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: I66f9441f817586f364d35c40d3941ec72c8216c5
2021-10-07 08:27:50 +00:00
ZhongShengping b737473979 Update openstackdocstheme to the latest version
Change-Id: I0df10f830a9f060e7fbf7c8a39063ce3f70e1a0a
2021-09-29 16:06:51 +08:00
ZhongShengping a2e2152ce6 Update reno to the latest version
Change-Id: I6ad76f8a5b6851ab2ae89028c4a36961e7280e18
2021-09-28 17:14:35 +08:00
ZhongShengping f598626834 metadata.json: debian 11
Change-Id: Ief6b2a9cc34b99f335a8896400374cff6233fe0c
2021-09-28 09:20:36 +08:00
ZhongShengping 748ed19b09 Fix stdlib version in metadata
puppetlabs-stdlib is now using the 8.0.0 version, so we should fix the
stdlib version in metadata.

Change-Id: Ic319d79cf653f9bad2dc8f560d90de9a71f446f3
2021-09-23 19:44:22 +08:00
ZhongShengping b2d2f57f7a Prepare Xena RC1
Update the version metadata for Xena milestone RC1

Change-Id: I00a5b9e382bbb173ef464b70cf3fad845ea04cd6
2021-09-17 17:36:10 +08:00