Skip to content

Commit 02dfd2c

Browse files
[8.17](backport #4891) Update to go 1.24.3 (#4943)
* Update to go 1.24.3 (#4891) * chore: bump to go 1.24.3 (cherry picked from commit 9dd0054) # Conflicts: # dev-tools/go.mod # go.mod # testing/go.mod * fix: resolve conflicts --------- Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
1 parent c7a7943 commit 02dfd2c

File tree

6 files changed

+57
-19
lines changed

6 files changed

+57
-19
lines changed

.ci/bump-golang.yml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,6 @@ sources:
5252
kind: regex
5353
pattern: go1\.{{ source "minor" }}\.(\d*)$
5454

55-
gomod:
56-
dependson:
57-
- latestGoVersion
58-
name: Get version in go.mod format
59-
kind: shell
60-
transformers:
61-
- findsubmatch:
62-
pattern: '^(\d+.\d+).\d+'
63-
captureindex: 1
64-
spec:
65-
command: echo {{ source "latestGoVersion" }}
66-
6755
conditions:
6856
dockerTag:
6957
name: Is docker image golang:{{ source "latestGoVersion" }} published
@@ -101,10 +89,28 @@ targets:
10189
matchpattern: '\d+.\d+.\d+'
10290
update-gomod:
10391
name: "Update go.mod"
104-
sourceid: gomod
92+
sourceid: latestGoVersion
10593
scmid: githubConfig
10694
kind: file
10795
spec:
108-
content: 'go {{ source "gomod" }}'
96+
content: 'go {{ source "latestGoVersion" }}'
10997
file: go.mod
110-
matchpattern: 'go \d+.\d+'
98+
matchpattern: 'go \d+.\d+.\d+'
99+
update-testing-gomod:
100+
name: "Update go.mod"
101+
sourceid: latestGoVersion
102+
scmid: githubConfig
103+
kind: file
104+
spec:
105+
content: 'go {{ source "latestGoVersion" }}'
106+
file: testing/go.mod
107+
matchpattern: 'go \d+.\d+.\d+'
108+
update-dev-tools-gomod:
109+
name: "Update go.mod"
110+
sourceid: latestGoVersion
111+
scmid: githubConfig
112+
kind: file
113+
spec:
114+
content: 'go {{ source "latestGoVersion" }}'
115+
file: dev-tools/go.mod
116+
matchpattern: 'go \d+.\d+.\d+'

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.6
1+
1.24.3

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run:
33
# timeout for analysis, e.g. 30s, 5m, default is 1m
44
timeout: 1m
55
build-tags: integration
6-
go: "1.23.6"
6+
go: "1.24.3"
77

88
issues:
99
# 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.24.3
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/4891
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

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.23.0
3+
go 1.24.3
44

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

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.23.0
3+
go 1.24.3
44

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

0 commit comments

Comments
 (0)