Commit Graph

100 Commits

Author SHA1 Message Date
Takashi Kajinami b772c84580 Remove puppet-sahara
... because this module is being retired now.

Change-Id: I20e4e9697e2edf2fcc4367e710cb7df1ffde577d
2024-02-28 11:05:19 +09:00
Takashi Kajinami 237d5ea587 Remove puppet-qdr
... because it's being retired now.

Depends-on: https://review.opendev.org/907986
Change-Id: I1bc0f43b1c56c04e086f367f3912a8f6320042ce
2024-02-06 10:45:52 +00:00
Takashi Kajinami 3c9e002fa9 Drop deprecated modules
puppet-panko was deprecated a while ago because panko was deprecated.

Also the whole TripleO project was deprecated and its master is no
longer maintained.

Change-Id: Ic4948a8b269294dfa1cc8810b68bc0c498d586b8
2023-10-12 23:25:51 +09:00
Takashi Kajinami aa473cfb6e Modernize tox.ini
... based on the files in each module repository.

Change-Id: I10d9ca47790d529d4aab576ce3dcaeabcd59e537
2023-10-12 23:25:51 +09:00
Takashi Kajinami 3e832ed477 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: I829d98931e4fcaeaf6c760b465bf413a8b663871
2023-10-12 23:23:04 +09:00
Takashi Kajinami 22c05355fe Remove puppet-rally
... because puppet-rally is being retired.

Change-Id: Ie1bae4c663bd981f3dd4660c17d41f8ee45007b3
2023-04-04 15:25:14 +09:00
Zuul e0554057fe Merge "Make lint job voting again" 2023-03-10 03:08:44 +00:00
Zuul 30f54ada2d Merge "Remove puppet-tacker" 2023-03-10 02:22:35 +00:00
Takashi Kajinami 2f99d1b590 Make lint job voting again
This partially reverts commit ed8026f6eb
and makes the lint job voting again, because the job has been fixed
by the dependent change.

Depends-on: https://review.opendev.org/876248
Change-Id: Ic6340f3e546408365900d3714504dfe0ed617f96
2023-03-10 10:39:05 +09:00
Takashi Kajinami ed8026f6eb Pin git to 1.14.0
Seems the latest release (1.17.2) breaks parsing in modulesync and
causes the following traceback.

/lib/modulesync/repository.rb:37:in `default_branch': undefined method
`[]' for nil:NilClass (NoMethodError)

Let's pin the package to workaround the problem until the issue is
fixed.

This makes the lint job non-voting until we merge [1], which requires
this pinning.

[1] https://review.opendev.org/876248

Change-Id: Ib6309ae8d13477eadcd4309d5be6bb7b170bfe4f
2023-03-09 06:10:37 +00:00
Takashi Kajinami e7f4df79c9 Remove puppet-tacker
... because puppet-tacker is being retired.

Change-Id: I9860c03ffc3a237f5a6745bb7b99118ec13a3529
2023-02-27 07:46:24 +00:00
Takashi Kajinami 9be7f30715 Remove retired puppet-monasca
This module was already retired[1].

[1] 44556bad7c84fcd6ba9b5302acddfb5eb18d513e

Change-Id: I80af5dc631cdef26cac15dab944197bcbe08c74a
2022-08-19 13:59:08 +09:00
Takashi Kajinami a6bdabedc7 Unpin modulesync
... to use the recent modulesync which is compatible with Ruby 3.0.

Template files are renamed according to the requirement of modulesync
>= 0.8.0[1]

[1] https://github.com/voxpupuli/modulesync/blob/master/CHANGELOG.md#2017-05-05---080

Depends-on: https://review.opendev.org/845530
Change-Id: I64552b454557f9f33f422f4d64c4c01961aef0e0
2022-08-16 14:05:12 +09:00
Takashi Kajinami 07ebbf51b9 Remove retired puppet-senlin
Depends-on: https://review.opendev.org/817324
Change-Id: I71ac753f0c4c377116773b35b8cf961d340f39e5
2021-11-10 11:27:06 +09:00
Takashi Kajinami d35f01b4d4 Remove retired puppet-freezer
Depends-on: https://review.opendev.org/808072/
Change-Id: I63ef113a320cc8ff1d8c5ee3a70e1059cfe3b48e
2021-09-13 18:05:09 +09:00
Zuul 13ece13686 Merge "Set fixture paths for unit tests" 2021-06-22 12:40:59 +00:00
Takashi Kajinami f1d509a99e 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: I48531500bfab1c1cec3c099fe178f6a41c09e534
2021-06-22 20:23:06 +09:00
Takashi Kajinami 8b3ce54808 Remove retired puppet-glare
Depends-on: https://review.opendev.org/790056
Change-Id: If4e2c534bdca0ad460729a9d6a52f958f96d3259
2021-05-07 00:02:31 +09:00
Zuul 1ff64aa944 Merge "Retire removed congress" 2020-10-28 01:20:26 +00:00
Zuul fceb720d62 Merge "Revert "Pin puppet to 5.5.x"" 2020-10-28 01:20:25 +00:00
Tobias Urdin 1f44f496a6 Remove beaker script
Change-Id: I52003946ef2e6a5883b1de0bf33cdbbc01342b51
2020-09-21 20:10:13 +02:00
Tobias Urdin 936e406f1d Change to Litmus
Depends-On: https://review.opendev.org/#/c/752300/
Change-Id: Iebbb82beefb1278fa43b1c6123c46931af8f9c2f
2020-09-19 00:15:26 +02:00
Tobias Urdin ce83c53c1d Revert "Pin puppet to 5.5.x"
This reverts commit eed5925cde.

