Skip to content

Releases: kyverno/chainsaw

v0.2.10-beta.1

16 Sep 13:40
c6440e1

Choose a tag to compare

v0.2.10-beta.1 Pre-release
Pre-release

Changelog

v0.2.9

06 Sep 15:21
b054a82

Choose a tag to compare

💫 New features 💫

  • Added support for templating filenames used in operations
  • Added ppc64le and s390x binaries in release artifacts
  • Added support for Kubernetes 1.31
  • Added server side validation to validate the submitted resource
  • Added support for overriding the working directory in command and script operations
  • Compile string expressions at loading time
  • Made json path value optional in wait operation
  • Improved logging with begin, end and warning statuses
  • Added golang 1.23 support

🔧 Fixes 🔧

  • Fixed configuration v1alpha2 lint command

What's Changed

  • chore: add unit tests (cherry-pick #1815) by @gcp-cherry-pick-bot in #1818
  • chore: add unit tests (cherry-pick #1819) by @gcp-cherry-pick-bot in #1820
  • chore: add unit tests (cherry-pick #1821) by @gcp-cherry-pick-bot in #1822
  • refactor: more engine package (cherry-pick #1824) by @gcp-cherry-pick-bot in #1825
  • chore(deps): bump github/codeql-action from 3.25.15 to 3.26.0 (cherry-pick #1828) by @gcp-cherry-pick-bot in #1833
  • chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.6 (cherry-pick #1829) by @gcp-cherry-pick-bot in #1834
  • chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0 (cherry-pick #1832) by @gcp-cherry-pick-bot in #1835
  • feat: support templating in files (cherry-pick #1826) by @gcp-cherry-pick-bot in #1836
  • feat: add type for string expressions (cherry-pick #1837) by @gcp-cherry-pick-bot in #1838
  • feat: simplify string expressions management (cherry-pick #1839) by @gcp-cherry-pick-bot in #1840
  • feat: add expression method to get value (cherry-pick #1841) by @gcp-cherry-pick-bot in #1842
  • feat: migrate to new expressions (cherry-pick #1843) by @gcp-cherry-pick-bot in #1844
  • feat: compile expressions when unmarshaling (cherry-pick #1845) by @gcp-cherry-pick-bot in #1847
  • feat: add begin, end, and warning log statuses (cherry-pick #1848) by @gcp-cherry-pick-bot in #1849
  • chore(deps): bump sigs.k8s.io/controller-runtime from 0.18.4 to 0.18.5 (cherry-pick #1850) by @gcp-cherry-pick-bot in #1859
  • chore(deps): bump github/codeql-action from 3.26.0 to 3.26.2 (cherry-pick #1861) by @gcp-cherry-pick-bot in #1862
  • chore(deps): bump anchore/sbom-action from 0.17.0 to 0.17.1 (cherry-pick #1853) by @gcp-cherry-pick-bot in #1863
  • chore(deps): bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.6 (cherry-pick #1865) by @gcp-cherry-pick-bot in #1867
  • chore(deps): bump github/codeql-action from 3.26.2 to 3.26.4 (cherry-pick #1873) by @gcp-cherry-pick-bot in #1877
  • chore(deps): bump anchore/sbom-action from 0.17.1 to 0.17.2 (cherry-pick #1872) by @gcp-cherry-pick-bot in #1878
  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.10 to 3.0.11 (cherry-pick #1880) by @gcp-cherry-pick-bot in #1882
  • chore(deps): bump github/codeql-action from 3.26.4 to 3.26.5 (cherry-pick #1879) by @gcp-cherry-pick-bot in #1883
  • feat: add go 1.23 support (cherry-pick #1881) by @gcp-cherry-pick-bot in #1886
  • fix: make wait for jsonpath value optional (cherry-pick #1887) by @gcp-cherry-pick-bot in #1888
  • chore: bump a couple of deps (cherry-pick #1889) by @gcp-cherry-pick-bot in #1890
  • feat: bump kubectl-validate and k8s to 1.31 (cherry-pick #1892) by @gcp-cherry-pick-bot in #1893
  • feat: add server side validation support (cherry-pick #1894) by @gcp-cherry-pick-bot in #1895
  • chore(deps): bump github.com/prometheus/common from 0.55.0 to 0.56.0 (cherry-pick #1898) by @gcp-cherry-pick-bot in #1899
  • chore(deps): bump github/codeql-action from 3.26.5 to 3.26.6 (cherry-pick #1901) by @gcp-cherry-pick-bot in #1902
  • chore(deps): bump github.com/prometheus/common from 0.56.0 to 0.57.0 (cherry-pick #1900) by @gcp-cherry-pick-bot in #1903
  • chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 (cherry-pick #1904) by @gcp-cherry-pick-bot in #1906
  • chore(deps): bump github.com/kudobuilder/kuttl from 0.18.0 to 0.19.0 (cherry-pick #1905) by @gcp-cherry-pick-bot in #1907
  • feat: add ppc64le and s390x builds (cherry-pick #1910) by @gcp-cherry-pick-bot in #1911
  • chore(deps): bump github.com/prometheus/common from 0.57.0 to 0.58.0 (cherry-pick #1914) by @gcp-cherry-pick-bot in #1916
  • feat: Add workDir API to the script and command operation APIs to make parametrize the working directory (cherry-pick #1913) by @gcp-cherry-pick-bot in #1919
  • feat: work dir override follow-up (cherry-pick #1920) by @gcp-cherry-pick-bot in #1921
  • chore(deps): bump github.com/prometheus/common from 0.58.0 to 0.59.1 (cherry-pick #1922) by @gcp-cherry-pick-bot in #1923
  • fix: lint different versions (cherry-pick #1924) by @gcp-cherry-pick-bot in #1925
  • chore: update goreleaser config (cherry-pick #1926) by @gcp-cherry-pick-bot in #1929
  • chore: update release notes (cherry-pick #1928) by @gcp-cherry-pick-bot in #1930
  • release: v0.2.9 (cherry-pick #1931) by @gcp-cherry-pick-bot in #1932

Full Changelog: v0.2.8...v0.2.9

v0.2.9-beta.3

06 Sep 14:55
a635f6a

Choose a tag to compare

v0.2.9-beta.3 Pre-release
Pre-release

Changelog

v0.2.9-beta.2

06 Sep 13:47
6fce610

Choose a tag to compare

v0.2.9-beta.2 Pre-release
Pre-release

Changelog

v0.2.9-beta.1

04 Sep 14:44
6e77b67

Choose a tag to compare

v0.2.9-beta.1 Pre-release
Pre-release

Changelog

v0.2.8

31 Jul 14:25
7bd4223

Choose a tag to compare

💫 New features 💫

  • Added chainsaw renovate config to upgrade configuration manifests to v1alpha2
  • Changed cluster in test step and actions to a pointer
    • null means inherit the current cluster
    • an empty string means the default cluster
  • Made default timeouts part of the schemas
  • Added support to fail fast at the test level (test will be skipped if a previous error was already reported)
  • Delay operation loading until operation execution
  • Generate strict JSON schemas

🔧 Fixes 🔧

  • Fixed incorrect bindings when operations are run against different clusters
  • Fixed operation info built-in bindings not registered before other bindings
  • Fixed incorrect cluster client used when applying the test namespace to resources
  • Detect accessing nodes not present in the payload when traversing an assertion tree

What's Changed

  • chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 (cherry-pick #1682) by @gcp-cherry-pick-bot in #1684
  • chore: remove unused code (cherry-pick #1685) by @gcp-cherry-pick-bot in #1686
  • feat: add a renovate config command (cherry-pick #1687) by @gcp-cherry-pick-bot in #1688
  • refactor: kube utils (cherry-pick #1689) by @gcp-cherry-pick-bot in #1690
  • refactor: client package (cherry-pick #1691) by @gcp-cherry-pick-bot in #1692
  • refactor: reduce coupling to test framework (cherry-pick #1693) by @gcp-cherry-pick-bot in #1694
  • refactor: names package (cherry-pick #1695) by @gcp-cherry-pick-bot in #1697
  • chore: split model package (cherry-pick #1696) by @gcp-cherry-pick-bot in #1698
  • refactor: move runner client (cherry-pick #1699) by @gcp-cherry-pick-bot in #1700
  • refactor: introduce test context (cherry-pick #1701) by @gcp-cherry-pick-bot in #1702
  • refactor: more test context (cherry-pick #1703) by @gcp-cherry-pick-bot in #1704
  • refactor: make test context a simple struct (cherry-pick #1705) by @gcp-cherry-pick-bot in #1706
  • refactor: cleanup part 1 (cherry-pick #1707) by @gcp-cherry-pick-bot in #1708
  • refactor: simplify test context (cherry-pick #1709) by @gcp-cherry-pick-bot in #1710
  • refactor: default loaders (cherry-pick #1712) by @gcp-cherry-pick-bot in #1713
  • refactor: data package (cherry-pick #1714) by @gcp-cherry-pick-bot in #1715
  • refactor: default timeouts (cherry-pick #1711) by @gcp-cherry-pick-bot in #1716
  • refactor: move summary in context (cherry-pick #1717) by @gcp-cherry-pick-bot in #1718
  • refactor: timeouts management (cherry-pick #1719) by @gcp-cherry-pick-bot in #1720
  • refactor: cleanup management (cherry-pick #1721) by @gcp-cherry-pick-bot in #1722
  • refactor: fail fast management (cherry-pick #1723) by @gcp-cherry-pick-bot in #1724
  • refactor: introduce engine package (cherry-pick #1725) by @gcp-cherry-pick-bot in #1726
  • refactor: more test context (cherry-pick #1727) by @gcp-cherry-pick-bot in #1728
  • refactor: more test context (cherry-pick #1729) by @gcp-cherry-pick-bot in #1730
  • refactor: more engine package (cherry-pick #1731) by @gcp-cherry-pick-bot in #1732
  • refactor: more test context (cherry-pick #1733) by @gcp-cherry-pick-bot in #1734
  • refactor: test context setup (cherry-pick #1736) by @gcp-cherry-pick-bot in #1737
  • feat: use string pointer for cluster in step and actions (cherry-pick #1738) by @gcp-cherry-pick-bot in #1739
  • chore(deps): bump github/codeql-action from 3.25.13 to 3.25.14 (cherry-pick #1735) by @gcp-cherry-pick-bot in #1740
  • fix: operation info not registered before other bindings (cherry-pick #1741) by @gcp-cherry-pick-bot in #1742
  • refactor: dry run management (cherry-pick #1743) by @gcp-cherry-pick-bot in #1744
  • feat: add failfast support per test (cherry-pick #1745) by @gcp-cherry-pick-bot in #1746
  • refactor: timeout management (cherry-pick #1747) by @gcp-cherry-pick-bot in #1748
  • chore: bump a couple of deps (cherry-pick #1749) by @gcp-cherry-pick-bot in #1750
  • chore: bump a couple of deps (cherry-pick #1751) by @gcp-cherry-pick-bot in #1752
  • feat: delay operation loading until execution (cherry-pick #1753) by @gcp-cherry-pick-bot in #1754
  • chore: improve codecov config (cherry-pick #1755) by @gcp-cherry-pick-bot in #1756
  • chore: add cleaner unit tests (cherry-pick #1757) by @gcp-cherry-pick-bot in #1758
  • chore: add unit tests (cherry-pick #1759) by @gcp-cherry-pick-bot in #1760
  • chore: add unit tests (cherry-pick #1761) by @gcp-cherry-pick-bot in #1762
  • chore: add unit tests (cherry-pick #1763) by @gcp-cherry-pick-bot in #1764
  • chore(deps): bump github/codeql-action from 3.25.14 to 3.25.15 (cherry-pick #1766) by @gcp-cherry-pick-bot in #1767
  • refactor: namespacer interface (cherry-pick #1768) by @gcp-cherry-pick-bot in #1769
  • chore: add unit tests (cherry-pick #1765) by @gcp-cherry-pick-bot in #1770
  • refactor: engine context (cherry-pick #1771) by @gcp-cherry-pick-bot in #1772
  • chore: add unit tests (cherry-pick #1773) by @gcp-cherry-pick-bot in #1774
  • refactor: engine bindings (cherry-pick #1775) by @gcp-cherry-pick-bot in #1776
  • refactor: processors (cherry-pick #1777) by @gcp-cherry-pick-bot in #1778
  • refactor: test context (cherry-pick #1779) by @gcp-cherry-pick-bot in #1780
  • refactor: test context (cherry-pick #1781) by @gcp-cherry-pick-bot in #1782
  • refactor: templating packages (cherry-pick #1783) by @gcp-cherry-pick-bot in #1785
  • fix: use strict json schemas (cherry-pick #1784) by @gcp-cherry-pick-bot in #1786
  • chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (cherry-pick #1789) by @gcp-cherry-pick-bot in #1790
  • fix: bump kyverno-json (cherry-pick #1791) by @gcp-cherry-pick-bot in #1792
  • chore: bump kyverno-json (cherry-pick #1793) by @gcp-cherry-pick-bot in #1795
  • chore: add unit tests (cherry-pick #1794) by @gcp-cherry-pick-bot in #1796
  • chore: add unit tests (cherry-pick #1798) by @gcp-cherry-pick-bot in #1799
  • chore: add unit tests (cherry-pick #1800) by @gcp-cherry-pick-bot in #1801
  • chore: bump kyverno-json (cherry-pick #1802) by @gcp-cherry-pick-bot in #1803
  • fix: propagation policy (cherry-pick #1806) by @gcp-cherry-pick-bot in #1807
  • fix: openapi2jsonschema strict mode (cherry-pick #1809) by @gcp-cherry-pick-bot in #1810
  • chore: add unit tests (cherry-pick #1811) by @gcp-cherry-pick-bot in #1813
  • release: v0.2.8 (cherry-pick #1812) by @gcp-cherry-pick-bot in #1814

Full Changelog: v0.2.7...v0.2.8

v0.2.8-beta.3

31 Jul 08:03
4294c51

Choose a tag to compare

v0.2.8-beta.3 Pre-release
Pre-release

Changelog

v0.2.8-beta.2

30 Jul 15:35
f0a55bb

Choose a tag to compare

v0.2.8-beta.2 Pre-release
Pre-release

Changelog

v0.2.8-beta.1

30 Jul 13:27
dc6070d

Choose a tag to compare

v0.2.8-beta.1 Pre-release
Pre-release

Changelog

v0.2.7

22 Jul 08:24
6fa8c5c

Choose a tag to compare

💫 New features 💫

  • Added initial TestTemplate support to allow defining steps in separate files and reusing them across tests
  • Replaced programmatic validation with schema-based validation
  • Better generated JSON schemas based on OpenAPI v3 instead of v2

🔧 Fixes 🔧

  • Fixed incorrect null vs empty object comparison in assertion operations

📚 Docs 📚

  • Added detailed community pages to the website website
  • Added a CODE_OF_CONDUCT.md file in the repo

What's Changed

  • chore(deps): bump anchore/sbom-action from 0.16.0 to 0.16.1 (cherry-pick #1619) by @gcp-cherry-pick-bot in #1620
  • chore: bump a couple of deps (cherry-pick #1621) by @gcp-cherry-pick-bot in #1622
  • chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2 (cherry-pick #1624) by @gcp-cherry-pick-bot in #1626
  • chore(deps): bump github/codeql-action from 3.25.11 to 3.25.12 (cherry-pick #1627) by @gcp-cherry-pick-bot in #1628
  • Added a structured content to community section of chainsaw website (cherry-pick #1594) by @gcp-cherry-pick-bot in #1629
  • feat: add code of conduct (cherry-pick #1631) by @gcp-cherry-pick-bot in #1632
  • chore: use a named field for test (cherry-pick #1633) by @gcp-cherry-pick-bot in #1634
  • refactor: config v1alpha2 (cherry-pick #1635) by @gcp-cherry-pick-bot in #1636
  • refactor: conversion funcs (cherry-pick #1637) by @gcp-cherry-pick-bot in #1638
  • feat: use custom crd generator (cherry-pick #1625) by @gcp-cherry-pick-bot in #1639
  • refactor: move loader packages (cherry-pick #1640) by @gcp-cherry-pick-bot in #1641
  • chore: remove useless config validation (cherry-pick #1642) by @gcp-cherry-pick-bot in #1643
  • chore: move apis related packages (cherry-pick #1644) by @gcp-cherry-pick-bot in #1645
  • chore(deps): bump anchore/sbom-action from 0.16.1 to 0.17.0 (cherry-pick #1646) by @gcp-cherry-pick-bot in #1647
  • feat: model schema based validation (cherry-pick #1648) by @gcp-cherry-pick-bot in #1649
  • feat: more schema based valdation (cherry-pick #1650) by @gcp-cherry-pick-bot in #1651
  • feat: more model based validation (cherry-pick #1652) by @gcp-cherry-pick-bot in #1653
  • refactor: remove code based validation (cherry-pick #1654) by @gcp-cherry-pick-bot in #1655
  • chore(deps): bump k8s.io/apimachinery from 0.30.2 to 0.30.3 (cherry-pick #1656) by @gcp-cherry-pick-bot in #1660
  • chore(deps): bump k8s.io/client-go from 0.30.2 to 0.30.3 (cherry-pick #1657) by @gcp-cherry-pick-bot in #1661
  • chore(deps): bump k8s.io/apiextensions-apiserver from 0.30.2 to 0.30.3 (cherry-pick #1658) by @gcp-cherry-pick-bot in #1662
  • feat: introduce step template (cherry-pick #1623) by @gcp-cherry-pick-bot in #1663
  • feat: introduce model package (cherry-pick #1664) by @gcp-cherry-pick-bot in #1665
  • chore: rename from to use (cherry-pick #1667) by @gcp-cherry-pick-bot in #1668
  • chore: improve step template reference (cherry-pick #1670) by @gcp-cherry-pick-bot in #1671
  • fix: null vs empty object comparison (cherry-pick #1673) by @gcp-cherry-pick-bot in #1674
  • chore: update release notes (cherry-pick #1676) by @gcp-cherry-pick-bot in #1677
  • release: v0.2.7 (cherry-pick #1678) by @gcp-cherry-pick-bot in #1679

Full Changelog: v0.2.6...v0.2.7