Commit Graph

8 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 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 db48ab1fdc Updates for rocky
- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering
- Drop obsolete bootstrap.sh script
- Adopt default mysql dir from updated cookbook

Change-Id: I94a066975fe00a29ff6731021767b1eda294ba44
2019-12-06 10:38:09 +00:00
Samuel Cassiba 45a1623cb2 ops-database refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- removed deprecated postgresql support
- removed percona-cluster as the Percona cookbook has not been touched since 2015
- switched default rdbms to mariadb[0]

This change was largely born out of a discussion in #sous-chefs on the Chef
Community Slack. The notion of using the vendor-provided package is preferred
in the Chef Community versus the distro version if possible, due to
inconsistencies in outcome. As a result, this cookbook focuses on MariaDB, and
specifically from mariadb.org.

[0]: https://docs.openstack.org/install-guide/environment-sql-database.html

Implements blueprint modern-chef

Change-Id: I7ee0f5eae4e79e5c70ee8de4a0094a7c34fdd18f
2018-01-11 10:36:09 -08: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
Mark Vanderwiel 2d9a387513 Add integration task
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.

Change-Id: I894c0a93805c1a7b1c4e3f2ba162301f197a740a
2015-10-06 09:49:46 -05:00
Jan Klare d1400a6f23 move from bundler to chefdk
- deprecated Gemfile
- updated TESTING and README
- updated Rakefile to use chef exec instead of bundle exec
- replaced Runner by SoloRunner in specs

Change-Id: I2f2bf3e1f193cb43498d0d10da8500ff59a6f5aa
2015-04-29 10:29:08 +02: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