Commit Graph

15 Commits

Author SHA1 Message Date
Ghanshyam Mann 9460c5eb70 Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: I4892478f3e2397820e354ff15859fb992b3512e4
2024-02-17 20:49:57 -08:00
Lance Albertson ee28b08a57 Chef 17 support
- Require Chef >= 16.0
- Update to latest upstream mariadb cookbook
- Update copyright years

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-common/+/813952
Change-Id: I4b0417acb75f10dd9a1c0a22fadcd1d849f045b9
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 09:01:42 -07:00
Lance Albertson 38d0a27c66 Updates for Train
Changed:
- Update release to train
- Update to mariadb ~> 4.0

Fixed:
- Migrate to using Chef::Log.warn instead of the log resource to fix
  idempotency issues.
- Cookstyle

Removed:
- Unused .rubocop.yml

Depends-On: https://review.opendev.org/731851
Change-Id: Ia705cf4fb00098ba5d34f22268c0e409b82580a0
2020-05-29 17:13:44 -07:00
Lance Albertson 93e7380abf Stein fixes
- Cookstyle fixes
- Update documentation
- Add myself as an author and add OSU for Copyright
- Update delivery configuration to exclude integration cookbooks

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Change-Id: Ib2ccf949d5f5bced0f6efd32b09780469316b831
2020-03-19 10:56:43 -07:00
Samuel Cassiba e302e88e25 starting rocky development patch
Change-Id: If050a2d628edce724031bb19deb45f196ceb4a66
2018-08-03 06:28:33 -07:00
Samuel Cassiba b876cd00e5 Initial ops-database Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions
- Normalized template banner

Change-Id: I76bdb4149965ab7b23709762559bd6c71753cc8b
2017-08-25 09:58:14 -04:00
Samuel Cassiba 57042a006e Style and lint fixes to support newer ChefDK
Change-Id: I7b8521a85bace612911f967fe4e35269b7b47034
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
2016-07-01 18:10:31 -07:00
Mark Vanderwiel d1ed020187 Initial kilo updates
Change-Id: I345ce59e0449a146c8bc83db864e6585633b54dc
Partial-Bug: #1426424
2015-02-27 14:25:44 -06:00
Ionuț Arțăriși 55f09a76f9 add a Rakefile to structure test runs
Having a Rakefile will allow us to change the actual test commands on
our side rather than relying on changes to the openstack-infra
repository. This should make it a lot faster to change things, but also
easier to test since the jenkins jobs are actually run in this
repository, not the openstack-infra one.

This commit defines the jobs we previously had defined in Jenkins and
uses 'high-level' naming consistently (i.e. lint, style vs. foodcritic,
rubocop).

There is also a :clean task to help with deleting the files generated by
the other jobs.

Also changed foodcritic to run on the source cookbook rather than the
one installed by berks, see
e.g. https://github.com/berkshelf/berkshelf/issues/931#issuecomment-29668369

Change-Id: Ia822611f48f27b1027f508004150f83b0a2762f7
blueprint: rakefile
2014-09-30 14:54:33 +02:00
Andy McCrae 46399a40ef Disable the NumericLiterals cop for rubocop
- Disable the NumericLiterals cop in the .rubocop.yml file - this cop enforces
  an underscore '_' every 3 characters of an integer. This doesn't make much
  sense in our use case and reduces readability. Especially for port numbers.

Change-Id: I58447925ac7a05fb6848c31ac67285131fb8c872
Addresses: blueprint rubocop-integer
2014-02-25 18:04:47 +00:00
Christopher H. Laco d5d685bfb1 Upgrade/Update rubocop
Now that almost all of the rubocop blueprints have been completed, make
one final pass through all of the cookbooks ensuring they're all in
sync with each other.

- Upgrade rubocop to 0.18.1
- Fix violations caused by 0.18.1 upgrade
- Move Excludes for non-existent folders to Includes so they
  automatically cover future additions

Change-Id: I08e8822a7ad7a5330881c14ffb07db3842bd5d9c
Implements: blueprint lint-and-unit-testing-for-havana
2014-02-04 15:57:23 -05:00
Andy McCrae 11cd04ded1 Update recipes to be rubocop compliant
- Update .rubocop.yml to include recipes/**
- Update recipes to be rubocop compliant

Change-Id: Ibb2113e266427b1d9b509d1e66389462e1ff0189
Addresses: blueprint rubocop-for-ops-database
2014-01-29 10:31:38 +00:00
Andy McCrae 84c491f236 Update spec files to be rubocop compliant
- Update .rubocop.yml to include spec/**
- Update metadata.rb to be rubocop compliant
- Update spec files to be rubocop compliant

Change-Id: If059f01f46102282ffeed9323f6e06fa78f8597c
Addresses: blueprint rubocop-for-ops-database
2014-01-21 16:52:29 +00:00
Andy McCrae 412512a33e Update attributes to be rubocop compliant
- Update rubocop config to handle entire repo in one file
- Update Strainerfile to run rubocop only once
- Update attributes to comply with rubocop

Change-Id: I299c2775a5a124b0af74f2e3d844cbd91f93380f
Addresses: blueprint rubocop-for-ops-database
2014-01-20 09:31:15 +00:00
Matt Ray 762889aa86 Filling out initial rubocop support for metadata.rb and the Gemfile.
Removing tailor, cleaning up metadata and Gemfile and adding TESTING.md

Addresses: blueprint rubocop-for-ops-database
Change-Id: Ia2e02864b3c157b44cf0cf483801c6bb19f83054
2014-01-09 17:35:10 -06:00