cookbook 'sonarqube-mysql', '~> 0.1.2'
sonarqube-mysql (3) Versions 0.1.2 Follow2
Configures a MySQL database for use with SonarQube
cookbook 'sonarqube-mysql', '~> 0.1.2', :supermarket
knife supermarket install sonarqube-mysql
knife supermarket download sonarqube-mysql
sonarqube-mysql
Configures a MySQL instance with a database and user for SonarQube. Provides LWRPs for managing sonar configuration held in the MySQL database.
Notes
- See
test/integration/cookbooks/test
and.kitchen.yml
for usage examples - Ensure the correct SonarQube URL is set in the attributes
- The LWRPs will use this to check the status of the server before trying to update any database tables
- Does not install SonarQube in case there are specific needs on your system
- add
sonarqube::default
to your run list aftersonarqube-mysql::default
for a simple installation - remember to override the JDBC connection attributes to point to your MySQL database
- it is necesarry to install and run SonarQube before calling the LWRPs as this populates the initial state of the database
- add
- Does not install MySQL in case there are specific needs on your system
- add
mysql::server
to your run list beforesonarqube-mysql::default
for a simple installation
- add
- Does not run
apt::default
on Ubuntu- add
apt::default
to your run list before anything else if you're deploying on Ubuntu
- add
Contributing
Prerequisites
- ChefDK
- Recent RuboCop
chef gem install rubocop
Testing
Test changes using
chef exec rake
chef exec kitchen verify
Dependent cookbooks
database >= 0.0.0 |
mysql2_chef_gem >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: sonarqube-mysql/metadata.rb:1
FC065: Ensure source_url is set in metadata: sonarqube-mysql/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sonarqube-mysql/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: sonarqube-mysql/metadata.rb:1
FC065: Ensure source_url is set in metadata: sonarqube-mysql/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sonarqube-mysql/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
FC065: Ensure source_url is set in metadata: sonarqube-mysql/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sonarqube-mysql/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Testing File Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number