Kollaudo 0.4.0 is out: a gate in one line
Kollaudo 0.4.0 is out 🎉
With 0.3, the gate became visible: people could see the same verdict the pipeline gets. 0.4 makes the gate easy to add. If you deploy with GitHub Actions, one step now stops a deployment unless the version passed, with no Node.js to install and no CLI to learn.
- uses: kollaudo/action@v0 with: url: ${{ vars.KOLLAUDO_URL }} token: ${{ secrets.KOLLAUDO_GATE_TOKEN }} component: api environment: stagingOn pass the job goes on. On fail, unknown or no answer it stops and the summary of the run says why, with a link to each test run.
What’s new
- A GitHub Action for the gate and one for results. kollaudo/action gives you the gate, with a
messageoutput and the verdict as a table in the summary.kollaudo/action/push@v0sends your test results, even when tests failed. The Playwright and pytest recipes use both. - Two new recipes, tried for real. Azure DevOps was tried on a real pipeline and Jenkins on a local Jenkins. Both send e2e results even when tests fail and deploy to production only on a passing verdict.
kollaudo verdict --json. It prints the API’s answer as JSON, for scripts that post the reasons somewhere. The exit code is the same.- A quieter verdict log. A gate that waits and asks again with the same answer now counts on one line (
asked,lastAskedAt), instead of adding an entry every minute. - Clearer errors. If
KOLLAUDO_URLanswers with a web page (the UI, a proxy, a login portal), the CLI says so and asks whether the URL is right.kollaudo verdictexits with 3, no verdict and not with 1 as if the tests had failed. If the database doesn’t answer, the server says where it looked and what to check. - A quick start that works as pasted. The tokens go in
tokens.txtand every command reads from it.
Thank you
Thank you @lui01212 for two contributions in this release: kollaudo verdict --json, and the Jenkins recipe, which was tried on a real Jenkins. This is the second release with a recipe from you, after GitLab CI in 0.3. You made Kollaudo better than I would have alone.
Upgrading
Upgrade the server before the CLI. --json needs a 0.4 CLI and the Action runs CLI 0.4.0. The exit codes of kollaudo verdict didn’t change: 0 pass, 1 fail, 2 unknown, 3 no verdict.
export KOLLAUDO_VERSION=0.4.0curl -O https://raw.githubusercontent.com/kollaudo/kollaudo/v$KOLLAUDO_VERSION/deploy/docker-compose.ymlWhat’s next
0.5 is about evidence from people: UAT sign-offs and manual checks count as test runs (ADR 0021), so a tester’s “OK” weighs in the verdict like a Playwright suite does. After that, gates for more tools, starting with GitHub’s deployment protection. If one of these would make Kollaudo useful for your delivery, or something else would, leave a comment!
Want to help? A few good first issues are open, and feedback from your own delivery is always welcome, here or in Issues.
Changelog: https://github.com/kollaudo/kollaudo/blob/main/CHANGELOG.md Release: https://github.com/kollaudo/kollaudo/releases/tag/v0.4.0
Kollaudo when your tests are red but the pipeline says deploy anyway: