Repository navigation
ci: build and lint in an unprivileged trixie system container - #1
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves build and lintian from a
debian:trixiejob container tolxc-trixie.ymlof Keel-Linux/.github, an unprivileged trixie LXC container on keel-lxc-1. Called at@ci/lxc-trixieuntil Keel-Linux/.github#17 merges, then@main. Fork PRs get no build or lint. The check is renamedbuild / trixieand is not required.