Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann fb7c035bf3 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: I07e16dd10769a13ae587b94f1387efacda01fdb2
2024-02-17 20:52:17 -08:00
Lance Albertson abab7d0ecb Stein fixes
- Switch to Stein release
- Cookstyle fixes
- Update cookbook etcd to ~> 5.6
- Update README
- Add myself to author list and OSU Copyright
- Properly fix completions recipe and ensure it works
- Create and start the etcd service in the etcd recipe
- Update delivery configuration to exclude integration cookbooks
- Refactor and update RenderConfigFileMatcher to work with newer
  ChefSpec. This fixes output which was passing but showing error
  messages.

Depends-On: https://review.opendev.org/701027
Change-Id: Iba3eeabe85ab9303147e43eeb550212a46d190f3
2020-03-19 10:52:29 -07:00
inspurericzhang 2569ac0f34 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

Change-Id: If732a5e840a7080691097e429e692a18f5286db6
2019-12-03 12:23:53 +00:00
Samuel Cassiba baae0be8b8 Rename openstack-chef-repo references to openstack-chef
Change-Id: I921d5f7d6de40bdd3b692654a22ae04c67b0ab87
2018-08-06 21:49:17 -07:00
Samuel Cassiba b2881c3a80 common refactor for Pike and Chef 13
- changed the default RDBMS to MariaDB in accordance with install docs[0]
- removed deprecated database, apt and yum cookbooks
- incorporated `database' and MySQL-specific abstractions from database
  cookbook
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- updated default recipe for core apt resource
- use /etc/apt/apt.conf.d on Ubuntu instead of passing the dpkg overrides as
  command line options in every cookbook

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

Implements blueprint modern-chef

Change-Id: I143e0ed0a2bdd76269fc0c402052696426d96d81
Depends-On: I00e2237cef0c9aa35f78d3ccec04a1c7b9271ce8
Depends-On: I7ee0f5eae4e79e5c70ee8de4a0094a7c34fdd18f
2018-01-11 17:42:41 +00:00
Samuel Cassiba ffbf83d17f Initial common Pike updates
- Bumped chefdk to 1.6.1
- Switched release to pike
- Added is_release attribute for testing, defaults to false
- Added RDO deps repo for testing pre-release packages
- Added ubuntu-cloud proposed repo for testing pre-release packages
- Switched the default linter to cookstyle
- Normalized the banner message
- Dropped pip installation method for python-openstackclient since the
  packages are fresh enough

Change-Id: I7a67ba2520b8e44efec6edd8506f96b0e0dc913b
2017-09-11 23:38:26 -07:00
Christoph Albers bf68005820 Fix in Rakefile common_integration
* added exception for cloning the chef-repo unless it exists
  which is possible when depending on chef-repo itself

Change-Id: I1451b74b232a80fa5be649f4118e6aea273fc6ca
2016-03-03 09:17:12 +00:00
Mark Vanderwiel 8eda8ed119 fix int tests
The sym link was not working, looks like the permissions have
changed a bit.  Using sudo to create the sym-link seems to
do the trick.  I'm leaviing in the dir outputs for future
debugging.

Change-Id: I9d2dc9fcdd8f21f49da2a7fc35090c60221b80a3
2016-02-24 18:46:53 +00:00
Mark Vanderwiel 1810d2d190 Update integration task
added common integartion task to allow this rake file to be used by other cookbooks

Depends-On: Ie84d5258a4290110df9bf7754eb3dfce7791e223
Depends-On: I6bddae9fc83a5fc133e43a27e96e1a7110c94cfb

Change-Id: I4834e9557b07db05591b78d28ef27a6046e4c0f0
2015-10-01 15:34:56 -05:00
Mark Vanderwiel 3d37e8c52f CI TEST - based upon repo integration task
This uses the repo integration task.  It also take advantage of the
repo Berksfil REPO_DEV support to pull in the current patch.

Change-Id: I5a0fe1b938f113a922b4a8ea1de9756c47f06dcd
2015-06-26 16:21:04 +00:00
Jan Klare ef40fb0aa5 moving from bundler to chefdk
- deprecated Gemfile
 - updated Rakefile to use 'chef exec' instead of 'bundle exec'
 - updated TESTING.md
 - added fauxhai permission workaround to bootstrap.sh

Change-Id: I4dfa2082cff38f8d73cf89676215dc7f469fe970
2015-04-27 10:12:20 +02:00
Ionuț Arțăriși 80cd4b6e46 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: I3951f7bf3b474f1b7aab46c16d91a9b431a787bf
blueprint: rakefile
2014-09-29 13:44:38 +02:00