Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann 44d13c8c64 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: Ida0639315944c8c7852ec37fb10f133e8ab9c455
2024-02-17 20:50:52 -08:00
Lance Albertson e76dcb39e1 Chef 17 support
- Require Chef >= 16.0
- Remove bind from Berksfile
- Update copyright years

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstackclient/+/813953
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-database/+/814032
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-messaging/+/814035
Change-Id: I5d4f38f56e5a411b83b02d2fd9fff2e013947d71
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 11:57:40 -07:00
Lance Albertson 368296c9e5 Updates for Train
Changed:
- Update release to train
- Update to apache2 ~> 8.1

Fixed:
- Cookstyle
- ChefSpec

Removed:
- Unused .rubocop.yml

Change-Id: I2dc8c767ac4f6bb0635ffa4a64d6e8e47fc29093
Depends-On: https://review.opendev.org/731850
Depends-On: https://review.opendev.org/731851
Depends-On: https://review.opendev.org/731855
Depends-On: https://review.opendev.org/731858
2020-06-09 09:58:00 -07:00
Lance Albertson c49dedfbcd Stein fixes
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
  cookbooks
- Update documentation
- Enable sensitive resources for template[/etc/keystone/keystone.conf]
  and execute[bootstrap_keystone] to improve security.
- Update delivery configuration to exclude integration cookbooks

[1] https://docs.openstack.org/keystone/stein/install/keystone-install-rdo.html#install-and-configure-components

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Depends-On: https://review.opendev.org/706140
Depends-On: https://review.opendev.org/706147
Depends-On: https://review.opendev.org/706158
Change-Id: I6c5005b23ee209650911146e373c4cf082cbee9e
2020-03-23 09:58:16 -07:00
Mark Vanderwiel 89b36103f0 Initial kilo updates
Change-Id: I0531dff91ca923fb9f908324428b327dbc913db0
Partial-Bug: #1426424
2015-02-27 13:29:07 -06:00
Ionuț Arțăriși 31621684b9 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: I6e007888e1b37a54628ab5c09e62f636a0b622ed
blueprint: rakefile
2014-09-30 14:21:29 +02:00
Andy McCrae 2eaacd6234 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: I68cc5e8191bd8ef139aad220fad9f1ce3275bcbd
Addresses: blueprint rubocop-integer
2014-02-25 17:52:18 +00:00
Christopher H. Laco 39a2882ccb 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
- Make the rubocop.yml the same as others plus the exception at the bottom

Change-Id: I030322516fcdb1d742d7d4170c1f4436e8115852
Implements: blueprint lint-and-unit-testing-for-havana
2014-02-04 14:27:46 -05:00
galstrom21 378ffc2cc1 Rubocop support for recipes/*.rb
Change-Id: Ic6b09f84fbecefbb33404d64f25eca4e38e17bed
Addresses: blueprint rubocop-for-identity
2014-01-20 14:47:08 -06:00
galstrom21 7394546f73 Rubocop support for spec/*.rb
Change-Id: Id86d34888632a23f58faa91a5c81b52bc2fc4981
Addresses: blueprint rubocop-for-identity
2014-01-20 09:39:44 -06:00
galstrom21 01663915f5 Rubocop support for providers/*.rb
* Using single .rubocop.yml

Addresses: blueprint rubocop-for-identity
Change-Id: Ie0f56e57d47a1953011657aef741ba9c5f13c37f
2014-01-17 09:55:28 -06:00
Matt Ray 59d43d432c Filling out initial rubocop support.
https://blueprints.launchpad.net/openstack-chef/+spec/lint-and-unit-testing-for-havana
Removing tailor, cleaning up metadata and Gemfile and adding TESTING.md

Change-Id: Ibc926bad1d178861f270d3aca75251d2de9b1ec1
2014-01-08 17:10:50 -06:00