Move test image definitions to a separate file.
This commit is contained in:
parent
31d86eb7da
commit
b5ac42f1bd
3 changed files with 64 additions and 63 deletions
62
nix/lib.nix
62
nix/lib.nix
|
|
@ -91,68 +91,6 @@ in
|
|||
in
|
||||
returnIfNoAssertions toplevel;
|
||||
|
||||
# TODO: put these in an external JSON file that we can automatically update
|
||||
images.ubuntu = {
|
||||
x86_64-linux = {
|
||||
ubuntu_23_04_cloudimg = {
|
||||
name = "ubuntu-23.04-server-cloudimg-amd64.img";
|
||||
releaseName = "lunar";
|
||||
releaseTimeStamp = "20230502";
|
||||
hash = "sha256-E5ZchMZcurCzQyasNKwMR6iAMPnf+A5jkeVsuQd8rdA=";
|
||||
};
|
||||
|
||||
ubuntu_22_10_cloudimg = {
|
||||
name = "ubuntu-22.10-server-cloudimg-amd64.img";
|
||||
releaseName = "kinetic";
|
||||
releaseTimeStamp = "20230428";
|
||||
hash = "sha256-HYgpm243gfJgY3zK2lVVlSLfW3a/Vhdop/zJErIt6r4=";
|
||||
};
|
||||
|
||||
ubuntu_22_04_cloudimg = {
|
||||
name = "ubuntu-22.04-server-cloudimg-amd64.img";
|
||||
releaseName = "jammy";
|
||||
releaseTimeStamp = "20230427";
|
||||
hash = "sha256-m76TZOKYnBzOLBZpt6kcK70TkFKHaoyBzVLA+q77ZHQ=";
|
||||
};
|
||||
|
||||
ubuntu_20_04_cloudimg = {
|
||||
name = "ubuntu-20.04-server-cloudimg-amd64.img";
|
||||
releaseName = "focal";
|
||||
releaseTimeStamp = "20230420";
|
||||
hash = "sha256-XFUVWvk8O1IHfp+sAiOSCU5ASk/qJG2JIF4WH0ex12U=";
|
||||
};
|
||||
};
|
||||
aarch64-linux = {
|
||||
ubuntu_23_04_cloudimg = {
|
||||
name = "ubuntu-23.04-server-cloudimg-arm64.img";
|
||||
releaseName = "lunar";
|
||||
releaseTimeStamp = "20230502";
|
||||
hash = "";
|
||||
};
|
||||
|
||||
ubuntu_22_10_cloudimg = {
|
||||
name = "ubuntu-22.10-server-cloudimg-arm64.img";
|
||||
releaseName = "kinetic";
|
||||
releaseTimeStamp = "20230428";
|
||||
hash = "";
|
||||
};
|
||||
|
||||
ubuntu_22_04_cloudimg = {
|
||||
name = "ubuntu-22.04-server-cloudimg-arm64.img";
|
||||
releaseName = "jammy";
|
||||
releaseTimeStamp = "20230427";
|
||||
hash = "sha256-9vkeg5VumVBxj4TaLd0SgJEWjw11pcP7SBz5zd1V0EE=";
|
||||
};
|
||||
|
||||
ubuntu_20_04_cloudimg = {
|
||||
name = "ubuntu-20.04-server-cloudimg-arm64.img";
|
||||
releaseName = "focal";
|
||||
releaseTimeStamp = "20230420";
|
||||
hash = "sha256-YUtW3oMHz4Hw7WeIu6ksx+/mUfxp7cCSSETvY6KGwU4=";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Careful since we do not have the nix store yet when this service runs,
|
||||
# so we cannot use pkgs.writeTest or pkgs.writeShellScript for instance,
|
||||
# since their results would refer to the store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue