377 Commits

Author SHA1 Message Date
Takashi Kajinami
a3b1787090 CentOS: Deprecate the stream parameter
... because now only CentOS Steam 9 is supported.

Change-Id: I9d39f23159505cec8fbcdd055e6c1fed4b995115
2022-06-12 01:28:35 +09:00
Takashi Kajinami
41f06f8f7b cs9: Fix URL for OpenStack packages
CentOS Stream 9 packages are hosted at mirror.stream.centos.org instead
of mirror.centos.org. Also the directory structure is a bit different
in the new mirror server.

Closes-Bug: #1978332
Change-Id: Ie8436a527fc308b70a7c3b34fb86a32604f836ff
2022-06-10 17:50:15 +00:00
Takashi Kajinami
351cd24276 CentOS: Switch to yoga release
Change-Id: I77f2b1e229dc9b6cd84bc0dddcfbf9582b7312dc
2022-06-10 17:49:34 +00:00
Takashi Kajinami
7c456d4b69 cs9: Do not enable advanced virtualization repository
The advanced virtualization repository is not available for CentOS
Stream 9. This change disables the repository by default accordingly.

Closes-Bug: #1969484
Change-Id: If888cf4f37a625f54ba89ae40a4f30e76c11987e
2022-04-22 06:56:49 +00:00
8c28d01753 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: Ib9cebeadc574bd226139805bf00bc26de4af4cc3
2022-04-05 09:13:27 +00:00
Jiri Podivin
25da23bdd2 setuptools: Disable auto discovery
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: I80ec5176113aa0c5cee7d56038d08e51ac21e89a
20.3.0
2022-03-29 10:40:46 +02:00
Takashi Kajinami
403539b5bf Prepare Yoga RC1
Change-Id: Ib5eeac62a2e29131f96ded6e24c966119a7ae1da
2022-03-12 00:17:45 +09:00
Takashi Kajinami
17d55eb0d6 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: I0df137415b804b390fee5579c5e4ab1147a065fa
Co-Authored-By: LiZekun <2954674728@qq.com>
2022-03-08 09:20:40 +09:00
ZhongShengping
501185e2ff Prepare Yoga M3
Update the version metadata for Yoga milestone M3

Change-Id: Ia199fcceca0e5aeed83d05fa6774565a50c19b41
20.2.0
2022-02-27 13:18:11 +00:00
Takashi Kajinami
4103a99169 Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: I49098fc8026d2099c82f8879d846b41b4b22ee2e
2022-02-23 01:28:51 +09:00
Takashi Kajinami
0271adfc05 Use stable/xena release by default
... instead of old stable/victoria.

Change-Id: I29d6a3043260a3258266b87ca50bcc90befb42ee
2022-02-06 01:23:30 +09:00
ZhongShengping
04ced48a76 Prepare Yoga M2
Update the version metadata for Yoga milestone M2

Change-Id: I04ab9588e03f2733e9de1428bfd5a29148a15814
20.1.0
2022-01-07 14:22:12 +00:00
Takashi Kajinami
cdbf9e1ebf auth_file: Clean up deprecated *_domain parameters
... because these were deprecated during Ussuri cycle.

Change-Id: I59220d576e37af99a3f9fb87c94dfe3433c6661b
2021-12-13 22:21:15 +09:00
Takashi Kajinami
442b40fd58 auth_file: Deprecate tenant_name parameter
... in favor of the project_name parameter which replaces it.

