From 60323508d60f5e8be4d1f5f1b2ff62d47f89f33e Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 17 Jul 2024 07:01:01 +0000 Subject: [PATCH] Remove VM tests for EOL distros --- nix/tests/vm-test/default.nix | 61 ++++------------------------------- 1 file changed, 6 insertions(+), 55 deletions(-) diff --git a/nix/tests/vm-test/default.nix b/nix/tests/vm-test/default.nix index ed215a2..bb9d0d1 100644 --- a/nix/tests/vm-test/default.nix +++ b/nix/tests/vm-test/default.nix @@ -431,25 +431,10 @@ let disableSELinux = "sudo setenforce 0"; images = { - - # End of standard support https://wiki.ubuntu.com/Releases - # No systemd - /* - "ubuntu-v14_04" = { + "ubuntu-v20_04" = { image = import { - url = "https://app.vagrantup.com/ubuntu/boxes/trusty64/versions/20190514.0.0/providers/virtualbox.box"; - hash = "sha256-iUUXyRY8iW7DGirb0zwGgf1fRbLA7wimTJKgP7l/OQ8="; - }; - rootDisk = "box-disk1.vmdk"; - system = "x86_64-linux"; - }; - */ - - # End of standard support https://wiki.ubuntu.com/Releases - "ubuntu-v16_04" = { - image = import { - url = "https://app.vagrantup.com/generic/boxes/ubuntu1604/versions/4.1.12/providers/libvirt.box"; - hash = "sha256-lO4oYQR2tCh5auxAYe6bPOgEqOgv3Y3GC1QM1tEEEU8="; + url = "https://app.vagrantup.com/generic/boxes/ubuntu2004/versions/4.3.12/providers/libvirt.box"; + hash = "sha256-lo6fkz6N/Q9mdD+RWoUssak9TVod0F7QSgZvxnMj9IQ="; }; rootDisk = "box.img"; system = "x86_64-linux"; @@ -464,50 +449,16 @@ let system = "x86_64-linux"; }; - "fedora-v36" = { + "fedora-v39" = { image = import { - url = "https://app.vagrantup.com/generic/boxes/fedora36/versions/4.1.12/providers/libvirt.box"; - hash = "sha256-rxPgnDnFkTDwvdqn2CV3ZUo3re9AdPtSZ9SvOHNvaks="; + url = "https://app.vagrantup.com/generic/boxes/fedora39/versions/4.3.12/providers/libvirt.box"; + hash = "sha256-VJbWmcy3XiEm7cUAXtod8VlFwsIwnVYlZ/LYTuoj9WI="; }; rootDisk = "box.img"; system = "x86_64-linux"; upstreamScriptsWork = false; # SELinux! }; - "fedora-v37" = { - image = import { - url = "https://app.vagrantup.com/generic/boxes/fedora37/versions/4.2.14/providers/libvirt.box"; - hash = "sha256-rxPgnDnFkTDwvdqn2CV3ZUo3re9AdPtSZ9SvOHNvaks="; - }; - rootDisk = "box.img"; - system = "x86_64-linux"; - upstreamScriptsWork = false; # SELinux! - }; - - # Currently fails with 'error while loading shared libraries: - # libsodium.so.23: cannot stat shared object: Invalid argument'. - /* - "rhel-v6" = { - image = import { - url = "https://app.vagrantup.com/generic/boxes/rhel6/versions/4.1.12/providers/libvirt.box"; - hash = "sha256-QwzbvRoRRGqUCQptM7X/InRWFSP2sqwRt2HaaO6zBGM="; - }; - rootDisk = "box.img"; - upstreamScriptsWork = false; # SELinux! - system = "x86_64-linux"; - }; - */ - - "rhel-v7" = { - image = import { - url = "https://app.vagrantup.com/generic/boxes/rhel7/versions/4.1.12/providers/libvirt.box"; - hash = "sha256-b4afnqKCO9oWXgYHb9DeQ2berSwOjS27rSd9TxXDc/U="; - }; - rootDisk = "box.img"; - upstreamScriptsWork = false; # SELinux! - system = "x86_64-linux"; - }; - "rhel-v8" = { image = import { url = "https://app.vagrantup.com/generic/boxes/rhel8/versions/4.1.12/providers/libvirt.box";