From 3d3acfc3905db6e481b5e11291734c68e26b992c Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Thu, 22 Aug 2024 11:56:34 +0000 Subject: [PATCH] fix --- .github/workflows/run-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5b26cbca..b6422a62 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -219,7 +219,8 @@ jobs: - name: Download and resize target OS cloud image run: | mkdir img - wget -nv https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/cloud/nocloud_alpine-3.20.2-x86_64-bios-cloudinit-r0.qcow2 -O img/image + # we need to use metal image because virt image doesn't provide pppoe driver (https://gitlab.alpinelinux.org/alpine/aports/-/issues/13739) + wget -nv https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/cloud/nocloud_alpine-3.20.2-x86_64-bios-cloudinit-metal-r0.qcow2 -O img/image qemu-img resize -f qcow2 img/`ls -1 img` +2G - name: Run target OS first time (for cloud-init actions) run: sudo qemu-system-x86_64 -enable-kvm -cpu host -m 4096 -nographic -drive format=qcow2,file=img/`ls -1 img` -drive format=raw,file=init.img @@ -246,7 +247,7 @@ jobs: ssh -i ssh-key -p2222 alpine@localhost "doas cat /etc/passwd" - name: Install build tools (on target OS) run: > - ssh -i ssh-key -p2222 alpine@localhost "doas apk add --no-cache git cmake make g++ pcre-dev libressl-dev linux-headers libucontext-dev lua5.1-dev linux-virt-dev py3-pip + ssh -i ssh-key -p2222 alpine@localhost "doas apk add --no-cache git cmake make g++ pcre-dev libressl-dev linux-headers libucontext-dev lua5.1-dev linux-lts-dev py3-pip ppp ppp-pppoe && (doas pip3 install pytest pytest-dependency pytest-order || doas pip3 install --break-system-packages pytest pytest-dependency pytest-order)" - name: Copy source code to target OS