Enabled: false
Metrics/AbcSize:
Enabled: false
+Security/MarshalLoad:
+ Exclude:
+ - 'attributes/default.rb'
Style/BlockComments:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/LeadingCommentSpace:
Enabled: false
+Style/MultilineIfModifier:
+ Enabled: false
Style/RescueModifier:
Enabled: false
Style/SpaceBeforeFirstArg:
Enabled: false
+Style/SpaceInsideBlockBraces:
+ Enabled: false
Style/TrailingCommaInLiteral:
- EnforcedStyleForMultiline: comma
+ EnforcedStyleForMultiline: consistent_comma
Style/WordArray:
Enabled: false
namespace :style do
desc 'Run Ruby style checks'
- RuboCop::RakeTask.new(:ruby)
+ RuboCop::RakeTask.new(:ruby) do |t|
+ t.options = [
+ '--auto-gen-config', # creates .rubocop_todo.yml
+ ]
+ end
desc 'Run Chef style checks'
FoodCritic::Rake::LintTask.new(:chef) do |t|
desc 'Publish cookbook'
Stove::RakeTask.new(:publish) do |t|
t.stove_opts = [
+ # `--username` and `--key` are set in ~/.stove typically.
+ #'--username', 'somebody',
+ #'--key', '~/chef/chef.io.example.com/somebody.pem',
+ #'--endpoint', 'https://supermarket.io.example.com/api/v1', # default: supermarket.chef.io
+ #'--no-ssl-verify',
'--no-git',
'--log-level', 'info',
]
# `${POSTGRES_PASSWORD}` is a placeholder of password string.
'CONCOURSE_POSTGRES_DATA_SOURCE' => \
'postgres://concourse:${POSTGRES_PASSWORD}@concourse-db:5432/concourse?sslmode=disable',
+ #'CONCOURSE_RESOURCE_CHECKING_INTERVAL' => '1m', # default
},
},
'concourse-worker' => {
license 'Apache 2.0'
description 'Installs/Configures Concourse CI by Docker Compose'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
-version '0.2.0'
+version IO.read(File.join(File.dirname(__FILE__), 'version')).chomp
source_url 'http://scm.osdn.jp/gitroot/metasearch/grid-chef-repo.git'
issues_url 'https://osdn.jp/projects/metasearch/ticket'
+chef_version '>= 12'
supports 'ubuntu', '>= 14.04'
=begin
%w( centos redhat ).each do |os|