build: Rebase to kubevirt/virt-launcher container image
Some checks failed
build-image / Build image (push) Failing after 40s
Some checks failed
build-image / Build image (push) Failing after 40s
This commit is contained in:
@ -46,6 +46,9 @@ jobs:
|
|||||||
build_image:
|
build_image:
|
||||||
name: Build image
|
name: Build image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: quay.io/kubevirt/virt-launcher:v1.5.2
|
||||||
|
options: --privileged
|
||||||
# needs: semrel_dryrun
|
# needs: semrel_dryrun
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@ -91,22 +94,21 @@ jobs:
|
|||||||
PUBLIC_SSHKEY: ${{ secrets.PUBLIC_SSHKEY }}
|
PUBLIC_SSHKEY: ${{ secrets.PUBLIC_SSHKEY }}
|
||||||
- name: Create empty QCOW2 disk
|
- name: Create empty QCOW2 disk
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
# apt-get update && \
|
||||||
apt-get install -y \
|
# apt-get install -y \
|
||||||
qemu-utils
|
# qemu-utils
|
||||||
|
|
||||||
qemu-img create -f qcow2 ubuntu-vm/ubuntu.qcow2 10G
|
qemu-img create -f qcow2 ubuntu-vm/ubuntu.qcow2 10G
|
||||||
- name: Run virt-install
|
- name: Run virt-install
|
||||||
# container: quay.io/kubevirt/libvirt
|
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
# apt-get update && \
|
||||||
apt-get install -y \
|
# apt-get install -y \
|
||||||
libvirt-daemon-system \
|
# libvirt-daemon-system \
|
||||||
libvirt-clients \
|
# libvirt-clients \
|
||||||
virtinst \
|
# virtinst \
|
||||||
qemu-utils
|
# qemu-utils
|
||||||
|
|
||||||
libvirtd -d && virtlogd -d
|
# libvirtd -d && virtlogd -d
|
||||||
|
|
||||||
virt-install \
|
virt-install \
|
||||||
--name ubuntu-harvester \
|
--name ubuntu-harvester \
|
||||||
|
Reference in New Issue
Block a user