Skip to content

Releases: kyverno/chainsaw

v0.2.11

02 Oct 07:52
10afc76
Compare
Choose a tag to compare

💫 New features 💫

  • Added CEL support everywhere (bindings, assertion trees, projection trees, outputs...)
  • Added test sharding support

🔧 Fixes 🔧

  • Fixed exit code when failing in root test run
  • Fixed --no-cluster flag not working

📚 Docs 📚

  • Added most JMESPath functions docs and examples

What's Changed

  • fix: exit code when failing in root test run (cherry-pick #2002) by @gcp-cherry-pick-bot in #2003
  • chore(deps): bump github/codeql-action from 3.26.7 to 3.26.8 (cherry-pick #2004) by @gcp-cherry-pick-bot in #2006
  • chore(deps): bump github/codeql-action from 3.26.8 to 3.26.9 (cherry-pick #2010) by @gcp-cherry-pick-bot in #2011
  • chore: update kind to 1.31 (cherry-pick #2012) by @gcp-cherry-pick-bot in #2013
  • fix: no-cluster option (cherry-pick #2014) by @gcp-cherry-pick-bot in #2016
  • chore(deps): bump actions/checkout from 4.1.7 to 4.2.0 (cherry-pick #2015) by @gcp-cherry-pick-bot in #2017
  • feat: improve jp docs (cherry-pick #2018) by @gcp-cherry-pick-bot in #2019
  • feat: embed jp functions docs (cherry-pick #1980) by @gcp-cherry-pick-bot in #2020
  • docs: add jp funcs docs in menu (cherry-pick #2021) by @gcp-cherry-pick-bot in #2022
  • feat: add sharding support (cherry-pick #2023) by @gcp-cherry-pick-bot in #2024
  • feat: bump kyverno-json (cherry-pick #2025) by @gcp-cherry-pick-bot in #2026
  • feat: bump kyverno-json (cherry-pick #2027) by @gcp-cherry-pick-bot in #2028
  • feat: add CEL support in assertion trees (cherry-pick #2029) by @gcp-cherry-pick-bot in #2030
  • feat: add cel support (cherry-pick #2031) by @gcp-cherry-pick-bot in #2032
  • feat: add compiler to the binding api (cherry-pick #2033) by @gcp-cherry-pick-bot in #2034
  • feat: add compiler to the namespace template api (cherry-pick #2035) by @gcp-cherry-pick-bot in #2036
  • feat: add compiler field in configuration api (cherry-pick #2037) by @gcp-cherry-pick-bot in #2038
  • feat: add default compiler flag (cherry-pick #2039) by @gcp-cherry-pick-bot in #2040
  • feat: add default compiler at the test api level (cherry-pick #2041) by @gcp-cherry-pick-bot in #2042
  • feat: add compiler at the step api level (cherry-pick #2043) by @gcp-cherry-pick-bot in #2044
  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.12 to 3.0.13 (cherry-pick #2045) by @gcp-cherry-pick-bot in #2046
  • feat: add default compiler at the operation api level (cherry-pick #2047) by @gcp-cherry-pick-bot in #2048
  • feat: add cel test (cherry-pick #2049) by @gcp-cherry-pick-bot in #2050
  • chore: bump jp lib (cherry-pick #2052) by @gcp-cherry-pick-bot in #2053
  • chore(deps): bump github/codeql-action from 3.26.9 to 3.26.10 (cherry-pick #2054) by @gcp-cherry-pick-bot in #2056
  • docs: add more jp functions examples (cherry-pick #2055) by @gcp-cherry-pick-bot in #2057
  • chore: update release notes (cherry-pick #2058) by @gcp-cherry-pick-bot in #2059
  • release: v0.2.11 (cherry-pick #2060) by @gcp-cherry-pick-bot in #2061

Full Changelog: v0.2.10...v0.2.11

v0.2.11-beta.1

30 Sep 13:40
c35fbd4
Compare
Choose a tag to compare
v0.2.11-beta.1 Pre-release
Pre-release

Changelog

v0.2.10

17 Sep 08:28
c170264
Compare
Choose a tag to compare

💫 New features 💫

  • Added bindings support when referencing step templates
  • Restructured the reports system
  • Added reports in JSON format back
  • Added new JUnit report formats with different granularity (JUNIT-TEST, JUNIT-STEP, JUNIT-OPERATION)
  • XML report format should be considered deprecated and replaced with one of the JUNIT-* format

🔧 Fixes 🔧

  • Fixed default report name not set correctly
  • Made template required when referencing a step template

📚 Docs 📚

  • Started a JMESPath function example page in the docs (only x_k8s_get is available at this time)

🎸 Misc 🎸

  • Removed test v1alpha2 API for now

What's Changed

  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.11 to 3.0.12 (cherry-pick #1936) by @gcp-cherry-pick-bot in #1937
  • fix: default report name not set correctly (cherry-pick #1939) by @gcp-cherry-pick-bot in #1940
  • Update bindings.md with 'x_k8s_get()' example (cherry-pick #1915) by @gcp-cherry-pick-bot in #1941
  • chore: remove checkout when uploading to codecov (cherry-pick #1942) by @gcp-cherry-pick-bot in #1943
  • chore(deps): bump k8s.io/api from 0.31.0 to 0.31.1 (cherry-pick #1945) by @gcp-cherry-pick-bot in #1948
  • chore(deps): bump k8s.io/client-go from 0.31.0 to 0.31.1 (cherry-pick #1947) by @gcp-cherry-pick-bot in #1949
  • fix: reports system (cherry-pick #1950) by @gcp-cherry-pick-bot in #1952
  • feat: use jstemmer/go-junit-report (cherry-pick #1951) by @gcp-cherry-pick-bot in #1953
  • feat: restructure junit reports (cherry-pick #1954) by @gcp-cherry-pick-bot in #1955
  • refactor: report system (cherry-pick #1956) by @gcp-cherry-pick-bot in #1957
  • refactor: decouple operation execution from failer (cherry-pick #1958) by @gcp-cherry-pick-bot in #1959
  • refactor: failure propagation in reports (cherry-pick #1960) by @gcp-cherry-pick-bot in #1961
  • fix: json reports (cherry-pick #1962) by @gcp-cherry-pick-bot in #1963
  • feat: improve json report format (cherry-pick #1964) by @gcp-cherry-pick-bot in #1965
  • feat: add cleanup operations in reports (cherry-pick #1966) by @gcp-cherry-pick-bot in #1968
  • refactor: reports failures propagation (cherry-pick #1969) by @gcp-cherry-pick-bot in #1970
  • feat: operation type to report (cherry-pick #1971) by @gcp-cherry-pick-bot in #1972
  • feat: move cleanup in separate report steps (cherry-pick #1973) by @gcp-cherry-pick-bot in #1974
  • feat: add test cleanup to report (cherry-pick #1975) by @gcp-cherry-pick-bot in #1976
  • refactor: junit report structure (cherry-pick #1977) by @gcp-cherry-pick-bot in #1978
  • chore(deps): bump github/codeql-action from 3.26.6 to 3.26.7 (cherry-pick #1979) by @gcp-cherry-pick-bot in #1981
  • feat: remove v1alpha2 tests api for now (cherry-pick #1982) by @gcp-cherry-pick-bot in #1983
  • fix: make template required in step template (cherry-pick #1984) by @gcp-cherry-pick-bot in #1986
  • fix: dependabot gomod directories (cherry-pick #1987) by @gcp-cherry-pick-bot in #1988
  • chore(deps): bump sigs.k8s.io/controller-tools from 0.16.1 to 0.16.3 in /hack/controller-gen (cherry-pick #1990) by @gcp-cherry-pick-bot in #1991
  • chore(deps): bump k8s.io/apiextensions-apiserver from 0.31.0 to 0.31.1 in /hack/controller-gen (cherry-pick #1989) by @gcp-cherry-pick-bot in #1992
  • feat: add bindings support to step templates (cherry-pick #1985) by @gcp-cherry-pick-bot in #1993
  • chore: update release notes (cherry-pick #1995) by @gcp-cherry-pick-bot in #1996
  • release: v0.2.10 (cherry-pick #1997) by @gcp-cherry-pick-bot in #1998

Full Changelog: v0.2.9...v0.2.10

v0.2.10-beta.1

16 Sep 13:40
c6440e1
Compare
Choose a tag to compare
v0.2.10-beta.1 Pre-release
Pre-release

Changelog

v0.2.9

06 Sep 15:21
b054a82
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
v0.2.9-beta.1 Pre-release
Pre-release

Changelog

v0.2.8

31 Jul 14:25
7bd4223
Compare
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
Compare
Choose a tag to compare
v0.2.8-beta.3 Pre-release
Pre-release

Changelog