Releases: crossplane/uptest
v2.2.0
This release adds retry mechanisms to all kubectl operations in test templates to handle transient conversion webhook failures that occur with multi-version CRDs.
What's Changed
- Add retry mechanism for kubectl requests by @sergenyalcin in #51
Full Changelog: v2.1.0...v2.2.0
v2.1.0
- Enhanced Provider Service Monitoring: Added support for checking serving addresses in provider service's EndpointSlice instead of deprecated Endpoints API (supports Kubernetes
1.33+) - Improved Synchronization: Added a sync point before the apply step to improve test reliability and timing
What's Changed
- fix(v2): bump module version for v2.0.0 by @haarchri in #47
- Add a sync point before apply step by @sergenyalcin in #49
- Check serving addresses in provider service's endpointslice by @ulucinar in #50
Full Changelog: v2.0.0...v2.1.0
v2.0.1
Bumps module version to v2
What's Changed
- [Backport release-2.0] fix(v2): bump module version for v2.0.0 by @github-actions[bot] in #48
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Major Features
Namespaced Managed Resources Support
- Enhanced
YAMLtemplates to handle namespaced resources - Added script for patching namespaced resources
- Modified
kubectlcommands to include namespace flags
End-to-End Testing Framework for Uptest's itself
- Comprehensive E2E test suite for validating the uptest capabilities
- Integrated E2E tests with CI pipeline
- Added
maketargets for flexible test execution
Library Mode Support
- Added new
--use-library-modeflag enabling uptest to runchainsawandcrossplaneas Go libraries instead of CLI processes - Eliminates external binary dependencies when library mode is used
- Maintains backward compatibility with default CLI Fork Mode
Improvements
⚙️ Provider Workload Management
- Implemented
DeploymentRuntimeConfig-based scaling for provider workloads during the import step - Fixes issues with package cache clearing during import tests
- Prevents provider health issues during testing
Breaking Changes
⚠️ CLI Flag Requirements
- Removed automatic MR/Claim differentiation based on namespace
- Users must now explicitly use
--skip-importand--skip-updateCLI options for Claim/XR/Configuration package testing (Please see #44 for more details)
Dependencies
- Go upgraded from 1.21 to 1.24
- golangci-lint updated from v1.61.0 to v1.64.8
- Crossplane runtime upgraded to v2
What's Changed
- Add e2e tests for uptest and integrate the uptest with namespaced MRs by @sergenyalcin in #44
- Support library mode by @sergenyalcin in #45
- Use DeploymentRuntimeConfig to scale down/up provider workloads by @sergenyalcin in #28
Full Changelog: v1.4.0...v2.0.0
v1.4.0
v1.3.0
This release,
- Turns the core functionality into a library, which can then be used externally. This allows users to integrate into uptest at a lower level.
- Changes to optional (from required) the setup script usage for the apply step.
What's Changed
- Update troubleshooting section by @ytsarev in #37
- Export core functionality of uptest by @sergenyalcin in #38
Full Changelog: v1.2.0...v1.3.0
v1.2.0
This release contains important fixes:
- Before, When running uptest and supplying manifest-paths as a comma-separated list, the list ends up scrambled sometimes. This is due to the fact that internally the slice is transformed into a map and later read out element by element though the ordering in the map is not guaranteed. With the new version, the ordering is guaranteed according to the input list.
- Fix namespaced resources testing like Claims.
Also bumped the golangci version to v1.61.0.
What's Changed
- Fix namespaced resources testing by @ytsarev in #24
- Fix the case when Claim and XR are in the same test run by @ytsarev in #26
- Bump golang and golangci-lint version, fix warnings by @kaessert in #31
- Fix ordering of input-manifests being scrambled, closes #29 by @kaessert in #30
New Contributors
Full Changelog: v1.1.0...v1.2.0
v1.1.2
- This patch release simplifies the script content logic as it is mandatory on chainsaw side.
What's Changed
- [Backport release-1.1] Fix the case when Claim and XR are in the same test run by @github-actions in #27
Full Changelog: v1.1.1...v1.1.2
v1.1.1
This patch release contains fix for the namespaces resources testing (like Claim).
What's Changed
- [Backport release-1.1] Fix namespaced resources testing by @github-actions in #25
Full Changelog: v1.1.0...v1.1.1
v1.1.0
This release contains fixes (to bring back some behaviours lost after v1.0.0 release), new cli options and log improvements.
- New cli options to skip import and update steps:
skip-importandskip-update. - Wait for deletion of all MRs. This was the case before
v1.0.0. The relevant section has been fixed with this version. - While the setup script is running, the beta trace commands of the crossplane-cli give errors. Because some Kinds and Resources are not in the cluster yet. In order to prevent noise and confusion during this time, the logs of the executions where the crossplane-cli errors are redirected to a temporary file.
What's Changed
- Add new cli options:
skip-importandskip-updateby @sergenyalcin in #23
Full Changelog: v1.0.0...v1.1.0