mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-24 02:45:01 +01:00
modulesync 4.0.0-10-g1c946c3
This commit is contained in:
parent
264d4ab24b
commit
0da811dfc6
19 changed files with 682 additions and 0 deletions
64
.overcommit.yml
Normal file
64
.overcommit.yml
Normal file
|
@ -0,0 +1,64 @@
|
|||
# Managed by https://github.com/voxpupuli/modulesync_configs
|
||||
#
|
||||
# Hooks are only enabled if you take action.
|
||||
#
|
||||
# To enable the hooks run:
|
||||
#
|
||||
# ```
|
||||
# bundle exec overcommit --install
|
||||
# # ensure .overcommit.yml does not harm to you and then
|
||||
# bundle exec overcommit --sign
|
||||
# ```
|
||||
#
|
||||
# (it will manage the .git/hooks directory):
|
||||
#
|
||||
# Examples howto skip a test for a commit or push:
|
||||
#
|
||||
# ```
|
||||
# SKIP=RuboCop git commit
|
||||
# SKIP=PuppetLint git commit
|
||||
# SKIP=RakeTask git push
|
||||
# ```
|
||||
#
|
||||
# Don't invoke overcommit at all:
|
||||
#
|
||||
# ```
|
||||
# OVERCOMMIT_DISABLE=1 git commit
|
||||
# ```
|
||||
#
|
||||
# Read more about overcommit: https://github.com/brigade/overcommit
|
||||
#
|
||||
# To manage this config yourself in your module add
|
||||
#
|
||||
# ```
|
||||
# .overcommit.yml:
|
||||
# unmanaged: true
|
||||
# ```
|
||||
#
|
||||
# to your modules .sync.yml config
|
||||
---
|
||||
PreCommit:
|
||||
RuboCop:
|
||||
enabled: true
|
||||
description: 'Runs rubocop on modified files only'
|
||||
command: ['bundle', 'exec', 'rubocop']
|
||||
PuppetLint:
|
||||
enabled: true
|
||||
description: 'Runs puppet-lint on modified files only'
|
||||
command: ['bundle', 'exec', 'puppet-lint']
|
||||
YamlSyntax:
|
||||
enabled: true
|
||||
JsonSyntax:
|
||||
enabled: true
|
||||
TrailingWhitespace:
|
||||
enabled: true
|
||||
|
||||
PrePush:
|
||||
RakeTarget:
|
||||
enabled: true
|
||||
description: 'Run rake targets'
|
||||
targets:
|
||||
- 'validate'
|
||||
- 'test'
|
||||
- 'rubocop'
|
||||
command: ['bundle', 'exec', 'rake']
|
Loading…
Add table
Add a link
Reference in a new issue