Saltstack Official Syslog-NG Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash syslog-ng-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") ./syslog_ng/defaults.yml 4:1 warning missing document start "---" (document-start) ./syslog_ng/os_family_map.yml 4:1 warning missing document start "---" (document-start) ./syslog_ng/os_codename_map.yml 5:1 warning missing document start "---" (document-start) pillar.example 1:1 warning missing document start "---" (document-start) 3:3 error wrong indentation: expected 4 but found 2 (indentation) 5:3 error wrong indentation: expected 4 but found 2 (indentation) 7:3 error wrong indentation: expected 4 but found 2 (indentation) 10:3 error wrong indentation: expected 4 but found 2 (indentation) 10:15 warning truthy value should be one of [false, true] (truthy) 11:14 warning truthy value should be one of [false, true] (truthy) 12:15 warning truthy value should be one of [false, true] (truthy) 13:20 warning truthy value should be one of [false, true] (truthy) 14:22 warning truthy value should be one of [false, true] (truthy) 15:21 warning truthy value should be one of [false, true] (truthy) 17:3 error wrong indentation: expected 4 but found 2 (indentation) 18:5 error wrong indentation: expected 6 but found 4 (indentation) 20:5 error wrong indentation: expected 6 but found 4 (indentation) 22:7 error wrong indentation: expected 8 but found 6 (indentation) 25:3 error wrong indentation: expected 4 but found 2 (indentation) 26:5 error wrong indentation: expected 6 but found 4 (indentation) 27:7 error wrong indentation: expected 8 but found 6 (indentation) 29:5 error wrong indentation: expected 6 but found 4 (indentation) 31:5 error wrong indentation: expected 6 but found 4 (indentation) 33:5 error wrong indentation: expected 6 but found 4 (indentation) 35:5 error wrong indentation: expected 6 but found 4 (indentation) 37:3 error wrong indentation: expected 4 but found 2 (indentation) 38:5 error wrong indentation: expected 6 but found 4 (indentation) 40:5 error wrong indentation: expected 6 but found 4 (indentation) 42:5 error wrong indentation: expected 6 but found 4 (indentation) 45:3 error wrong indentation: expected 4 but found 2 (indentation) pillar.debian.example 1:1 warning missing document start "---" (document-start) 3:24 warning truthy value should be one of [false, true] (truthy) 5:16 warning truthy value should be one of [false, true] (truthy) 6:17 warning truthy value should be one of [false, true] (truthy) 15:7 error wrong indentation: expected 8 but found 6 (indentation) 21:7 error wrong indentation: expected 8 but found 6 (indentation) 24:7 error wrong indentation: expected 8 but found 6 (indentation) 27:7 error wrong indentation: expected 8 but found 6 (indentation) 30:7 error wrong indentation: expected 8 but found 6 (indentation) 33:7 error wrong indentation: expected 8 but found 6 (indentation) 36:7 error wrong indentation: expected 8 but found 6 (indentation) 39:7 error wrong indentation: expected 8 but found 6 (indentation) 42:7 error wrong indentation: expected 8 but found 6 (indentation) 45:7 error wrong indentation: expected 8 but found 6 (indentation) 50:7 error wrong indentation: expected 8 but found 6 (indentation) 51:9 error wrong indentation: expected 10 but found 8 (indentation) 53:7 error wrong indentation: expected 8 but found 6 (indentation) 54:9 error wrong indentation: expected 10 but found 8 (indentation) 56:7 error wrong indentation: expected 8 but found 6 (indentation) 57:9 error wrong indentation: expected 10 but found 8 (indentation) 61:7 error wrong indentation: expected 8 but found 6 (indentation) 62:9 error wrong indentation: expected 10 but found 8 (indentation) 64:7 error wrong indentation: expected 8 but found 6 (indentation) 65:9 error wrong indentation: expected 10 but found 8 (indentation) 67:7 error wrong indentation: expected 8 but found 6 (indentation) 68:9 error wrong indentation: expected 10 but found 8 (indentation) 72:7 error wrong indentation: expected 8 but found 6 (indentation) 73:9 error wrong indentation: expected 10 but found 8 (indentation) 75:7 error wrong indentation: expected 8 but found 6 (indentation) 76:9 error wrong indentation: expected 10 but found 8 (indentation) 78:7 error wrong indentation: expected 8 but found 6 (indentation) 79:9 error wrong indentation: expected 10 but found 8 (indentation) 83:7 error wrong indentation: expected 8 but found 6 (indentation) 84:9 error wrong indentation: expected 10 but found 8 (indentation) 88:7 error wrong indentation: expected 8 but found 6 (indentation) 89:9 error wrong indentation: expected 10 but found 8 (indentation) 93:7 error wrong indentation: expected 8 but found 6 (indentation) 94:9 error wrong indentation: expected 10 but found 8 (indentation) 98:7 error wrong indentation: expected 8 but found 6 (indentation) 99:9 error wrong indentation: expected 10 but found 8 (indentation) 103:7 error wrong indentation: expected 8 but found 6 (indentation) 105:7 error wrong indentation: expected 8 but found 6 (indentation) 107:7 error wrong indentation: expected 8 but found 6 (indentation) 109:7 error wrong indentation: expected 8 but found 6 (indentation) 111:7 error wrong indentation: expected 8 but found 6 (indentation) 113:7 error wrong indentation: expected 8 but found 6 (indentation) 115:7 error wrong indentation: expected 8 but found 6 (indentation) 117:7 error wrong indentation: expected 8 but found 6 (indentation) 120:7 error wrong indentation: expected 8 but found 6 (indentation) 122:7 error wrong indentation: expected 8 but found 6 (indentation) 125:7 error wrong indentation: expected 8 but found 6 (indentation) 127:7 error wrong indentation: expected 8 but found 6 (indentation) 129:7 error wrong indentation: expected 8 but found 6 (indentation) 131:7 error wrong indentation: expected 8 but found 6 (indentation) 133:7 error wrong indentation: expected 8 but found 6 (indentation) 135:7 error wrong indentation: expected 8 but found 6 (indentation) 135:89 error line too long (97 > 88 characters) (line-length) 137:7 error wrong indentation: expected 8 but found 6 (indentation) 139:7 error wrong indentation: expected 8 but found 6 (indentation) 141:7 error wrong indentation: expected 8 but found 6 (indentation) 143:7 error wrong indentation: expected 8 but found 6 (indentation) 145:7 error wrong indentation: expected 8 but found 6 (indentation) 147:7 error wrong indentation: expected 8 but found 6 (indentation) 149:7 error wrong indentation: expected 8 but found 6 (indentation) 151:7 error wrong indentation: expected 8 but found 6 (indentation) ```
vor 5 Jahren
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash syslog-ng-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") ./syslog_ng/defaults.yml 4:1 warning missing document start "---" (document-start) ./syslog_ng/os_family_map.yml 4:1 warning missing document start "---" (document-start) ./syslog_ng/os_codename_map.yml 5:1 warning missing document start "---" (document-start) pillar.example 1:1 warning missing document start "---" (document-start) 3:3 error wrong indentation: expected 4 but found 2 (indentation) 5:3 error wrong indentation: expected 4 but found 2 (indentation) 7:3 error wrong indentation: expected 4 but found 2 (indentation) 10:3 error wrong indentation: expected 4 but found 2 (indentation) 10:15 warning truthy value should be one of [false, true] (truthy) 11:14 warning truthy value should be one of [false, true] (truthy) 12:15 warning truthy value should be one of [false, true] (truthy) 13:20 warning truthy value should be one of [false, true] (truthy) 14:22 warning truthy value should be one of [false, true] (truthy) 15:21 warning truthy value should be one of [false, true] (truthy) 17:3 error wrong indentation: expected 4 but found 2 (indentation) 18:5 error wrong indentation: expected 6 but found 4 (indentation) 20:5 error wrong indentation: expected 6 but found 4 (indentation) 22:7 error wrong indentation: expected 8 but found 6 (indentation) 25:3 error wrong indentation: expected 4 but found 2 (indentation) 26:5 error wrong indentation: expected 6 but found 4 (indentation) 27:7 error wrong indentation: expected 8 but found 6 (indentation) 29:5 error wrong indentation: expected 6 but found 4 (indentation) 31:5 error wrong indentation: expected 6 but found 4 (indentation) 33:5 error wrong indentation: expected 6 but found 4 (indentation) 35:5 error wrong indentation: expected 6 but found 4 (indentation) 37:3 error wrong indentation: expected 4 but found 2 (indentation) 38:5 error wrong indentation: expected 6 but found 4 (indentation) 40:5 error wrong indentation: expected 6 but found 4 (indentation) 42:5 error wrong indentation: expected 6 but found 4 (indentation) 45:3 error wrong indentation: expected 4 but found 2 (indentation) pillar.debian.example 1:1 warning missing document start "---" (document-start) 3:24 warning truthy value should be one of [false, true] (truthy) 5:16 warning truthy value should be one of [false, true] (truthy) 6:17 warning truthy value should be one of [false, true] (truthy) 15:7 error wrong indentation: expected 8 but found 6 (indentation) 21:7 error wrong indentation: expected 8 but found 6 (indentation) 24:7 error wrong indentation: expected 8 but found 6 (indentation) 27:7 error wrong indentation: expected 8 but found 6 (indentation) 30:7 error wrong indentation: expected 8 but found 6 (indentation) 33:7 error wrong indentation: expected 8 but found 6 (indentation) 36:7 error wrong indentation: expected 8 but found 6 (indentation) 39:7 error wrong indentation: expected 8 but found 6 (indentation) 42:7 error wrong indentation: expected 8 but found 6 (indentation) 45:7 error wrong indentation: expected 8 but found 6 (indentation) 50:7 error wrong indentation: expected 8 but found 6 (indentation) 51:9 error wrong indentation: expected 10 but found 8 (indentation) 53:7 error wrong indentation: expected 8 but found 6 (indentation) 54:9 error wrong indentation: expected 10 but found 8 (indentation) 56:7 error wrong indentation: expected 8 but found 6 (indentation) 57:9 error wrong indentation: expected 10 but found 8 (indentation) 61:7 error wrong indentation: expected 8 but found 6 (indentation) 62:9 error wrong indentation: expected 10 but found 8 (indentation) 64:7 error wrong indentation: expected 8 but found 6 (indentation) 65:9 error wrong indentation: expected 10 but found 8 (indentation) 67:7 error wrong indentation: expected 8 but found 6 (indentation) 68:9 error wrong indentation: expected 10 but found 8 (indentation) 72:7 error wrong indentation: expected 8 but found 6 (indentation) 73:9 error wrong indentation: expected 10 but found 8 (indentation) 75:7 error wrong indentation: expected 8 but found 6 (indentation) 76:9 error wrong indentation: expected 10 but found 8 (indentation) 78:7 error wrong indentation: expected 8 but found 6 (indentation) 79:9 error wrong indentation: expected 10 but found 8 (indentation) 83:7 error wrong indentation: expected 8 but found 6 (indentation) 84:9 error wrong indentation: expected 10 but found 8 (indentation) 88:7 error wrong indentation: expected 8 but found 6 (indentation) 89:9 error wrong indentation: expected 10 but found 8 (indentation) 93:7 error wrong indentation: expected 8 but found 6 (indentation) 94:9 error wrong indentation: expected 10 but found 8 (indentation) 98:7 error wrong indentation: expected 8 but found 6 (indentation) 99:9 error wrong indentation: expected 10 but found 8 (indentation) 103:7 error wrong indentation: expected 8 but found 6 (indentation) 105:7 error wrong indentation: expected 8 but found 6 (indentation) 107:7 error wrong indentation: expected 8 but found 6 (indentation) 109:7 error wrong indentation: expected 8 but found 6 (indentation) 111:7 error wrong indentation: expected 8 but found 6 (indentation) 113:7 error wrong indentation: expected 8 but found 6 (indentation) 115:7 error wrong indentation: expected 8 but found 6 (indentation) 117:7 error wrong indentation: expected 8 but found 6 (indentation) 120:7 error wrong indentation: expected 8 but found 6 (indentation) 122:7 error wrong indentation: expected 8 but found 6 (indentation) 125:7 error wrong indentation: expected 8 but found 6 (indentation) 127:7 error wrong indentation: expected 8 but found 6 (indentation) 129:7 error wrong indentation: expected 8 but found 6 (indentation) 131:7 error wrong indentation: expected 8 but found 6 (indentation) 133:7 error wrong indentation: expected 8 but found 6 (indentation) 135:7 error wrong indentation: expected 8 but found 6 (indentation) 135:89 error line too long (97 > 88 characters) (line-length) 137:7 error wrong indentation: expected 8 but found 6 (indentation) 139:7 error wrong indentation: expected 8 but found 6 (indentation) 141:7 error wrong indentation: expected 8 but found 6 (indentation) 143:7 error wrong indentation: expected 8 but found 6 (indentation) 145:7 error wrong indentation: expected 8 but found 6 (indentation) 147:7 error wrong indentation: expected 8 but found 6 (indentation) 149:7 error wrong indentation: expected 8 but found 6 (indentation) 151:7 error wrong indentation: expected 8 but found 6 (indentation) ```
vor 5 Jahren
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. ## Machine config
  5. os: 'linux'
  6. arch: 'amd64'
  7. dist: 'bionic'
  8. version: '~> 1.0'
  9. ## Language and cache config
  10. language: 'ruby'
  11. cache: 'bundler'
  12. ## Stages and jobs matrix
  13. stages:
  14. - test
  15. - name: 'release'
  16. if: 'branch = master AND type != pull_request'
  17. jobs:
  18. allow_failures:
  19. - env: Lint_rubocop
  20. fast_finish: true
  21. include:
  22. ## Define the test stage that runs the linters (and testing matrix, if applicable)
  23. # Run all of the linters in a single job (except `rubocop`)
  24. - language: 'node_js'
  25. node_js: 'lts/*'
  26. env: 'Lint'
  27. name: 'Lint: salt-lint, yamllint, shellcheck & commitlint'
  28. before_install: 'skip'
  29. script:
  30. # Install and run `salt-lint`
  31. - pip install --user salt-lint
  32. - git ls-files -- '*.sls' '*.jinja' '*.j2' '*.tmpl' '*.tst'
  33. | xargs salt-lint
  34. # Install and run `yamllint`
  35. # Need at least `v1.17.0` for the `yaml-files` setting
  36. - pip install --user yamllint>=1.17.0
  37. - yamllint -s .
  38. # Run `shellcheck` (already pre-installed in Travis)
  39. - shellcheck --version
  40. - git ls-files -- '*.sh' '*.bash' '*.ksh'
  41. | xargs shellcheck
  42. # Install and run `commitlint`
  43. - npm i -D @commitlint/config-conventional
  44. @commitlint/travis-cli
  45. - commitlint-travis
  46. # Run the `rubocop` linter in a separate job that is allowed to fail
  47. # Once these lint errors are fixed, this can be merged into a single job
  48. - language: node_js
  49. node_js: lts/*
  50. env: Lint_rubocop
  51. name: 'Lint: rubocop'
  52. before_install: skip
  53. script:
  54. # Install and run `rubocop`
  55. - gem install rubocop
  56. - rubocop -d
  57. ## Define the release stage that runs `semantic-release`
  58. - stage: 'release'
  59. language: 'node_js'
  60. node_js: 'lts/*'
  61. env: 'Release'
  62. name: 'Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA'
  63. before_install: 'skip'
  64. script:
  65. # Update `AUTHORS.md`
  66. - export MAINTAINER_TOKEN=${GH_TOKEN}
  67. - go get github.com/myii/maintainer
  68. - maintainer contributor
  69. # Install all dependencies required for `semantic-release`
  70. - npm i -D @semantic-release/changelog@3
  71. @semantic-release/exec@3
  72. @semantic-release/git@7
  73. deploy:
  74. provider: 'script'
  75. # Opt-in to `dpl v2` to complete the Travis build config validation (beta)
  76. # * https://docs.travis-ci.com/user/build-config-validation
  77. # Deprecated `skip_cleanup` can now be avoided, `cleanup: false` is by default
  78. edge: true
  79. # Run `semantic-release`
  80. script: 'npx semantic-release@15.14'
  81. # Notification options: `always`, `never` or `change`
  82. notifications:
  83. webhooks:
  84. if: 'repo = saltstack-formulas/syslog-ng-formula'
  85. urls:
  86. - https://saltstack-formulas.zulipchat.com/api/v1/external/travis?api_key=HsIq3o5QmLxdnVCKF9is0FUIpkpAY79P&stream=CI&topic=saltstack-formulas%2Fsyslog-ng-formula&ignore_pull_requests=true
  87. on_success: always # default: always
  88. on_failure: always # default: always
  89. on_start: always # default: never
  90. on_cancel: always # default: always
  91. on_error: always # default: always