nomad: nomad_1_7 -> nomad_1_8, nomad_1_9: init at 1.9.0 (#349151)

This commit is contained in:
Weijia Wang
2024-11-06 01:04:41 +01:00
committed by GitHub
3 changed files with 18 additions and 2 deletions
@@ -448,7 +448,9 @@
before changing the package to `pkgs.stalwart-mail` in
[`services.stalwart-mail.package`](#opt-services.stalwart-mail.package).
- The `nomad_1_5` package was dropped, as [it has reached end-of-life upstream](https://support.hashicorp.com/hc/en-us/articles/360021185113-Support-Period-and-End-of-Life-EOL-Policy). Evaluating it will throw an error.
- The `nomad_1_5` and `nomad_1_6` package were dropped, as [they have reached end-of-life upstream](https://support.hashicorp.com/hc/en-us/articles/360021185113-Support-Period-and-End-of-Life-EOL-Policy). Evaluating them will throw an error.
- The default `nomad` package has been updated to 1.8.x. For more information, see [breaking changes for Nomad 1.8](https://developer.hashicorp.com/nomad/docs/upgrade/upgrade-specific#nomad-1-8-0)
- `androidndkPkgs` has been updated to `androidndkPkgs_26`.
@@ -1,6 +1,7 @@
{ lib
, buildGoModule
, buildGo122Module
, buildGo123Module
, fetchFromGitHub
, nixosTests
, installShellFiles
@@ -54,7 +55,7 @@ rec {
# Upstream partially documents used Go versions here
# https://github.com/hashicorp/nomad/blob/master/contributing/golang.md
nomad = nomad_1_7;
nomad = nomad_1_8;
nomad_1_4 = throwUnsupportaed "nomad_1_4";
@@ -85,4 +86,16 @@ rec {
export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
'';
};
nomad_1_9 = generic {
buildGoModule = buildGo123Module;
version = "1.9.0";
sha256 = "sha256-MJNPYSH3KsRmGQeOcWw4VvDeFGinfsyGSo4q3OdOZo8=";
vendorHash = "sha256-Ss/qwQ14VUu40nXaIgTfNuj95ekTTVrY+zcStFDSCyI=";
license = lib.licenses.bsl11;
passthru.tests.nomad = nixosTests.nomad;
preCheck = ''
export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
'';
};
}
+1
View File
@@ -10262,6 +10262,7 @@ with pkgs;
nomad_1_6
nomad_1_7
nomad_1_8
nomad_1_9
;
nomad-autoscaler = callPackage ../applications/networking/cluster/nomad-autoscaler { };