Skip to content

Commit c251a71

Browse files
authored
Bump Go to 1.24.2 (#2261)
* bump search node timeouts up * add go 1.24.2 flake
1 parent e295083 commit c251a71

File tree

5 files changed

+84
-51
lines changed

5 files changed

+84
-51
lines changed

devbox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"yq-go@latest",
44
55
"jq@latest",
6-
6+
"path:flakes/go",
77
"gotests@latest",
88
"act@latest",
99
"kubectl@latest",

devbox.lock

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -528,54 +528,6 @@
528528
}
529529
}
530530
},
531-
532-
"last_modified": "2025-03-11T17:52:14Z",
533-
"resolved": "github:NixOS/nixpkgs/0d534853a55b5d02a4ababa1d71921ce8f0aee4c#go",
534-
"source": "devbox-search",
535-
"version": "1.24.1",
536-
"systems": {
537-
"aarch64-darwin": {
538-
"outputs": [
539-
{
540-
"name": "out",
541-
"path": "/nix/store/ja4jxx60lh1qfqfl4z4p2rff56ia1c3c-go-1.24.1",
542-
"default": true
543-
}
544-
],
545-
"store_path": "/nix/store/ja4jxx60lh1qfqfl4z4p2rff56ia1c3c-go-1.24.1"
546-
},
547-
"aarch64-linux": {
548-
"outputs": [
549-
{
550-
"name": "out",
551-
"path": "/nix/store/8ply43gnxk1xwichr81mpgbjcd9a1y5w-go-1.24.1",
552-
"default": true
553-
}
554-
],
555-
"store_path": "/nix/store/8ply43gnxk1xwichr81mpgbjcd9a1y5w-go-1.24.1"
556-
},
557-
"x86_64-darwin": {
558-
"outputs": [
559-
{
560-
"name": "out",
561-
"path": "/nix/store/87yxrfx5lh78bdz393i33cr5z23x06q4-go-1.24.1",
562-
"default": true
563-
}
564-
],
565-
"store_path": "/nix/store/87yxrfx5lh78bdz393i33cr5z23x06q4-go-1.24.1"
566-
},
567-
"x86_64-linux": {
568-
"outputs": [
569-
{
570-
"name": "out",
571-
"path": "/nix/store/cfjhl0kn7xc65466pha9fkrvigw3g72n-go-1.24.1",
572-
"default": true
573-
}
574-
],
575-
"store_path": "/nix/store/cfjhl0kn7xc65466pha9fkrvigw3g72n-go-1.24.1"
576-
}
577-
}
578-
},
579531
580532
"last_modified": "2025-03-25T17:32:05Z",
581533
"resolved": "github:NixOS/nixpkgs/25d1b84f5c90632a623c48d83a2faf156451e6b1#golangci-lint",

flakes/go/flake.lock

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flakes/go/flake.nix

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
description = "A flake for Go 1.24.2";
3+
inputs = {
4+
nixpkgs.url = "github:NixOS/nixpkgs";
5+
flake-utils.url = "github:numtide/flake-utils";
6+
};
7+
outputs = { self, nixpkgs, flake-utils }:
8+
flake-utils.lib.eachDefaultSystem (system:
9+
let
10+
pkgs = import nixpkgs { inherit system; };
11+
in
12+
{
13+
packages.default = pkgs.go_1_24.overrideAttrs (old: {
14+
version = "1.24.2";
15+
src = pkgs.fetchurl {
16+
url = "https://golang.org/dl/go1.24.2.linux-amd64.tar.gz";
17+
sha256 = "sha256-aAl71oCDnLydRkoO3OT3wzOXXiepAkaJDp8QeMfnAq0=";
18+
};
19+
});
20+
});
21+
}

test/e2e/searchnodes_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var _ = Describe("Search Nodes", Label("atlas-search-nodes"), func() {
6868
}
6969
}
7070
return false
71-
}).WithTimeout(20 * time.Minute).Should(BeTrue())
71+
}).WithTimeout(60 * time.Minute).Should(BeTrue())
7272

7373
Eventually(func(g Gomega) {
7474
atlasSearchNodes, _, err := atlasClient.Client.AtlasSearchApi.GetAtlasSearchDeployment(testData.Context, testData.Project.ID(), testData.InitialDeployments[0].Name).Execute()
@@ -99,7 +99,7 @@ var _ = Describe("Search Nodes", Label("atlas-search-nodes"), func() {
9999
}
100100
}
101101
return false
102-
}).WithTimeout(20 * time.Minute).Should(BeTrue())
102+
}).WithTimeout(60 * time.Minute).Should(BeTrue())
103103

104104
})
105105
By("Removing the search nodes from the deployment", func() {

0 commit comments

Comments
 (0)