Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann ea238dc447 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: Ie74b00de70c5ce8180b1d6b06394572ef8025f34
2024-02-19 16:52:22 +00:00
Lance Albertson 21424d8868 Chef 17 support
- Remove bind from Berksfile
- Update copyright years
- Require Chef >= 16.0

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-identity/+/814051
Change-Id: If07c6d8973bbba605756938f62d351cc323edd7b
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 12:56:13 -07:00
Lance Albertson 68ab6acf42 Updates for Train
Changed:
- Update release to train
- Update to apache2 ~> 8.1

Fixed:
- ChefSpec

Removed:
- Unused rubocop rules

Change-Id: Iea9ced8eee44bf351b803b5171196c511ab572f5
Depends-On: https://review.opendev.org/731859
2020-06-09 10:19:24 -07:00
Lance Albertson dbb2758ddd Stein fixes
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
  cookbooks
- Update documentation
- Cleanup line wraps
- Enable sensitive resources for the template[/etc/aodh/aodh.conf],
  template[/etc/gnocchi/gnocchi.conf] and
  template[/etc/ceilometer/ceilometer.conf] to resources improve
  security.
- Update delivery configuration to exclude integration cookbooks
- Fix ChefSpec output.
- Add missing ChefSpec tests
- Switch package installations to send packages as arrays instead of individual
  package resources. This generally speeds up chef runs.
- Cleanup array syntax using %w() instead of []

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Depends-On: https://review.opendev.org/706151
Change-Id: I73e3c3dce64798a4d6ba5c94cc45dfabc4d2d0ff
2020-03-19 13:00:31 -07:00
Samuel Cassiba 13902fe451 starting rocky development patch
Change-Id: Ie7c681548a902ecc050e204e873188eb547a281e
2018-08-03 06:42:11 -07:00
Samuel Cassiba d6736f20ac Initial telemetry Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions
- Normalized template banner

Change-Id: If802d82561619a0b7951422dc0e1e913f2c4c8b4
2017-08-25 10:14:01 -04:00
Mark Vanderwiel 76e0daac52 Initial kilo updates
Change-Id: I7d4cace5656a9a2854a6fd619bbe5e400dc2fdff
Partial-Bug: #1426424
2015-02-27 14:11:44 -06:00
Ionuț Arțăriși c1f7d4edcc 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: If76f6fca62c7cff719e9a631c968a252cf30f10a
blueprint: rakefile
2014-09-30 14:52:37 +02:00
Andy McCrae 5ea68c53e0 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: Id4668757f304ca6fe3e7f0809c917f30cfa07636
Addresses: blueprint rubocop-integer
2014-02-25 17:56:59 +00:00
Christopher H. Laco 7de154aa06 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: I62cb43675f56469cefaa480e5043514741bedb04
Implements: blueprint lint-and-unit-testing-for-havana
2014-02-04 16:08:09 -05:00
Andy McCrae 9c98f7510a Rubocop cleanup - removing individual directory .rubocop.yml files
- Remove directory/.rubocop.yml files
- Adjust Strainerfile to use the single .rubocop.yml
- Adjust .rubocop.yml ot reference all directories

Change-Id: I4323a1d1b626001c0b0dc05bec473b16c637f485
Addresses: blueprint rubocop-for-metering
2014-01-30 14:28:32 +00:00
Matt Ray c1f4c9b7f8 Filling out initial rubocop support for metadata.rb and the Gemfile.
https://blueprints.launchpad.net/openstack-chef/+spec/lint-and-unit-testing-for-havana
Removing tailor, cleaning up metadata and Gemfile, added TESTING.md and fixed a
broken test.

Addresses: blueprint rubocop-for-metering
Change-Id: I5a712c18033b6586548903dea93c8421050d971e
2014-01-09 17:37:17 -06:00