Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 21 additions & 15 deletions .ci/bump-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@ sources:
kind: regex
pattern: go1\.{{ source "minor" }}\.(\d*)$

gomod:
dependson:
- latestGoVersion
name: Get version in go.mod format
kind: shell
transformers:
- findsubmatch:
pattern: '^(\d+.\d+).\d+'
captureindex: 1
spec:
command: echo {{ source "latestGoVersion" }}

conditions:
dockerTag:
name: Is docker image golang:{{ source "latestGoVersion" }} published
Expand Down Expand Up @@ -102,10 +90,28 @@ targets:
matchpattern: '\d+.\d+.\d+'
update-gomod:
name: "Update go.mod"
sourceid: gomod
sourceid: latestGoVersion
scmid: githubConfig
kind: file
spec:
content: 'go {{ source "gomod" }}'
content: 'go {{ source "latestGoVersion" }}'
file: go.mod
matchpattern: 'go \d+.\d+'
matchpattern: 'go \d+.\d+.\d+'
update-testing-gomod:
name: "Update go.mod"
sourceid: latestGoVersion
scmid: githubConfig
kind: file
spec:
content: 'go {{ source "latestGoVersion" }}'
file: testing/go.mod
matchpattern: 'go \d+.\d+.\d+'
update-dev-tools-gomod:
name: "Update go.mod"
sourceid: latestGoVersion
scmid: githubConfig
kind: file
spec:
content: 'go {{ source "latestGoVersion" }}'
file: dev-tools/go.mod
matchpattern: 'go \d+.\d+.\d+'
32 changes: 32 additions & 0 deletions changelog/fragments/1746596216-Update-to-go-1.24.2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: enhancement

# Change summary; a 80ish characters long description of the change.
summary: Update go to v1.24.2

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
#description:

# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component:

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: https://github.com/elastic/fleet-server/pull/4891

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
#issue: https://github.com/owner/repo/1234
2 changes: 1 addition & 1 deletion dev-tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/elastic/fleet-server/dev-tools

go 1.24.0
go 1.24.2

tool (
github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/elastic/fleet-server/v7

go 1.24.1
go 1.24.2

require (
github.com/Pallinder/go-randomdata v1.2.0
Expand Down
2 changes: 1 addition & 1 deletion testing/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/elastic/fleet-server/testing

go 1.24.1
go 1.24.2

replace (
github.com/elastic/fleet-server/pkg/api => ../pkg/api
Expand Down
Loading