Compare commits

..

3 Commits

Author SHA1 Message Date
7ad05670a7
Address salt-lint errors/warnings
Some checks failed
ci/lysergic/push/pipeline Pipeline failed
- remove trailing whitespaces
- format octal modes correctly
- trim lines or add ignore rules where necessary

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-15 23:08:18 +01:00
7ef54079a6
Address yamllint errors/warnings
Some checks failed
ci/lysergic/push/pipeline Pipeline failed
- remove spaces, add headers
- add ignore for line-lengths in .pipeline.yml

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-15 23:01:41 +01:00
cf1e4318d2
Add linting pipeline
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-15 23:01:41 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ pipeline:
- git clone --single-branch -b $CI_COMMIT_BRANCH $CI_REPO_LINK ../salt-libertacasa-linting
- cd ../salt-libertacasa-linting
- find . -type f \( -name '*.yaml' -o -name '*.yml' \) -exec yamllint -f colored -s {} +
- find . -name '*.sls' -exec salt-lint --severity -x 204 {} +
- find . -name '*.sls' -exec salt-lint --severity {} +
check:
image: registry.opensuse.org/home/crameleon/libertacasa/containers/containerfile/libertacasa/pipeline:latest

View File

@ -19,7 +19,7 @@ node_exporter_sysconfig:
- pattern: |
^ARGS=.*$
- repl: |
ARGS="--web.listen-address=:9200 --collector.filesystem.fs-types-exclude='^(fuse.s3fs|fuse.cryfs|tmpfscgroup2?|debugfs|devpts|devtmpfs|fusectl|overlay|proc|procfs|pstore)\$' --no-collector.zfs --no-collector.thermal_zone --no-collector.powersupplyclass"
ARGS="--web.listen-address=:9200 --collector.filesystem.fs-types-exclude='^(fuse.s3fs|fuse.cryfs|tmpfscgroup2?|debugfs|devpts|devtmpfs|fusectl|overlay|proc|procfs|pstore)\$' --no-collector.zfs --no-collector.thermal_zone --no-collector.powersupplyclass" # yamllint disable-line rule:line-length
- require:
- pkg: node_exporter_packages
- file: node_exporter_sysconfig_header