avoid trying to update containerd on rebuild cluster
Homelab Main / validate (push) Waiting to run Details
Homelab Main / deploy (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-09-26 09:11:18 -06:00
parent f8b4efe436
commit 6967423002
1 changed files with 10 additions and 0 deletions

View File

@ -114,6 +114,11 @@ DOCKER_SOURCES
sudo apt-get remove -y containerd runc || true sudo apt-get remove -y containerd runc || true
fi fi
if dpkg -s containerd.io >/dev/null 2>&1; then
sudo apt-mark hold containerd.io
return 0
fi
apt_get update || { apt_get update || {
diagnose_apt_network "APT update failed before installing containerd.io" "containerd.io" diagnose_apt_network "APT update failed before installing containerd.io" "containerd.io"
exit 1 exit 1
@ -672,6 +677,11 @@ DOCKER_SOURCES
sudo apt-get remove -y containerd runc || true sudo apt-get remove -y containerd runc || true
fi fi
if dpkg -s containerd.io >/dev/null 2>&1; then
sudo apt-mark hold containerd.io
return 0
fi
apt_get update || { apt_get update || {
diagnose_apt_network "APT update failed before installing containerd.io" "containerd.io" diagnose_apt_network "APT update failed before installing containerd.io" "containerd.io"
exit 1 exit 1