ci: run the forge tests as a normal user in the CI gate job #693
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
sixfold-space/madtea#693
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The CI
gatejob runs in thegolang:1.27-trixiecontainer as root. Theworkflow sets no user, and the Go build cache mounts at
/root/.cache/go-build. Forgejo and Gitea refuse to start as root, and theharness neither switches user nor turns off that refusal. So when the forge
tests run in CI, every forge test fails there.
What to build
gatejob runsgo testas a normal user.Acceptance
gatelog shows that the forge tests ran as a non-root user againstboth forges, with no skipped forge test.
Part of #674. #678 needs this.