mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-24 02:45:01 +01:00
67 lines
1.4 KiB
YAML
67 lines
1.4 KiB
YAML
# Managed by modulesync - DO NOT EDIT
|
|
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
|
#
|
|
# 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']
|
|
RakeTarget:
|
|
enabled: true
|
|
description: 'Runs lint on modified files only'
|
|
targets:
|
|
- 'lint'
|
|
command: ['bundle', 'exec', 'rake']
|
|
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']
|