Releases: kyverno/chainsaw
Releases · kyverno/chainsaw
v0.0.9
‼️ Breaking changes ‼️
- Renamed
chainsaw kuttl migrate config
command tochainsaw migrate kuttl config
- Renamed
chainsaw kuttl migrate tests
command tochainsaw migrate kuttl tests
- Removed
testDirs
fromConfiguration
spec, it is only supported in flags now - Removed
TestStep
based tests support, keeping onlyTest
based or raw manifests
💫 New features 💫
- Added a cleanup delay option to add a delay between the time a test ends and the time cleanup starts
- Added support for overriding termination grace period on a per test basis
- Default test dirs to
.
when flag not specified - Added
chainsaw migrate tests
command to migrateTestStep
based tests toTest
based - Generate json schemas to support validation and autocomplete in IDEs
🔧 Fixes 🔧
- Fixed
command
andscript
log output when multiple sections are present - Fixed delete timeout used instead of cleanup timeout
- Return an error if a test dir is not accessible
✨ UI changes ✨
- Use
@setup
and@cleanup
in the logs to indicate setup/cleanup steps - Made resource in log messages easier to read
📚 Docs 📚
- Improved the Writing tests/Configuration docs
- Improved the Writing tests/Tests docs
- Added Writing tests/JSON schemas docs to use generated JSON schemas for validation and autocomplete in VS code
🎸 Misc 🎸
What's Changed
- fix: log output with multiple sections by @eddycharly in #592
- test: pkg/runner/run.go by @shubham-cmyk in #582
- chore(deps): Bump anchore/sbom-action from 0.15.0 to 0.15.1 by @dependabot in #595
- chore(deps): Bump aquasecurity/trivy-action from 0.14.0 to 0.15.0 by @dependabot in #594
- fix: cleanup timeout by @eddycharly in #596
- refactor: cleanup management by @eddycharly in #597
- feat: add cleanup delay support by @eddycharly in #599
- fix: check folders in test command by @eddycharly in #600
- fix: e2e test names by @eddycharly in #601
- fix: cleanup delay by @eddycharly in #602
- feat: add support for overriding termination grace period in test by @eddycharly in #603
- refactor: rename kuttl migrate to migrate kuttl by @eddycharly in #604
- test: pkg/runner/processors- Part1 by @shubham-cmyk in #564
- feat: add command to migrate tests using TestStep by @eddycharly in #605
- fix: improve log messages by @eddycharly in #607
- feat: remove TestStep based tests support by @eddycharly in #606
- chore(deps): Bump actions/setup-go from 4.1.0 to 5.0.0 by @dependabot in #608
- feat: add json schemas support by @eddycharly in #609
- chore: use schemas in examples by @eddycharly in #610
- fix: migration commands by @eddycharly in #611
- refactor: remove test dirs from config by @eddycharly in #612
- chore: update release notes by @eddycharly in #617
- chore: update docs by @eddycharly in #620
- release: v0.0.9 by @eddycharly in #621
Full Changelog: v0.0.8...v0.0.9
v0.0.9-alpha.4
Changelog
- cd59066 chore(deps): Bump actions/setup-go from 4.1.0 to 5.0.0 (#608)
- b33da72 chore: use schemas in examples (#610)
- f44eb10 feat: add command to migrate tests using TestStep (#605)
- 854f5a6 feat: add json schemas support (#609)
- 83e6f33 feat: remove TestStep based tests support (#606)
- 569a15f fix: improve log messages (#607)
- 81a719b fix: migration commands (#611)
- 1ecb519 refactor: remove test dirs from config (#612)
- cc16634 refactor: rename kuttl migrate to migrate kuttl (#604)
v0.0.9-alpha.3
v0.0.9-alpha.2
v0.0.9-alpha.1
Changelog
- bb16121 chore(deps): Bump anchore/sbom-action from 0.15.0 to 0.15.1 (#595)
- caacf75 chore(deps): Bump aquasecurity/trivy-action from 0.14.0 to 0.15.0 (#594)
- bf85994 feat: add cleanup delay support (#599)
- a755161 fix: check folders in test command (#600)
- 54c7a71 fix: cleanup timeout (#596)
- 3a86751 fix: e2e test names (#601)
- b652971 fix: log output with multiple sections (#592)
- a3c93a1 refactor: cleanup management (#597)
v0.0.8
‼️ Breaking changes ‼️
- Changed
check
toexpect
in deleteoperation
- Kuttl migration command split into
chainsaw kuttl migrate tests
andchainsaw kuttl migrate config
timeout
was moved inside operations that support a timeout (all operations but sleep)
💫 New features 💫
- Added support to register Chainsaw specific JMESPath functions for use in assertion trees
- Added inline manifest support to
assert
anderror
operations - Added a
description
field toTest
,TestStep
,Operation
,Catch
andFinally
- Added a command to generate tests documentation
- Added
sleep
operation support intry
,catch
andfinally
- Added support to reference remote files
🔧 Fixes 🔧
- Don't show
command
orscript
logs if there's nothing to show - Fixed
timeouts
always set when migrating kuttl tests
📚 Docs 📚
- Added community docs page
- Added supported JMESPath functions docs
- Fixed inconsistencies in GitHub action install docs
- The
Writing tests
docs section were rewritten for more clarity
🎸 Misc 🎸
- We now have a dedicated slack channel
What's Changed
- chore: add dedicated slack channel in readme by @eddycharly in #532
- chore: bump kyverno-json by @eddycharly in #535
- docs: Roadmap.md by @shubham-cmyk in #537
- feat: allow extend kyverno-json function caller by @eddycharly in #536
- chore: add end to end tests by @eddycharly in #539
- feat: use expect in delete op by @eddycharly in #540
- feat: add inline assert and error support by @eddycharly in #541
- fix: don't show cmd/script logs if empty by @eddycharly in #542
- feat: add description fields by @eddycharly in #543
- fix: broken link by @shubham-cmyk in #544
- feat: add command to generate test docs by @eddycharly in #545
- refactor: kuttl tests migration by @eddycharly in #547
- chore: add codecov config file by @eddycharly in #549
- fix: make timeouts fields pointers by @eddycharly in #550
- feat: add kuttl migrate config command by @eddycharly in #551
- chore: fix flags by @eddycharly in #552
- chore: add catch and finally examples by @eddycharly in #553
- chore: add unit tests by @eddycharly in #554
- chore: add unit tests by @eddycharly in #555
- chore: add generate command unit tests by @eddycharly in #562
- Add myself to codeowner by @shubham-cmyk in #546
- feat: add sleep action support by @eddycharly in #566
- refactor: timeout management by @eddycharly in #567
- chore: replace interface by any by @eddycharly in #568
- refactor: timeouts management (part 2) by @eddycharly in #569
- refactor: delete operation by @eddycharly in #571
- feat: Support Github Raw files by @shubham-cmyk in #565
- chore: add unit tests by @eddycharly in #572
- refactor: operation logs by @eddycharly in #573
- refactor: operations by @eddycharly in #574
- chore: add unit tests by @eddycharly in #575
- chore: update release notes by @eddycharly in #578
- feat: add community docs page by @eddycharly in #579
- chore: update docs by @eddycharly in #580
- chore: update docs by @eddycharly in #583
- chore: explain exit code check in runner.Run by @eddycharly in #584
- fix: release notes by @eddycharly in #585
- fix: pinned actions check by @eddycharly in #587
- chore(deps): Bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.1 to 3.0.2 by @dependabot in #586
- doc: add url Support in operation file Ref by @shubham-cmyk in #588
- release: v0.0.8 by @eddycharly in #589
Full Changelog: v0.0.7...v0.0.8
v0.0.8-alpha.1
Changelog
- 26d449d Add myself to codeowner (#546)
- a34dd73 chore: add catch and finally examples (#553)
- 183bcee chore: add codecov config file (#549)
- 97e1a92 chore: add dedicated slack channel in readme (#532)
- 3159185 chore: add end to end tests (#539)
- bdeee5c chore: add generate command unit tests (#562)
- 0045cb1 chore: add unit tests (#554)
- 9ae1c0a chore: add unit tests (#555)
- 56554d6 chore: add unit tests (#572)
- e43bf8c chore: add unit tests (#575)
- fea60e2 chore: bump kyverno-json (#535)
- db1bb9e chore: fix flags (#552)
- 76e1bf1 chore: replace interface by any (#568)
- a0d5b70 feat: Support Github Raw files (#565)
- 8877e45 feat: add command to generate test docs (#545)
- a60ad3c feat: add descritption fields (#543)
- d31ee7b feat: add inline assert and error support (#541)
- 1088a18 feat: add migrate kuttl config command (#551)
- ad2691a feat: add sleep action support (#566)
- 86f592d feat: allow extend kyverno-json function caller (#536)
- 47cb7b5 feat: use expect in delete op (#540)
- 9b5ed1f fix broken link (#544)
- 6e67eef fix: don't show cmd/script logs if empty (#542)
- ae4c0a8 fix: make timeouts fields pointers (#550)
- d6daf33 refactor: delete operation (#571)
- f83335d refactor: kuttl tests migration (#547)
- 7660a42 refactor: operation logs (#573)
- 0631dc5 refactor: operations (#574)
- 29f814f refactor: timeout management (#567)
- 6f3289d refactor: timeouts management (part 2) (#569)
v0.0.7
‼️ Breaking changes ‼️
- Object reference in
delete
is now under theref
field - Check in
apply
andcreate
operations was renamed toexpect
and is now an array ofExpectation
s (a combination of a match and a check) - Additional data passed to
check
s are now done using bindings ($error
,$stdout
,$stderr
, etc...)
💫 New features 💫
- Added timeout support in
try
andcatch
handlers - Added assertion tree check in
delete
operation - Added a new configuration option to force termination graceful period on
Pod
,Deployment
,StatefulSet
,DaemonSet
,Job
andCronJob
- Added reports support
- Completed kuttl migration command with
TestAssert
support
🔧 Fixes 🔧
- Fixed a kuttl migration failure in case of unsupported file name
- Fixed a potential invalid name when migrating a kuttl test step
- Fixed
check
set tonull
in kuttl migration command - Fixed a manifest discovery issue where manifests could be loaded in the wrong order
- Fixed a manifest discovery issue where error manifests where not discovered correctly
- Fixed controller-runtime logger not initialised
- Fixed
command
andscript
bug not receiving the right error in$error
check
📚 Docs 📚
- Added missing descriptions on API reference docs
🎸 Misc 🎸
- Added command line log in
command
andscript
operations
Changelog
- a4e4909 chore(deps): Bump github.com/go-logr/logr from 1.2.4 to 1.3.0 (#525)
- d621c00 chore: add unit tests (#518)
- f563017 chore: add unit tests (#521)
- a8e1ab0 chore: add unit tests (#522)
- 770c9ad chore: add unit tests (#523)
- dc6f61f chore: add unit tests (#526)
- 1edbe3b chore: typo in release notes (#520)
- 5acb110 chore: update release notes (#524)
- c94d97e chore: update release notes for (#519)
- 1e74e43 chore: update v0.0.7 docs (#527)
- 5ca138f release: v0.0.7 (#528)
v0.0.7-alpha.5
v0.0.7-alpha.4
Changelog
- e4e3f91 chore: add command and script log (#498)
- 578bec7 chore: add expectations unit tests (#507)
- d9817fe chore: add missing validation unit tests (#505)
- 1dd5415 chore: add unit tests (#490)
- 0a38161 chore: add unit tests (#491)
- 135704f chore: add unit tests (#508)
- 0182001 chore: add unit tests (#509)
- 898d3f0 chore: add unit tests (#510)
- 68d5bc0 chore: add unit tests (#511)
- 9043dcc chore: add unit tests (#514)
- 432d7d4 feat: Add report Part-2 (#448)
- 5d0db86 feat: add check and matched check (#495)
- e266cb1 feat: add force grace termination period support (#513)
- 283f027 feat: improve checks in api (#497)
- c581b40 feat: use bindings in checks (#502)
- 750643a fix: fail fast not working (#504)
- e600391 fix: remove pod workaround (#512)
- da09509 section (#501)