1
0
Fork 0
Commit Graph

570 Commits

Author SHA1 Message Date
ssube 8ab6bb24d5 fix(docs): cover loading rules from module and path 2019-11-03 13:13:24 -06:00
ssube 44b1a6019e fix(tests): cover visit rules pass and errors 2019-11-03 13:13:24 -06:00
ssube ebe15fb207 fix: extract rule interface 2019-11-03 13:13:24 -06:00
ssube fcd4740eee fix(visitor): include rule name and selector in error messages 2019-11-03 13:13:24 -06:00
ssube 5fefe0c79d fix(config): group yargs to fix result TS interface 2019-11-03 13:13:24 -06:00
ssube 97256855ac fix(visitor): handle missing errors gracefully 2019-11-03 13:13:24 -06:00
ssube a3b8341b75 fix(docs): note pretty-printing logs 2019-11-03 13:13:24 -06:00
ssube 988b942fca fix(rules): filter gitlab jobs better
list other top-level keys and replace the patternProperties filter
with additionalProperties to prevent top-level keys from being
validated as jobs (which they will fail)
2019-11-03 13:13:24 -06:00
ssube 842006c34a fix(visitor): remove error method from context
BREAKING CHANGE: rule errors must be grouped and returned in the rule
result, fixing #114 and keeping the context immutable.
2019-11-03 13:13:24 -06:00
ssube 247e1ab03d fix(tests): add gitlab CI test snippet, move test snippets into test dir 2019-11-03 13:13:24 -06:00
ssube 0c30036c98 fix(rules): group rule errors to trigger correct failure (#114) 2019-11-03 13:13:24 -06:00
ssube b5d4698e5a fix(rules): remove redundant rule field from result
the value of the rule field is always this and it is unused by the
visitor.
2019-11-03 13:13:24 -06:00
ssube a2a0fb4423 fix: move completion into main, remove weird exit from arg parsing 2019-11-03 13:13:24 -06:00
ssube b99431b368 feat(visitor): move jsonpath pick to context for modules to use 2019-11-03 13:13:24 -06:00
ssube 29e9462ca9 fix(visitor): log added schemas correctly 2019-11-03 13:13:24 -06:00
ssube 05f3f2f315 fix: include active/loaded rule count in list mode output 2019-11-03 13:13:24 -06:00
ssube 5229ada847 feat(rules): load JSON rule files when using --rule-path 2019-11-03 13:13:24 -06:00
ssube c9a42f3863 fix(build): clean up after container builds 2019-11-03 13:13:24 -06:00
ssube 79b4c9a9db fix(build): add full build target for local and containers 2019-11-03 13:13:24 -06:00
ssube 9fbf7cc0c7 feat: load rules from directories (#8) and modules (#6) 2019-11-03 13:13:24 -06:00
ssube 59e7c138c0 fix: build a rule selector from args, log it in list mode 2019-11-03 13:13:24 -06:00
ssube 4159004dd4 lint: remove confusing *sync wrapper names 2019-11-03 13:13:24 -06:00
ssube b3dc864f0d feat: split rule and helpers, test rule 2019-11-03 13:13:24 -06:00
ssube f8059452bc feat(build): add build-in-image targets to make 2019-11-03 13:13:24 -06:00
ssube d2156a5b23 fix(tests): use count flag to check example errors 2019-11-03 13:13:24 -06:00
ssube e05d429164 artifact all output files 2019-11-03 13:13:24 -06:00
ssube 94fafb7fb7 fix typo 2019-11-03 13:13:24 -06:00
ssube fa75b38d8b run full tests in build job 2019-11-03 13:13:24 -06:00
ssube 0e1265a29c fix docker job stages 2019-11-03 13:13:24 -06:00
ssube c5f42d6d8f add stage back to docker jobs 2019-11-03 13:13:24 -06:00
ssube f9d3a44c9c fix(build): include template jobs 2019-11-03 13:13:24 -06:00
ssube 3ae94127b5 fix(build): replace template jobs with extends 2019-11-03 13:13:24 -06:00
ssube a5bb2f4db3 fix(build): adopt rollup-template makefile, CI scripts 2019-11-03 13:13:24 -06:00
ssube b3c66dc702 fix(rules/tsconfig): flatten target-lib using data refs 2019-11-02 07:36:48 -05:00
ssube 2b0dc923d3 feat: enable data refs 2019-11-02 07:36:48 -05:00
Renovate Bot d58ed74b65 update: update dependency rollup to v1.26.3 2019-11-02 07:30:42 -05:00
ssube afeba99797
fix(rules): validate rule check/filter against full JSON schema metaschema 2019-11-01 07:31:55 -05:00
ssube da0e080a0a
fix(build): exclude partial typedefs and test bundle from package 2019-11-01 06:44:04 -05:00
ssube 547e0261bc
chore(release): 0.7.1 2019-11-01 06:17:03 -05:00
Renovate Bot 6ecec7ae33 update: update dependency rollup to v1.26.2 2019-11-01 06:11:33 -05:00
ssube e7d1f9f204
fix(docs): update readme tags 2019-11-01 06:03:44 -05:00
ssube b9819b8efa
fix(build): publish npm packages to npmjs.org 2019-11-01 05:57:39 -05:00
ssube 63b6e48cc7
fix(rule): log and apply mutation when rule has > 0 diffs 2019-11-01 05:46:31 -05:00
ssube 3b2e421c0c
chore(release): 0.7.0 2019-11-01 05:44:58 -05:00
ssube e7d40be76f check image arch without short-circuiting 2019-11-01 05:42:03 -05:00
ssube 29c5ae831e explicitly set other images to be non-default arch 2019-11-01 05:42:03 -05:00
ssube a19726e030 fix typo 2019-11-01 05:42:03 -05:00
ssube 77c1d0cde4 fix(tests): always print actual exit status of test scenarios 2019-11-01 05:42:03 -05:00
ssube 6ab7d9c6e4 fix(config): pass include errors as nested cause 2019-11-01 05:42:03 -05:00
ssube 37b1aaeb51 fix(build): set a default image arch, do not suffix those tags 2019-11-01 05:42:03 -05:00