summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorIonuț Arțăriși <iartarisi@suse.cz>2014-09-30 14:45:34 +0200
committerIonuț Arțăriși <iartarisi@suse.cz>2014-09-30 14:45:50 +0200
commit17eff9523c9e922ca9118956ec6441d07c6b2988 (patch)
treee940444c6645ab1510d2a648469929dad8280142 /.rubocop.yml
parent43553e0e176d2e6e7ce6180d8b726c3dacd86bf0 (diff)
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: If366dff9394f416b0704bea89ae50c1c472606bf blueprint: rakefile
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Justin Shepherd <jshepher@rackspace.com> Workflow+1: Justin Shepherd <jshepher@rackspace.com> Code-Review+2: Mark Vanderwiel <vanderwl@us.ibm.com> Submitted-by: Jenkins Submitted-at: Tue, 07 Oct 2014 15:24:36 +0000 Reviewed-on: https://review.openstack.org/125028 Project: stackforge/cookbook-openstack-block-storage Branch: refs/heads/master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 5500e6d..69447d8 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -13,6 +13,7 @@ Encoding:
13 Exclude: 13 Exclude:
14 - metadata.rb 14 - metadata.rb
15 - Gemfile 15 - Gemfile
16 - berks-cookbooks/**
16 17
17NumericLiterals: 18NumericLiterals:
18 Enabled: false 19 Enabled: false