Clean up YAML files in the repository. (#11570)
* Assorted yamllint config updates. * Extended line length limit to 150. This is still a reasonable limit but cuts down on warnings a bit. * Added explicit ignore directives for external repo paths. This makes using yamllint locally nicer. * Enabled the rule to require null values to be explicit. This rule helps prevent accidental bogus mapping problems resulting from implicit null values combined with incorrect indentation. This only results in new errors in a couple of GHA workflows, which will be fixed in the next commit. * Fix all yamllint warnings in yaml file sin the repo. Most are indentation or spurious empty lines. * Fix invalid null value.
This commit is contained in:
parent
07946d9f0a
commit
f183dc8aea
|
@ -96,4 +96,3 @@ exclude_patterns:
|
|||
- "collectors/node.d.plugin/node_modules/extend.js"
|
||||
- "collectors/node.d.plugin/node_modules/pixl-xml.js"
|
||||
- "collectors/node.d.plugin/node_modules/net-snmp.js"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
pull_request: null
|
||||
env:
|
||||
DO_NOT_TRACK: 1
|
||||
jobs:
|
||||
|
|
|
@ -4,7 +4,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
pull_request: null
|
||||
env:
|
||||
DO_NOT_TRACK: 1
|
||||
jobs:
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: rtCamp/action-slack-notify@v2
|
||||
env:
|
||||
SLACK_COLOR: 'danger'
|
||||
SLACK_FOOTER:
|
||||
SLACK_FOOTER: ''
|
||||
SLACK_ICON_EMOJI: ':github-actions:'
|
||||
SLACK_TITLE: 'Coverity run failed:'
|
||||
SLACK_USERNAME: 'GitHub Actions'
|
||||
|
|
|
@ -4,7 +4,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
pull_request: null
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
|
@ -99,7 +99,7 @@ jobs:
|
|||
uses: rtCamp/action-slack-notify@v2
|
||||
env:
|
||||
SLACK_COLOR: 'danger'
|
||||
SLACK_FOOTER:
|
||||
SLACK_FOOTER: ''
|
||||
SLACK_ICON_EMOJI: ':github-actions:'
|
||||
SLACK_TITLE: 'Docker Build failed:'
|
||||
SLACK_USERNAME: 'GitHub Actions'
|
||||
|
|
|
@ -133,7 +133,6 @@ jobs:
|
|||
uses: rtCamp/action-slack-notify@v2
|
||||
env:
|
||||
SLACK_COLOR: 'danger'
|
||||
SLACK_FOOTER:
|
||||
SLACK_ICON_EMOJI: ':github-actions:'
|
||||
SLACK_TITLE: 'Package Build failed:'
|
||||
SLACK_USERNAME: 'GitHub Actions'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Handles building of binary packages for the agent.
|
||||
name: Repository Packages
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_dispatch: null
|
||||
env:
|
||||
DO_NOT_TRACK: 1
|
||||
jobs:
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
uses: rtCamp/action-slack-notify@v2
|
||||
env:
|
||||
SLACK_COLOR: 'danger'
|
||||
SLACK_FOOTER:
|
||||
SLACK_FOOTER: ''
|
||||
SLACK_ICON_EMOJI: ':github-actions:'
|
||||
SLACK_TITLE: 'Repository Package Build failed:'
|
||||
SLACK_USERNAME: 'GitHub Actions'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Runs various ReviewDog based checks against PR with suggested changes to improve quality
|
||||
name: Review
|
||||
on:
|
||||
pull_request:
|
||||
pull_request: null
|
||||
env:
|
||||
run_eslint: 0
|
||||
run_hadolint: 0
|
||||
|
|
|
@ -6,10 +6,11 @@ yaml-files:
|
|||
- 'collectors/python.d.plugin/*.conf'
|
||||
- 'collectors/python.d.plugin/*/*.conf'
|
||||
|
||||
ignore: |
|
||||
mqtt_websockets/
|
||||
packaging/makeself/tmp/
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 120
|
||||
level: warning
|
||||
braces: enable
|
||||
brackets: enable
|
||||
colons: enable
|
||||
|
@ -19,9 +20,14 @@ rules:
|
|||
document-end: disable
|
||||
document-start: disable
|
||||
empty-lines: enable
|
||||
empty-values: disable
|
||||
empty-values: enable
|
||||
hyphens: enable
|
||||
indentation: enable
|
||||
line-length:
|
||||
max: 150
|
||||
level: warning
|
||||
allow-non-breakable-words: true
|
||||
allow-non-breakable-inline-mappings: true
|
||||
key-duplicates: enable
|
||||
key-ordering: disable
|
||||
new-line-at-end-of-file: enable
|
||||
|
|
|
@ -16,4 +16,3 @@ services:
|
|||
/usr/sbin/netdata -D"
|
||||
ports:
|
||||
- 20000:19999
|
||||
|
||||
|
|
|
@ -16,4 +16,3 @@ services:
|
|||
/usr/sbin/valgrind --leak-check=full /usr/sbin/netdata -D -W debug_flags=0x200000000"
|
||||
ports:
|
||||
- 20000:19999
|
||||
|
||||
|
|
|
@ -4,4 +4,3 @@ services:
|
|||
build:
|
||||
dockerfile: configureVerneMQ.Dockerfile
|
||||
context: .
|
||||
|
||||
|
|
|
@ -11,4 +11,3 @@ services:
|
|||
- ./min.conf:/etc/netdata/netdata.conf:ro
|
||||
cap_add:
|
||||
- SYS_PTRACE
|
||||
|
||||
|
|
|
@ -12,4 +12,3 @@ services:
|
|||
- ./mostly_off.conf:/etc/netdata/netdata.conf:ro
|
||||
cap_add:
|
||||
- SYS_PTRACE
|
||||
|
||||
|
|
Loading…
Reference in New Issue