Skip to content

Commit

Permalink
Disable APT Daily on Debian worker image to avoid APT lock contention (
Browse files Browse the repository at this point in the history
  • Loading branch information
ajorg authored Nov 20, 2024
1 parent 57d8382 commit f23f2cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions daisy_workflows/image_build/debian/debian_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
# Builds a Debian based image for import, export, and build tasks. Preloads
# dependencies and binaries for these workflows.

echo "BuildStatus: Disabling APT Daily."
systemctl disable apt-daily.timer
systemctl stop apt-daily.timer

echo "BuildStatus: Updating package cache."
apt -y update
if [[ $? -ne 0 ]]; then
Expand Down

0 comments on commit f23f2cb

Please sign in to comment.