.gitlab-ci.yml: fix vm image jobs 90/72890/5
authorGwenael Lambrouin <gwenael.lambrouin@orange.com>
Mon, 21 Feb 2022 14:15:47 +0000 (15:15 +0100)
committerGwenael Lambrouin <gwenael.lambrouin@orange.com>
Mon, 21 Feb 2022 14:15:47 +0000 (15:15 +0100)
commitb8186aa57c5026c556f5ac41f49126b14d720cf4
treee13564cdfe6448b25d48042f120b336c4e98ac5e
parent792bfff16a555b15513b5e25da9cd8a7ff84ac28
.gitlab-ci.yml: fix vm image jobs

1) use CentOS 7 hosts to build VM images: CentOS 8 is not supported as a
build host according to diskimage-builder documentation:
https://docs.openstack.org/diskimage-builder/latest/user_guide/supported_distros.html
(page checked on 2022-02-08)

2) add missing packages for diskimage-builder: qemu-img kpartx sudo
e2fsprogs

3) use "python3 -m venv" instead of virtualenv (else the pipeline fails
because of https://github.com/pypa/virtualenv/issues/1029)

Change-Id: I14daf76dded1f230e12c47218ddcb1fe9029bcd8
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
.gitlab-ci.yml