Kill apt
This commit is contained in:
parent
2179f84874
commit
a48cbe4bb2
5
.github/workflows/images.yml
vendored
5
.github/workflows/images.yml
vendored
@ -26,8 +26,9 @@ jobs:
|
|||||||
run: |
|
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}')
|
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
|
sleep 1m
|
||||||
ssh -o StrictHostKeyChecking=accept-new root@$IP apt -o 'DPkg::Lock::Timeout=120' update
|
ssh -o StrictHostKeyChecking=accept-new root@$IP pkill apt-get
|
||||||
ssh -o StrictHostKeyChecking=accept-new root@$IP apt -o 'DPkg::Lock::Timeout=120' install -y git podman
|
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 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 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
|
ssh -o StrictHostKeyChecking=accept-new root@$IP ./out-of-tree/tools/qemu-debian-img/generate-images.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user