Change-Id: Ia27302d695a69a5d23ccb03b54f88eff18ed3e3f
2021-12-13 22:17:08 +09:00
Takashi Kajinami
27859a65f3 Bump version for the start of Yoga
Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: I61c4cdd6d368ff2d4c4b11c5555ba0c1a37b8d32
20.0.0
2021-10-11 11:41:39 +09:00
679dc374b2 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: I1657a5f27788d42d3f3957fa6deffb94880c899a
2021-10-07 08:26:42 +00:00
ZhongShengping
c342e68300 Add information technology in the setup.cfg
Change-Id: I7f73cfdb5c2d435a839c5a8466c485495fb625d7
19.4.0
2021-10-01 06:54:49 +08:00
ZhongShengping
c8db5e63c1 Add license information in the setup.cfg
Change-Id: I804424cce281519666ab88bdc5f1956ef2c1c15e
2021-09-30 16:48:13 +08:00
ZhongShengping
152ab0a855 Delete useless code for setup.py
Change-Id: Ied8f1721b698b67baa0c59faf0822dd7be497f7c
2021-09-30 13:38:33 +08:00
Zuul
02ba236c55 Merge "Fix pbr>=2.0.0 for setup.py" 2021-09-29 09:08:21 +00:00
ZhongShengping
ad2a53ded4 Fix pbr>=2.0.0 for setup.py
Change-Id: Ie52ee6fd87fa258e2736cd298483ee10bb238a24
2021-09-29 16:37:10 +08:00
ZhongShengping
106162c3fa Update openstackdocstheme to the latest version
Change-Id: I7892c76162bac481fec4418c72238a554b0dfb4a
2021-09-29 16:06:50 +08:00
ZhongShengping
b46c40cdaf Update reno to the latest version
Change-Id: I03225b89f5ca4e5679dbf33b9cdb905a6ac1d50e
2021-09-28 17:14:35 +08:00
ZhongShengping
429b94860b 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: I00ef3ae716706b4b2b7d522a9ab59aeccbc73263
2021-09-23 19:44:22 +08:00
ZhongShengping
6aa5a49c9d Prepare Xena RC1
Update the version metadata for Xena milestone RC1

Change-Id: I46f2e7a8d55d21432f153e83370524eedb072602
2021-09-17 17:36:10 +08:00
ZhongShengping
f796d50b1f Prepare Xena M3
Update the version metadata for Xena milestone M3

Change-Id: I428012d4897fbd26b984f7c9c76ceafe078e515e
19.3.0
2021-09-06 15:32:08 +08:00
Takashi Kajinami
5e445fea36 Support Puppet 7
Puppet 7 has been tested in CI for a while but we haven't seen any
issue with it. Let's officially support the version.

Change-Id: I48711627f3a377bd0fc520b1a20bc471f42f5bd8
2021-08-16 18:09:55 +09:00
ZhongShengping
ea1ee689cc Prepare Xena M2
Update the version metadata for Xena milestone M2

Change-Id: I73c3ef23323545b99cc69f536776a1ae98db9666
19.2.0
2021-07-26 19:03:47 +08:00
Takashi Kajinami
33140bff9b Drop Fedora support
Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.

Change-Id: I4ca4c8b93a81e5146f28f2bdf152882e737be0bf
19.1.0
2021-06-13 00:12:40 +09:00
Tobias Urdin
ad70eae45b Set module_hotfixes=true for yumrepo if Puppet >= 6.15.0
The RDO and CentOS Advanced Virt repositories contains
packages that should be considered hotfixes to version
found in Base repo and similar and should have priority
over them.

The yumrepo_core [1] change that was released in 1.0.7
adds the module_hotfixes parameter to yumrepo and it's
included in Puppet >= 6.15.0 which we should set to true
to make sure packages in RDO and CentOS Advanced Virt
repos is considered hotfixes upon base packages.

When we only support Puppet 7 and forward we should set
this by default for the yumrepo resources.

[1] a14c059b7d

Depends-On: https://review.opendev.org/c/792966
Change-Id: Ie747273e2ce23fadba0f3946e227ee143c1632db
2021-06-04 07:39:08 +00:00
Zuul
bf93facef3 Merge "Set fixture paths for unit tests" 2021-06-03 00:55:10 +00:00
Takashi Kajinami
c8e5cfb7b3 Set fixture paths for unit tests
This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.

Closes-Bug: #1930403
Change-Id: I553db674fe84522f9d04714925ceec3655b81292
2021-06-02 14:11:59 +09:00
ZhongShengping
8e2a7bf1fa Prepare Xena M1
Update the version metadata for Xena milestone M1

