Skip to content

Add basic infra for gathering logs and hook up to CI#56

Merged
alicefr merged 5 commits into
mainfrom
ci-improvements
Jun 10, 2026
Merged

Add basic infra for gathering logs and hook up to CI#56
alicefr merged 5 commits into
mainfrom
ci-improvements

Conversation

@jlebon

@jlebon jlebon commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

When tests fail in CI, there is currently very low visibility into what actually went wrong. This patch series should improve the situation.

See individual commits for details.

jlebon added 5 commits June 8, 2026 09:51
On a fresh cluster, deploy-bink was doing a rollout restart immediately
after the initial deploy, which is pointless. Make it conditional on the
Deployment already existing, so fresh deploys proceed without
interruption.

(Yeah, probably going to move off of Makefile and to Justfile in a
follow-up...)

Assisted-by: Pi (Claude Opus 4.6)
deploy-bink was doing two distinct things:
1. make sure a bink cluster is up and running
2. redeploy the bootc-operator controller

Let's split out the first part into a separate `start-bink` target.
That'll allow us to split the steps more in CI but also is prep for
error-handling related stuff.
Add a new `hack/gather-logs.sh` for log gathering from the bink cluster
and the controller and a new `gather-bink` Makefile target that calls
it.

Generally useful but also prep for hooking it up to CI.

Assisted-by: Pi (Claude Opus 4.6)
Call hack/gather-logs.sh from cleanup() before deleting pools and
removing nodes, so that the cluster state is captured while everything
is still alive. The script is called on every test run (pass or fail)
to provide a complete record of cluster state.

Log gathering is gated on the ARTIFACTS environment variable. When
unset (e.g. running go test directly), gathering is silently skipped.

Assisted-by: Pi (Claude Opus 4.6)
We need better visibility into failing e2e tests so let's capture logs.
@alicefr alicefr merged commit 6c897af into main Jun 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants