Repository navigation
Add disable-network-offload for GitHub action runners (PP-5633) - #71
Conversation
|
Claude finished @tdilauro's task in 1m 56s —— View job Code review
SummaryThis looks good, and I have no changes to request. The action replaces the hard-coded |
ce2eac9 to
802a7f0
Compare
## Description Replaces the previous "Disable network offload" steps in the build GitHub workflow with the shared `disable-network-offload` action from [`ThePalaceProject/github-actions` v1.6.0](https://github.com/ThePalaceProject/github-actions/tree/v1.6.0/disable-network-offload). The shared action gets the network interface from the default route, instead of always assuming `eth0`. It also prints the interface list and gives a clear error if it cannot find an interface. ## Motivation and Context VLC CI jobs sometimes fail at this step, because some runner images have no `eth0` interface: netlink error: no device matches name (offset 24) netlink error: No such device We fixed the same problem in circulation ([circulation#3929](ThePalaceProject/circulation#3929)). We then moved the fix to the shared actions repo ([github-actions#71](ThePalaceProject/github-actions#71)), so we can maintain it in one place. [Jira PP-5633] ## How Has This Been Tested? - The shared action has its own CI test. It runs the action and checks that TX and RX checksum offload are off. - VLC CI must pass on this PR. ## Checklist - N/A - I have updated the documentation accordingly. - [x] All new and existing tests passed.
Description
Adds a shared
disable-network-offloadcomposite action. It does the same work as the action added to circulation in circulation#3929:eth0.The README n ow documents the action.
Motivation and Context
Some CI jobs fail at the "Disable network offload" step, because the runner has no
eth0interface. We fixed this in circulation, but Virtual Library Card CI now has the same problem. Other repos also use the same step. A shared action lets us fix and maintain this in one place.[Jira PP-5633]
How Has This Been Tested?
ubuntu-latestandubuntu-24.04. It then checks that TX and RX checksum offload are off.Checklist