[Backport release-24.11] incus-lts: 6.0.2 -> 6.0.3 (#367541)

This commit is contained in:
Adam C. Stephens 2024-12-23 08:59:27 -05:00 committed by GitHub
commit 63e085d7fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 26 additions and 19 deletions

View File

@ -464,8 +464,8 @@ in {
iftop = handleTest ./iftop.nix {};
immich = handleTest ./web-apps/immich.nix {};
incron = handleTest ./incron.nix {};
incus = pkgs.recurseIntoAttrs (handleTest ./incus { lts = false; });
incus-lts = pkgs.recurseIntoAttrs (handleTest ./incus { });
incus = pkgs.recurseIntoAttrs (handleTest ./incus { lts = false; inherit system pkgs; });
incus-lts = pkgs.recurseIntoAttrs (handleTest ./incus { inherit system pkgs; });
influxdb = handleTest ./influxdb.nix {};
influxdb2 = handleTest ./influxdb2.nix {};
initrd-network-openvpn = handleTestOn [ "x86_64-linux" "i686-linux" ] ./initrd-network-openvpn {};

View File

@ -1,4 +1,7 @@
{
system ? builtins.currentSystem,
config ? { },
pkgs ? import ../../.. { inherit system config; },
lts ? true,
...
}:
@ -7,36 +10,40 @@ let
in
{
all = incusTest {
inherit lts;
inherit lts pkgs system;
allTests = true;
};
container = incusTest {
inherit lts;
inherit lts pkgs system;
instanceContainer = true;
};
lvm = incusTest {
inherit lts;
inherit lts pkgs system;
storageLvm = true;
};
lxd-to-incus = import ./lxd-to-incus.nix { };
lxd-to-incus = import ./lxd-to-incus.nix {
inherit lts pkgs system;
};
openvswitch = incusTest {
inherit lts;
inherit lts pkgs system;
networkOvs = true;
};
ui = import ./ui.nix { };
ui = import ./ui.nix {
inherit lts pkgs system;
};
virtual-machine = incusTest {
inherit lts;
inherit lts pkgs system;
instanceVm = true;
};
zfs = incusTest {
inherit lts;
inherit lts pkgs system;
storageLvm = true;
};
}

View File

@ -445,7 +445,7 @@ import ../make-test-python.nix (
machine.succeed("incus storage volume show lvm_pool test_fs")
machine.succeed("incus storage volume show lvm_pool test_vol")
machine.succeed("incus create lvm1 --empty --storage zfs_pool")
machine.succeed("incus create lvm1 --empty --storage lvm_pool")
machine.succeed("incus list lvm1")
'';
}

View File

@ -3,7 +3,7 @@ import ../make-test-python.nix (
{
pkgs,
lib,
incus ? pkgs.incus-lts,
lts ? true,
...
}:
@ -21,7 +21,7 @@ import ../make-test-python.nix (
};
nodes.machine =
{ lib, ... }:
{ ... }:
{
virtualisation = {
diskSize = 6144;
@ -72,7 +72,7 @@ import ../make-test-python.nix (
incus = {
enable = true;
package = incus;
package = if lts then pkgs.incus-lts else pkgs.incus;
};
};
networking.nftables.enable = true;

View File

@ -2,7 +2,7 @@ import ../make-test-python.nix (
{
pkgs,
lib,
incus ? pkgs.incus-lts,
lts ? true,
...
}:
{
@ -18,7 +18,7 @@ import ../make-test-python.nix (
virtualisation = {
incus = {
enable = true;
package = incus;
package = if lts then pkgs.incus-lts else pkgs.incus;
};
incus.ui.enable = true;
};

View File

@ -1,7 +1,7 @@
import ./generic.nix {
hash = "sha256-roPBHqy5toYF0X9mATl6QYb5GGlgPoGZYOC9vKpca88=";
version = "6.0.2";
vendorHash = "sha256-TP1NaUpsHF54mWQDcHS4uabfRJWu3k51ANNPdA4k1Go=";
hash = "sha256-+W4imWem5iQ6nPVcoObc4COFxQVED0ppVd/YC+Nqtgw=";
version = "6.0.3";
vendorHash = "sha256-ZUtWzbAjHij95khYx8lWYEpA8ITlMtKpObG5Vl7aE90=";
patches = [
# qemu 9.1 compat, remove when added to LTS
./572afb06f66f83ca95efa1b9386fceeaa1c9e11b.patch