Change-Id: I2181ad745ccf7b299aabc0a66f4b4dba8e59e7cb
2021-05-27 15:50:27 +08:00
Thomas Goirand
600175a415 Break extrepo dependency loop
This breaks the dependency loop introduced earlier on.

Change-Id: I2a943a7759152a37c42281fab8e7046125a42b20
19.0.0
2021-05-17 21:37:58 +02:00
Zuul
db3335ca96 Merge "setup.cfg: Replace dashes with underscores" 2021-05-17 17:49:26 +00:00
Thomas Goirand
3e39231478 Fix calling extrepo
We should use the full path, not just "extrepo", otherwise, we get
a puppet error:

"failed: 'extrepo' is not qualified and no path was specified.
Please qualify the command or specify a path."

Change-Id: Iac40476e073f22bdb997b9f56824aa19d6f61505
2021-05-17 09:54:14 +02:00
YuehuiLei
ceb8a59626 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: I924b0e3cbdc77be22119f793e8730e2d2fab8e4a
2021-05-12 09:14:55 +08:00
Zuul
8dd6e0ea98 Merge "Rename rdo-qemu-ev repo to centos-advanced-virt" 2021-05-02 13:20:24 +00:00
Zuul
8882469677 Merge "Cleanup RedHat repo" 2021-05-02 13:04:05 +00:00
Zuul
c6605f5c9d Merge "Debian: use extrepo for setting-up the repositories" 2021-04-29 21:31:30 +00:00
Tobias Urdin
655fa83e4d Rename rdo-qemu-ev repo to centos-advanced-virt
Change-Id: I5c6867be7432f1a90410911325aeb8dcda74b19f
2021-04-29 15:14:24 +02:00
Tobias Urdin
edf439e71c Cleanup RedHat repo
Remove old compatibility code for CentOS 7,
cleanup code and made it more logical and easier
to read. Rework all testing so we test everything.

Change-Id: Ia8564dec7da0c19fe1d0f45fba7ba5f21238aa4a
2021-04-29 15:06:37 +02:00
ZhongShengping
f1a0504d17 Bump version for the start of Xena
Bump the major version for the Xena release after Wallaby has
been branched.

Change-Id: Idfdd8bf101aaba8110debde55d68359f25a82c55
2021-04-29 09:38:15 +08:00
Tobias Urdin
cf8b734766 Update stream parameter default to true
Change-Id: Ia2787b432ae76f99f10f98791832b50838ac3171
2021-04-28 11:14:09 +02:00
Thomas Goirand
c8fabb628c Debian: use extrepo for setting-up the repositories
The old method used in manifests/repo/debian/debian.pp that was
using apt-key is currently deprecated. apt-key itself is going
to be removed in 2021. Also, downloading a random repository key
from the internet is questionable at least.

So I'm switching to use extrepo by default for setting-up the
Debian repositories. It's nice, it's official, and it's in
Bullseye already. It also is authenticated by default, and supports
additional repositories (so it's prepared for the future).

Change-Id: I7686a1cf541c81a9a14ef05542e31053c47e3f51
2021-04-27 16:07:22 +02:00
Tobias Urdin
3ecddc5926 Add stream parameter to openstack_extras::repo::redhat::redhat
Change-Id: I66bbc9c84a309da451748734f23f43d4f4277cc1
2021-04-27 11:29:36 +02:00
Zuul
7e74f6914e Merge "Bump dependency in metadata.json" 2021-04-13 09:38:14 +00:00
Tobias Urdin
31bb7eab7e Bump dependency in metadata.json
This bumps the dependency in metadata.json based on
then new major versions that is tested when [1] is merged.

[1]
https://review.opendev.org/c/openstack/puppet-openstack-integration/+/778138

Change-Id: I7949e1a6ada866d8aa5cdae09d8b508f1802374b
2021-04-08 21:05:07 +02:00
5cae93b297 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: I56bab31f99f95031009f373431afe095bd6c51c5
2021-04-01 09:26:48 +00:00
Zuul
cb1eef5748 Merge "metadata.json: debian 11" 2021-03-31 07:00:50 +00:00