Skip to content

Releases: kyverno/chainsaw

v0.0.9

08 Dec 12:24
7885ebe
Compare
Choose a tag to compare

‼️ Breaking changes ‼️

  • Renamed chainsaw kuttl migrate config command to chainsaw migrate kuttl config
  • Renamed chainsaw kuttl migrate tests command to chainsaw migrate kuttl tests
  • Removed testDirs from Configuration spec, it is only supported in flags now
  • Removed TestStep based tests support, keeping only Test 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 migrate TestStep based tests to Test based
  • Generate json schemas to support validation and autocomplete in IDEs

🔧 Fixes 🔧

  • Fixed command and script 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

Full Changelog: v0.0.8...v0.0.9

v0.0.9-alpha.4

07 Dec 21:56
1ecb519
Compare
Choose a tag to compare
v0.0.9-alpha.4 Pre-release
Pre-release

Changelog

v0.0.9-alpha.3

05 Dec 14:29
876f282
Compare
Choose a tag to compare
v0.0.9-alpha.3 Pre-release
Pre-release

Changelog

  • 876f282 feat: add support for overriding termination grace period in test (#603)

v0.0.9-alpha.2

05 Dec 12:44
ff2362e
Compare
Choose a tag to compare
v0.0.9-alpha.2 Pre-release
Pre-release

Changelog

v0.0.9-alpha.1

05 Dec 12:06
3a86751
Compare
Choose a tag to compare
v0.0.9-alpha.1 Pre-release
Pre-release

Changelog

v0.0.8

04 Dec 10:18
5d6585b
Compare
Choose a tag to compare

‼️ Breaking changes ‼️

  • Changed check to expect in delete operation
  • Kuttl migration command split into chainsaw kuttl migrate tests and chainsaw 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 and error operations
  • Added a description field to Test, TestStep, Operation, Catch and Finally
  • Added a command to generate tests documentation
  • Added sleep operation support in try, catch and finally
  • Added support to reference remote files

🔧 Fixes 🔧

  • Don't show command or script 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 🎸

What's Changed

Full Changelog: v0.0.7...v0.0.8

v0.0.8-alpha.1

03 Dec 01:14
e43bf8c
Compare
Choose a tag to compare
v0.0.8-alpha.1 Pre-release
Pre-release

Changelog

v0.0.7

28 Nov 13:30
5ca138f
Compare
Choose a tag to compare

‼️ Breaking changes ‼️

  • Object reference in delete is now under the ref field
  • Check in apply and create operations was renamed to expect and is now an array of Expectations (a combination of a match and a check)
  • Additional data passed to checks are now done using bindings ($error, $stdout, $stderr, etc...)

💫 New features 💫

  • Added timeout support in try and catch handlers
  • Added assertion tree check in delete operation
  • Added a new configuration option to force termination graceful period on Pod, Deployment, StatefulSet, DaemonSet, Job and CronJob
  • 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 to null 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 and script bug not receiving the right error in $error check

📚 Docs 📚

  • Added missing descriptions on API reference docs

🎸 Misc 🎸

  • Added command line log in command and script operations

Changelog

v0.0.7-alpha.5

27 Nov 22:34
d9ec989
Compare
Choose a tag to compare
v0.0.7-alpha.5 Pre-release
Pre-release

Changelog

v0.0.7-alpha.4

27 Nov 21:35
e266cb1
Compare
Choose a tag to compare
v0.0.7-alpha.4 Pre-release
Pre-release

Changelog