Change-Id: I935f1b510c2c8dea076661af9108e8596ff0f616
2020-09-16 21:38:10 +00:00
Tobias Urdin 9ee011d70c Use openstack_spec_helper from zuul checkout
Change-Id: I25430f42a28da428c0b2ae25f8139fdd4c36f115
2020-08-30 23:09:11 +02:00
Tobias Urdin b7e4da8fec Retire removed congress
Change-Id: I35d4da4bd6cb23349deac73403015caa6ef5095d
2020-05-30 09:10:19 +02:00
Tobias Urdin 0f1ae5b2a9 Remove FUTURE_PARSER
Change-Id: Id671ea525b05bb7abb46faeca4a10bbd6ce27da8
2019-10-10 11:32:20 +02:00
Tobias Urdin 5b4539d1cc Remove zuul-cloner usage
Depends-On: https://review.opendev.org/#/c/667439/
Deepnds-On: https://review.opendev.org/#/c/667711/
Change-Id: I484ed57f7fc1af6edfa697bc582759bbf4d7bead
2019-06-26 20:44:01 +00:00
OpenDev Sysadmins f1c8b01b41 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:33 +00:00
Ian Wienand ed684dd740 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I894028f7e95ba3b534a07da559ad7cbd39a9f85c
2019-03-24 20:35:41 +00:00
ZhongShengping 556303602f Add missing puppet-placement to modulesync config
Change-Id: Ib39980a0d99ea43957cc72eee013bb4b500cb7b3
2018-12-13 10:06:53 +08:00
Tobias Urdin eed5925cde Pin puppet to 5.5.x
When it tries to install modulesync which depends on puppet
it will try to install puppet 6.x which will fail on CentOS 7
because of an too old puppet version.

Fixes broken CI jobs like in [1]

[1] https://review.openstack.org/#/c/614803/

Change-Id: If7b643a2994bb672b4b63a808eb033e0fa7a370b
2018-11-07 11:11:35 +01:00
ZhongShengping bcc7fee775 update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I8a427d34e2bd5bcfb5da3ee14c29a5de46995a9a
2018-10-16 11:42:42 +08:00
ZhongShengping 1a0ff13b78 Dissuade .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools. Add a comment block explaining this, for
clarity, and remove the one current editor-specific entry present.

We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks, documentation
and packaging builds, et cetera).

This change is a port of Ib58a57267b064e4142686de6c37a70dbff04b9a7
from the openstack-dev/cookiecutter repository.

Change-Id: Ib0bd7ea766a9c16b6c38be5f2a9c14b7eb05e019
2018-10-12 11:52:28 +08:00
ZhongShengping e55084cbb7 Dissuade .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools. Add a comment block explaining this, for
clarity, and remove the one current editor-specific entry present.

We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks, documentation
and packaging builds, et cetera).

This change is a port of Ib58a57267b064e4142686de6c37a70dbff04b9a7
from the openstack-dev/cookiecutter repository.

Change-Id: I386de4d757022965964df8b1231d640fde6b11bc
2018-10-08 11:54:04 +08:00
Tobias Urdin 6b213227c3 Add puppet-monasca to modulesync config
Change-Id: If4edd42570094ccd4504d7b00156b36482eb241d
2018-07-31 23:20:33 +02:00
Tobias Urdin 9a12a60a13 Support multiple nodetype library beaker tests
Change-Id: I1cae2da48c3b04964893dc2bd16c444daf6c2822
2018-07-26 13:18:20 +02:00
Tobias Urdin 3934dd54c2 Update modulesync config
All modules confirm with this now except for
the puppet-tripleo module which has some
customizations that I didn't want to override. [1]

