Skip to content

Commit e9f1e51

Browse files
[8.19](backport #4891) Update to go 1.24.3 (#4945)
* 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 be3d923 commit e9f1e51

File tree

6 files changed

+57
-21
lines changed

6 files changed

+57
-21
lines changed

.ci/bump-golang.yml

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

56-
gomod:
57-
dependson:
58-
- latestGoVersion
59-
name: Get version in go.mod format
60-
kind: shell
61-
transformers:
62-
- findsubmatch:
63-
pattern: '^(\d+.\d+).\d+'
64-
captureindex: 1
65-
spec:
66-
command: echo {{ source "latestGoVersion" }}
67-
6856
conditions:
6957
dockerTag:
7058
name: Is docker image golang:{{ source "latestGoVersion" }} published
@@ -102,10 +90,28 @@ targets:
10290
matchpattern: '\d+.\d+.\d+'
10391
update-gomod:
10492
name: "Update go.mod"
105-
sourceid: gomod
93+
sourceid: latestGoVersion
10694
scmid: githubConfig
10795
kind: file
10896
spec:
109-
content: 'go {{ source "gomod" }}'
97+
content: 'go {{ source "latestGoVersion" }}'
11098
file: go.mod
111-
matchpattern: 'go \d+.\d+'
99+
matchpattern: 'go \d+.\d+.\d+'
100+
update-testing-gomod:
101+
name: "Update go.mod"
102+
sourceid: latestGoVersion
103+
scmid: githubConfig
104+
kind: file
105+
spec:
106+
content: 'go {{ source "latestGoVersion" }}'
107+
file: testing/go.mod
108+
matchpattern: 'go \d+.\d+.\d+'
109+
update-dev-tools-gomod:
110+
name: "Update go.mod"
111+
sourceid: latestGoVersion
112+
scmid: githubConfig
113+
kind: file
114+
spec:
115+
content: 'go {{ source "latestGoVersion" }}'
116+
file: dev-tools/go.mod
117+
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.24.0
1+
1.24.3

.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.0"
7+
go: "1.24.3"
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.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.24
3+
go 1.24.3
44

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

testing/go.mod

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

3-
go 1.24
4-
5-
toolchain go1.24.0
3+
go 1.24.3
64

75
replace (
86
github.com/elastic/fleet-server/pkg/api => ../pkg/api

0 commit comments

Comments
 (0)