docs(ci): harden pacman -Sy comment against future -Syu regressions
Explicit warning in the workflow so nobody reintroduces the -Syu that took the Gitea host down on 2026-04-20.
This commit is contained in:
parent
8d1dacd6fa
commit
30f8c4100f
@ -29,8 +29,12 @@ jobs:
|
|||||||
|
|
||||||
echo "Changed packages: $CHANGED"
|
echo "Changed packages: $CHANGED"
|
||||||
|
|
||||||
# Sync pacman DB so -s can pull current versions (Arch rolling).
|
# Sync pacman DB so makepkg -s can resolve current deps.
|
||||||
# -Sy only: full -Syu overwhelms the shared runner host with I/O.
|
# NEVER change this to -Syu. The runner shares I/O with the host
|
||||||
|
# (act_runner runs in network-host mode on the Gitea server). A full
|
||||||
|
# system upgrade here took the host down on 2026-04-20 and required
|
||||||
|
# a hard reboot + Contabo abuse-block recovery. -Sy syncs the DB
|
||||||
|
# only; -s picks targeted makedepends via pacman.
|
||||||
sudo pacman -Sy --noconfirm
|
sudo pacman -Sy --noconfirm
|
||||||
|
|
||||||
for pkg in $CHANGED; do
|
for pkg in $CHANGED; do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user