Since puppet-tripleo doesn't support ubuntu I didn't
push the nodepool-bionic beaker file to that repo either.

[1] http://paste.openstack.org/show/726199/

Change-Id: I5e51f683047dbbf7a5f1fc5e200f40e5110e499e
2018-07-18 16:22:01 +02:00
Tobias Urdin 4494cb8145 Add missing puppet-senlin to modulesync config
Change-Id: I7dd78dfcd990e37325fd70d9bb9ed26aa0c6854c
2018-05-16 20:03:23 +02:00
huang.zhiping 35046f7112 Update links in README
Change-Id: Ib293737433a49d0c24de03c0fa9fc242f5d888a0
2018-04-28 17:00:30 +08:00
ZhongShengping cc8d128354 Update LICENSE
In order to better understand the LICENSE

Change-Id: If1c80e04943849d9d21eb26c155894c853c4cfad
Depends-On: Id1a39a34278b9727cd083d89a63ea31342a28fee
2018-04-06 20:14:42 +08:00
zhongshengping 370f7ddf83 Support puppet 4.8 and latest for libraries unit test
Change-Id: Iee3b111596a0ad344f77fd13749ce51d50681b7c
Depends-On: https://review.openstack.org/#/c/556773/
2018-03-27 16:03:17 +08:00
ZhongShengping 0673c598f3 Switch jobs to Zuul v3
Change-Id: Ib0d585cb177341b84eda3d7e36347851ba65d3a8
Depends-On: I9f4bb7c93a31b64285ab1342e8ade20320ed172a
2018-02-13 00:27:48 +00:00
ZhongShengping a6a4ed8a7c Switch puppet vertion to 4.8 for unit test
The latest puppet version of running unit test is 5.3.4. This will be
error[1]. So fix the puppet version.

[1]http://logs.openstack.org/51/543351/1/check/legacy-puppet-openstack-libraries-puppet-unit-centos-7/a4f185d/job-output.txt.gz#_2018-02-12_07_04_37_036841

Change-Id: I3a28e265b36aa9511020f52f94bc6941194a72de
2018-02-12 16:25:59 +08:00
Mohammed Naser d707f6d2b0 Remove pinned versions from test-requirements.txt
As we are using the upper constraints when running the release
notes task using tox, we do not need to set a specific version
and we can rely on whatever is configured in upper constraints.

Change-Id: I2a970b90557e951d2dd07c63b3a4e98e15330d03
2018-01-11 10:55:48 -05:00
Mohammed Naser 87a3f3e4cf Update test-requirements reno release to 2.5.1
Depends-On: Ib1916b11ec4cb544079075c7602081a147925067
Change-Id: I19db756ab7fce41c0f425482a7f1af7cf5dccd9f
2017-11-02 16:50:09 +00:00
Alex Schultz e5675c3e21 Enable unit tests
Change-Id: Ia1a63527430ebb04964b6840d23514544e03cb3c
Depends-On: I482801397d316e332ca18d0325b553491b1dedaf
2017-07-05 14:55:15 -06:00
Alex Schultz aded95a8b9 Add json_pure requirement
Since the puppet gem has dropped the json_pure requirement (since
5.0.0), the modulesync jobs are failing because the json_pure module is
missing. This change adds it here to unstick the CI for cookiecutter and
modulesync jobs.

Also temporarily disable the unit test jobs until the cookiecutter
module is fixed for puppet5

Change-Id: Ibaf5f73edef980d83bb02d1e969912f33cf056fa
2017-07-05 14:53:09 -06:00
Alex Schultz 03bbb4a459 Update gitignore and test-requirements
After the last module sync, there were a few items that need to be
updated. The gitignore needs /openstack rather than openstack/ to ensure
that we're only ignoreing the base /openstack folder that gets created
when you run the tests. Additionall the test-requirements.txt was
updated with a newer list of requirements for the release notes.

Change-Id: Id057d8d947337e501f0dd41cf7694d56d26b1c25
2017-05-19 11:01:34 -06:00
Alex Schultz 0845ddcc7f Add tox configuration items
Update tox.ini to pull in the openstack upper constraints when
installing the environment for the releasenotes and pull in the
test-requirements.txt as well

Change-Id: I84f23b7218c5b2da70f8c47efdc1645d625c827e
Depends-On: I326f27e880bc9717243258044496d42de50b6972
2017-05-17 00:17:31 +00:00
Alex Schultz d206f8f4ee Fix modulesync configs
Pin modulesync to <0.8.0 and update the managed modules list

Change-Id: Id7d1202cf218adf5c33743259953e57022cba723
Depends-On: Iee22a969ea4395f3784cceef5300cc124d50bfd5
2017-05-16 18:17:01 -06:00