Dafydd Jones
46130c4c09
test(pre-commit): switch to using pre-commit
's built-in file filtering
...
* only run `yamllint` when relevant files have changed
* avoids having to exclude files/dirs not tracked by Git
e.g. .kitchen/, .bundle/ etc.
* avoids a `yamllint` bug whereby pillar files under `test/`
were not checked due to a conflicting `ignore` entry
2023-11-09 23:34:43 +00:00
Imran Iqbal
e14f83019a
ci: add Debian 11 Bullseye & update yamllint
configuration [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/345
2021-07-18 19:06:33 +01:00
Imran Iqbal
d9ee80784b
chore: update CODEOWNERS
& .yamllint
re: kitchen-vagrant
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/310
2021-04-05 18:22:50 +01:00
Imran Iqbal
d356e20411
chore(yamllint): add .git/
to ignores [skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/297
2021-03-05 18:36:17 +00:00
Imran Iqbal
0403f62c77
ci(gitlab-ci): use GitLab CI as Travis CI replacement
...
* Automated using https://github.com/myii/ssf-formula/pull/275
2020-12-16 06:59:07 +00:00
Imran Iqbal
2df46466f6
ci(travis): run salt-lint
during the Lint
job
...
* Automated using https://github.com/myii/ssf-formula/pull/60
* Initially mentioned on Slack (@dafyddj):
- https://freenode.logbot.info/saltstack-formulas/20191004#c2723464
* Basis for the `git ls-files` invocation (@sblaisot):
- https://freenode.logbot.info/saltstack-formulas/20191004#c2724272
2019-10-08 20:12:34 +01:00
Imran Iqbal
44ce327925
chore(yamllint): update ignored paths and add octal-values
[skip ci]
...
* Automated using https://github.com/myii/ssf-formula/pull/59
2019-10-07 19:21:27 +01:00
Imran Iqbal
70ed7e2f10
ci(yamllint): add rule empty-values
& use new yaml-files
setting
...
* Automated using https://github.com/myii/ssf-formula/pull/27
* Close #164
2019-09-10 22:46:52 +01:00
Imran Iqbal
e76525f130
feat(yamllint): include for this repo and apply rules throughout
...
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
template-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./test/integration/default/inspec.yml
1:1 warning missing document start "---" (document-start)
./template/osfamilymap.yaml
1:89 error line too long (116 > 88 characters) (line-length)
1:24 error trailing spaces (trailing-spaces)
13:2 error syntax error: found character '%' that cannot start any token
pillar.example
14:4 error syntax error: found character '%' that cannot start any token
```
2019-08-07 18:27:31 +01:00