Skip to content

Commit e6bcfba

Browse files
authored
[8.17](backport #6700) [Automation] Bump Golang version to 1.22.12 (#6836)
1 parent 7e2d5d6 commit e6bcfba

7 files changed

+41
-9
lines changed

.go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.9
1+
1.22.12

.golangci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ linters-settings:
120120

121121
gosimple:
122122
# Select the Go version to target. The default is '1.13'.
123-
go: "1.22.11"
123+
go: "1.22.12"
124124

125125
nolintlint:
126126
# Enable to ensure that nolint directives are all used. Default is true.
@@ -136,17 +136,17 @@ linters-settings:
136136

137137
staticcheck:
138138
# Select the Go version to target. The default is '1.13'.
139-
go: "1.22.11"
139+
go: "1.22.12"
140140
checks: ["all"]
141141

142142
stylecheck:
143143
# Select the Go version to target. The default is '1.13'.
144-
go: "1.22.11"
144+
go: "1.22.12"
145145
checks: ["all"]
146146

147147
unused:
148148
# Select the Go version to target. The default is '1.13'.
149-
go: "1.22.11"
149+
go: "1.22.12"
150150

151151
gosec:
152152
excludes:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.22.11
1+
ARG GO_VERSION=1.22.12
22
FROM circleci/golang:${GO_VERSION}
33

44

Dockerfile.skaffold

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.22.11
1+
ARG GO_VERSION=1.22.12
22
ARG crossbuild_image="docker.elastic.co/beats-dev/golang-crossbuild"
33
ARG AGENT_VERSION=8.9.0-SNAPSHOT
44
ARG AGENT_IMAGE="docker.elastic.co/beats/elastic-agent"
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: security
12+
13+
# Change summary; a 80ish characters long description of the change.
14+
summary: Upgrade to Go 1.22.12.
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: "elastic-agent"
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/elastic-agent/pull/6700
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/elastic-agent
22

3-
go 1.22.11
3+
go 1.22.12
44

55
require (
66
github.com/Jeffail/gabs/v2 v2.6.0

version/docs/version.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// FIXME: once elastic.co docs have been switched over to use `main`, remove
44
// the `doc-site-branch` line below as well as any references to it in the code.
55
:doc-site-branch: master
6-
:go-version: 1.22.11
6+
:go-version: 1.22.12
77
:release-state: unreleased
88
:python: 3.7
99
:docker: 1.12

0 commit comments

Comments
 (0)