fix: kill containers explicitly, make Podman behave like Docker #1371
No reviewers
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/runner!1371
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "aahlenst/runner:sigkill-containers"
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?
When Forgejo Runner is used with Podman, the "Complete job" step takes much longer than with Docker. The reason is that Podman and Docker behave differently when a container is removed that is still running. Podman tries to stop it first whereas Docker kills it outright. With this change, the container is killed explicitly before removing it. That aligns Podman's behaviour with Docker's. It makes the desired behaviour explicit, too.
cascading-pr updated at actions/setup-forgejo#883