Commit Graph

11 Commits

Author SHA1 Message Date
Ghanshyam Mann 17c5f0c939 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: I7a2655cab7bc4caad707f5f98174aae0b659fd4f
2024-02-17 20:51:02 -08:00
Lance Albertson d911425d0a Chef 17 support
- Require Chef >= 16.0
- Remove bind from Berksfile
- Update copyright years
- Enabled unified_mode

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-identity/+/814051
Change-Id: I849792383efdcced72e399788ca849c102b8d510
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 12:04:59 -07:00
Lance Albertson a78e903e12 Updates for Train
Changed
- Update release to train
- Migrated to using multi-store feature which has been deemed stable

Fixed
- Cookstyle

Removed:
- Unused rubocop rules

Change-Id: I19c1ff463a70a81e4d08bacb86e480e0a3951789
Depends-On: https://review.opendev.org/731859
2020-05-29 17:17:41 -07:00
Lance Albertson dad981f9ce Stein fixes
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
  cookbooks
- Update documentation
- Enable sensitive resources for the execute resources in
  openstack_image_image and template[/etc/glance/glance-api.conf] to
  improve security.
- Update delivery configuration to exclude integration cookbooks
- Set glance_store/stores, and update auth_type to password as described
  in the upstream documentation [1]
- Fix ChefSpec output

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

Depends-On: https://review.opendev.org/706151
Change-Id: I695b576267bc220b0b70011ab035520fc18ff955
2020-03-24 10:22:19 -07:00
Mark Vanderwiel 649d8fe587 Initial kilo updates
Change-Id: Ifbe6bec1726790ec07ba8ca8a4d4f6e6908dc70f
Partial-Bug: #1426424
2015-02-27 13:38:49 -06:00
Ionuț Arțăriși d39c346a5d 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: Iee61f2aecb237102b9caef6e298b0df85c24370b
blueprint: rakefile
2014-09-30 14:42:05 +02:00
Andy McCrae 8abde9030e 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.
- Remove any existing entries that were abiding by the NumericLiterals
  cop.

Change-Id: I8ddd828f372050cac38b8c384ed4952b98836313
Addresses: blueprint rubocop-integer
2014-02-25 17:55:09 +00:00
Christopher H. Laco 343639f536 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: If2931d371911c10787bbb2c2bf1c51881e3c4488
Implements: blueprint lint-and-unit-testing-for-havana
2014-02-04 15:49:45 -05:00
Andy McCrae 5d3a356a30 Complete Rubocop compliancy
- Ensure all files are rubocop compliant following commits
- Move to use a single .rubocop.yml file
- Update StrainerFile to reflect the single .rubocop.yml

Change-Id: I6d7b30aae4d839a2c8c2ebebbf5e9b53518db71e
Addresses: blueprint rubocop-for-image
2014-01-22 16:48:14 +00:00
Matt Ray 19e2e1f253 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 and adding TESTING.md. Will
remove the .rubocop-todo.yml later, once all the other Rubocop support is in.

Change-Id: I44e3e5002b4e152080a01a36ae08451cc2ee0751
2014-01-09 16:07:27 -06:00
galstrom21 f963ac80f2 Adding rubocop todo list
* masking currently failing cops

Change-Id: I824eedb738904630bd9ce08622fce732762cc47f
2014-01-06 16:24:36 -06:00