Skip to content

ci: build and lint in an unprivileged trixie system container - #1

Merged
marcos-mendez merged 2 commits into
keel/trixiefrom
ci/lxc-trixie
Oct 1, 2026
Merged

marcos-mendez merged 2 commits into
keel/trixiefrom
ci/lxc-trixie

Conversation

@marcos-mendez

Copy link
Copy Markdown
Contributor

Moves build and lintian from a debian:trixie job container to lxc-trixie.yml of Keel-Linux/.github, an unprivileged trixie LXC container on keel-lxc-1. Called at @ci/lxc-trixie until Keel-Linux/.github#17 merges, then @main. Fork PRs get no build or lint. The check is renamed build / trixie and is not required.

The build ran in a debian:trixie application container. Keel runs no
application containers in CI, so the job now calls lxc-trixie.yml of
Keel-Linux/.github: a trixie LXC container of the runner user on
keel-lxc-1, without sudo, with the same commands inside. The job only runs
for this repository's own branches, so a fork pull request gets no build
or lint result. The check becomes build / trixie; it is not required.
Keel-Linux/.github#17 is merged, so the jobs call lxc-trixie.yml at main
instead of its pull request branch. The calling jobs lose their own if:
guard: the reusable workflow's trixie job already refuses forks and
pull_request_target, and a guard here would also skip its fork-not-run
job, which is what makes a fork's pull request show red instead of a
skipped check that reads as passed.
@marcos-mendez
marcos-mendez merged commit e6ae848 into keel/trixie Oct 1, 2026
2 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.

1 participant