tests: add debian/ubuntu based tests images.
Also some cleanup of tests resources.
This commit is contained in:
parent
7c427aaae6
commit
9110a70124
10 changed files with 30 additions and 8 deletions
|
|
@ -55,7 +55,6 @@ clean_apt() {
|
|||
|
||||
clean_pacman() {
|
||||
_msg "Cleaning pacman cache"
|
||||
pacman -Syu --noconfirm
|
||||
pacman -Scc --noconfirm
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
set -eu
|
||||
set -eux
|
||||
|
||||
_lsb_release() {
|
||||
# shellcheck source=/dev/null
|
||||
|
|
@ -31,7 +31,8 @@ main() {
|
|||
;;
|
||||
|
||||
debian | ubuntu)
|
||||
dpkg -i $SRC/*.deb
|
||||
apt install -y apparmor-profiles
|
||||
dpkg -i $SRC/*.deb || true
|
||||
;;
|
||||
|
||||
opensuse*)
|
||||
|
|
|
|||
|
|
@ -98,8 +98,8 @@ variable "DM" {
|
|||
img_checksum = "https://cdimage.debian.org/images/cloud/bookworm/latest/SHA512SUMS"
|
||||
}
|
||||
"debian13" : {
|
||||
img_url = "https://cdimage.debian.org/images/cloud/trixie/daily/latest/debian-13-genericcloud-amd64-daily.qcow2"
|
||||
img_checksum = "https://cdimage.debian.org/images/cloud/trixie/daily/latest/SHA512SUMS"
|
||||
img_url = "https://cdimage.debian.org/images/cloud/trixie/latest/debian-13-genericcloud-amd64.qcow2"
|
||||
img_checksum = "https://cdimage.debian.org/images/cloud/trixie/latest/SHA512SUMS"
|
||||
}
|
||||
"ubuntu22" : {
|
||||
img_url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue