From a48cbe4bb25bd36c8d1ecf7901e9f7f61d4e1500 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Fri, 12 May 2023 07:29:04 +0000 Subject: [PATCH] Kill apt --- .github/workflows/images.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index ba845f1..858657a 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -26,8 +26,9 @@ jobs: run: | IP=$(doctl compute droplet list --tag-name=github-actions --format "Name,Public IPv4" | grep -v ID | grep ga-out-of-tree-$GITHUB_SHA | awk '{print $2}') sleep 1m - ssh -o StrictHostKeyChecking=accept-new root@$IP apt -o 'DPkg::Lock::Timeout=120' update - ssh -o StrictHostKeyChecking=accept-new root@$IP apt -o 'DPkg::Lock::Timeout=120' install -y git podman + ssh -o StrictHostKeyChecking=accept-new root@$IP pkill apt-get + ssh -o StrictHostKeyChecking=accept-new root@$IP apt-get update + ssh -o StrictHostKeyChecking=accept-new root@$IP apt-get install -y git podman ssh -o StrictHostKeyChecking=accept-new root@$IP git clone https://github.com/out-of-tree/out-of-tree ssh -o StrictHostKeyChecking=accept-new root@$IP sh -c "cd out-of-tree && git checkout $GITHUB_SHA" ssh -o StrictHostKeyChecking=accept-new root@$IP ./out-of-tree/tools/qemu-debian-img/generate-images.sh