From ebc6949358a3ff96a7cd0ca767e034c296d3f4c4 Mon Sep 17 00:00:00 2001 From: Yilin Sun Date: Wed, 17 Apr 2024 16:11:48 +0800 Subject: [PATCH] ci: Force sleep for 5 minutes before install dependencies. Signed-off-by: Yilin Sun --- .drone.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0084d8f..63b4451 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,6 +15,8 @@ steps: environment: DEBIAN_FRONTEND: noninteractive commands: + - echo "Sleep 5 minutes to overcome the unattended-upgrades" + - sleep 300 - apt-get update - apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget @@ -79,8 +81,10 @@ steps: environment: DEBIAN_FRONTEND: noninteractive commands: - - apt-get update - - apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget + - echo "Sleep 5 minutes to overcome the unattended-upgrades" + - sleep 300 + - apt-get update + - apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget - name: patch defconfig environment: