Skip to content

Commit cb12f9c

Browse files
pkoutsovasilismergify[bot]
authored andcommitted
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
1 parent 8223db7 commit cb12f9c

File tree

5 files changed

+114
-15
lines changed

5 files changed

+114
-15
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+'
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

dev-tools/go.mod

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
module github.com/elastic/fleet-server/dev-tools
2+
3+
go 1.24.3
4+
5+
tool (
6+
github.com/elastic/go-json-schema-generate/cmd/schema-generate
7+
github.com/elastic/go-licenser
8+
github.com/jstemmer/go-junit-report
9+
github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen
10+
go.elastic.co/go-licence-detector
11+
golang.org/x/perf/cmd/benchstat
12+
)
13+
14+
require github.com/elastic/elastic-agent-libs v0.18.12
15+
16+
require (
17+
github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794 // indirect
18+
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
19+
github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect
20+
github.com/elastic/go-json-schema-generate v0.0.0-20220323152209-ec19b88f6b5e // indirect
21+
github.com/elastic/go-licenser v0.4.2 // indirect
22+
github.com/elastic/go-ucfg v0.8.5 // indirect
23+
github.com/elastic/pkcs8 v1.0.0 // indirect
24+
github.com/getkin/kin-openapi v0.131.0 // indirect
25+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
26+
github.com/go-openapi/swag v0.23.0 // indirect
27+
github.com/google/licenseclassifier v0.0.0-20200402202327-879cb1424de0 // indirect
28+
github.com/josharian/intern v1.0.0 // indirect
29+
github.com/jstemmer/go-junit-report v1.0.0 // indirect
30+
github.com/mailru/easyjson v0.7.7 // indirect
31+
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
32+
github.com/oapi-codegen/oapi-codegen/v2 v2.4.1 // indirect
33+
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 // indirect
34+
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 // indirect
35+
github.com/perimeterx/marshmallow v1.1.5 // indirect
36+
github.com/pkg/errors v0.9.1 // indirect
37+
github.com/sergi/go-diff v1.1.0 // indirect
38+
github.com/speakeasy-api/openapi-overlay v0.9.0 // indirect
39+
github.com/vmware-labs/yaml-jsonpath v0.3.2 // indirect
40+
go.elastic.co/ecszap v1.0.2 // indirect
41+
go.elastic.co/go-licence-detector v0.7.0 // indirect
42+
go.uber.org/multierr v1.11.0 // indirect
43+
go.uber.org/zap v1.27.0 // indirect
44+
golang.org/x/crypto v0.36.0 // indirect
45+
golang.org/x/mod v0.20.0 // indirect
46+
golang.org/x/perf v0.0.0-20250305200902-02a15fd477ba // indirect
47+
golang.org/x/sync v0.12.0 // indirect
48+
golang.org/x/sys v0.31.0 // indirect
49+
golang.org/x/text v0.23.0 // indirect
50+
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
51+
gopkg.in/yaml.v2 v2.4.0 // indirect
52+
gopkg.in/yaml.v3 v3.0.1 // indirect
53+
)

go.mod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
module github.com/elastic/fleet-server/v7
22

3+
<<<<<<< HEAD
34
go 1.24
5+
=======
6+
go 1.24.3
7+
>>>>>>> 9dd0054 (Update to go 1.24.3 (#4891))
48

59
require (
610
github.com/Pallinder/go-randomdata v1.2.0

testing/go.mod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
module github.com/elastic/fleet-server/testing
22

3+
<<<<<<< HEAD
34
go 1.24
45

56
toolchain go1.24.0
7+
=======
8+
go 1.24.3
9+
>>>>>>> 9dd0054 (Update to go 1.24.3 (#4891))
610

711
replace (
812
github.com/elastic/fleet-server/pkg/api => ../pkg/api

0 commit comments

Comments
 (0)