News
Another test-oriented release, this time adding e2e / integration tests. 7
We use an arch image docker image with a chromium browser installed (along with `uv` and other goodies) to dummy commits to a dummy repo, triggering a workflow that echoes a special marker in a loop (for a maximum of 5 minutes), along with its own run ID. Then we boot up `octotail` on this workflow run and look for the marker.
Once found, we extract the run ID and cancel it through `gh`, causing the `octotail` to exit with `Conclusion: CANCELLED`.
This gives us a high degree of confidence that all moving parts of `octotail` and playing together nicely.
Diff
[v1.0.14...v1.0.15](https://github.com/rarescosma/octotail/compare/v1.0.14...v1.0.15)
Changelog
- e2e: allow sudo chown [98dce6d](https://github.com/rarescosma/octotail/commit/98dce6d504f1aeda138e3526e3ccbdc68d8c844c)
- wire e2e tests into the build workflow [5fee356](https://github.com/rarescosma/octotail/commit/5fee356b647188340b0e6a02f6e3a26044671540)
- e2e: revoke sudo rights apart from 'trust' [428ccc2](https://github.com/rarescosma/octotail/commit/428ccc283b63252bf6be787c47fe6b4fc8b4a4be)
- chore: add make targets for the e2e docker image [330b354](https://github.com/rarescosma/octotail/commit/330b354fe383c36cd18b6ae9f2e0e412ab322844)
- test: remove 'env' step [27b0ec7](https://github.com/rarescosma/octotail/commit/27b0ec760a89fbc62bfb43813178c60914f26a5c)
- test: trigger e2e on push to main [e8c8310](https://github.com/rarescosma/octotail/commit/e8c8310bbf1c01147ba0138fb0ab162df50eebcf)
- test: mention the originating commit in the trigger [de79426](https://github.com/rarescosma/octotail/commit/de79426c0d99d1808ef4c2635990da747dd0e622)
- feat: add dockerized e2e tests [34c8594](https://github.com/rarescosma/octotail/commit/34c8594026289cd39da36811c4e500bc3311c3c2)
- simplify remove_consecutive_falsy [7ace585](https://github.com/rarescosma/octotail/commit/7ace58505e0b93a183e7f2913fbd29d2aac0f30d)
- use the deque, Luke [8540d62](https://github.com/rarescosma/octotail/commit/8540d62ac071dedbe35f57de03005f852682555b)
- ruff: be more explicit about lint ignores [d8e5768](https://github.com/rarescosma/octotail/commit/d8e5768b8ff3dde701191e460918049bd36deb93)
- test: ruff the tests [dd6af6e](https://github.com/rarescosma/octotail/commit/dd6af6e1f1644fd003f69bc072368b7e8a8a46f7)
- use a marker mixin for messages without data [815e087](https://github.com/rarescosma/octotail/commit/815e087d143719b5ef9a325ca1d09c26337bb409)