Skip to content

Commit

Permalink
feat(salt-lint): improve salt-lint invocation (better performance)
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Nov 1, 2019
1 parent 1fbd5f7 commit ecc81b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length
title: 'fix(release.config.js): use full commit hash in commit link [skip ci]'
body: '* Automated using https://github.com/myii/ssf-formula/pull/89'
title: 'perf(travis): improve `salt-lint` invocation [skip ci]'
body: '* Automated using https://github.com/myii/ssf-formula/pull/90'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down
2 changes: 1 addition & 1 deletion ssf/files/default/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
# Install and run `salt-lint`
- {{ pip_cmd }} install --user salt-lint
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$'
| xargs -I {} salt-lint {}
| xargs salt-lint
# Install and run `yamllint`
# Need at least `v1.17.0` for the `yaml-files` setting
- {{ pip_cmd }} install --user yamllint>=1.17.0
Expand Down
2 changes: 1 addition & 1 deletion ssf/files/tofs_ssf-formula/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
# Install and run `salt-lint`
- {{ pip_cmd }} install --user salt-lint
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$'
| xargs -I {} salt-lint {}
| xargs salt-lint
# Install and run `yamllint`
# Need at least `v1.17.0` for the `yaml-files` setting
- {{ pip_cmd }} install --user yamllint>=1.17.0
Expand Down

0 comments on commit ecc81b0

Please sign in to comment.