Skip to content

Commit 9182e07

Browse files
[9.0](backport #5562) Bump Go version to 1.25.1 (#5583)
* Bump Go version to 1.25.1 (#5562) * Bump Go version to 1.25.1 * Update CHANGELOG entry * Bump the version of golangci-lint * Remove references to the ms_tls13kdf build tag * Download go module dependencies before GODEBUG=fips140=only is set * Exclude X25519 curve types when testing in FIPS-140 mode * Stricter check * Add missing license header * Exclude X25519 curve types when testing in FIPS-140-only mode * Use stricter check * Update NOTICE files * Remove IsFIPS140Only helper function * Set GODEBUG=tlsmlkem=0 for FIPS140-only unit tests * Remove replace directive from go.mod * Try not pre-downloading dependencies (cherry picked from commit 15b8c8a) * Fixing conflicts * Bumping timeout --------- Co-authored-by: Shaunak Kashyap <[email protected]>
1 parent c1f4fcb commit 9182e07

File tree

7 files changed

+38
-6
lines changed

7 files changed

+38
-6
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24.7
1+
1.25.1

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run:
44
timeout: 1m
55
build-tags:
66
- integration
7-
go: "1.24.7"
7+
go: "1.25.1"
88

99
issues:
1010
# Maximum count of issues with the same text.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Kind can be one of:
2+
# - breaking-change: a change to previously-documented behavior
3+
# - deprecation: functionality that is being removed in a later release
4+
# - bug-fix: fixes a problem in a previous version
5+
# - enhancement: extends functionality but does not break or fix existing behavior
6+
# - feature: new functionality
7+
# - known-issue: problems that we are aware of in a given version
8+
# - security: impacts on the security of a product or a user’s deployment.
9+
# - upgrade: important information for someone upgrading from a prior version
10+
# - other: does not fit into any of the other categories
11+
kind: enhancement
12+
13+
# Change summary; a 80ish characters long description of the change.
14+
summary: Update Go to v1.25.1
15+
16+
# Long description; in case the summary is not enough to describe the change
17+
# this field accommodate a description without length limits.
18+
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
19+
#description:
20+
21+
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
22+
component: fleet-server
23+
24+
# PR URL; optional; the PR number that added the changeset.
25+
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
26+
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
27+
# Please provide it if you are adding a fragment for a different PR.
28+
pr: https://github.com/elastic/fleet-server/pull/5562
29+
30+
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
31+
# If not present is automatically filled by the tooling with the issue linked to the PR number.
32+
#issue: https://github.com/owner/repo/1234

dev-tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/fleet-server/dev-tools
22

3-
go 1.24.7
3+
go 1.25.1
44

55
tool (
66
github.com/elastic/go-json-schema-generate/cmd/schema-generate

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/fleet-server/v7
22

3-
go 1.24.7
3+
go 1.25.1
44

55
require (
66
github.com/Pallinder/go-randomdata v1.2.0

testing/e2e/agent_container_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (suite *AgentContainerSuite) TearDownTest() {
8989
// It checks the status API on the fleet-server's external port and that the agent listed in Kibana states "online"
9090
// Tests that enroll another agent explicitly need fleet-server to be online
9191
func (suite *AgentContainerSuite) FleetIsHealthy(bCtx context.Context, endpoint string) {
92-
ctx, cancel := context.WithTimeout(bCtx, 4*time.Minute)
92+
ctx, cancel := context.WithTimeout(bCtx, 5*time.Minute)
9393
defer cancel()
9494
suite.FleetServerStatusOK(ctx, endpoint)
9595

testing/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/fleet-server/testing
22

3-
go 1.24.7
3+
go 1.25.1
44

55
replace (
66
github.com/elastic/fleet-server/pkg/api => ../pkg/api

0 commit comments

Comments
 (0)