Skip to content

Commit 070db8e

Browse files
[Automation] Bump Golang version to 1.22.8 (#41139)
* chore: Update Heartbeat Dockerfile Made with ❤️️ by updatecli * chore: Update Heartbeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update Functionbeat Dockerfile Made with ❤️️ by updatecli * chore: Update NATS module Dockerfile Made with ❤️️ by updatecli * chore: Update Metricbeat Dockerfile Made with ❤️️ by updatecli * chore: Update .golangci.yml Made with ❤️️ by updatecli * chore: Update Auditbeat Dockerfile Made with ❤️️ by updatecli * chore: Update HTTP module Dockerfile Made with ❤️️ by updatecli * chore: Update Packetbeat Dockerfile Made with ❤️️ by updatecli * chore: Update version.asciidoc Made with ❤️️ by updatecli * chore: Update go.mod Made with ❤️️ by updatecli * chore: Update from vsphere Dockerfile Made with ❤️️ by updatecli * chore: Update Filebeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update stan Dockerfile Made with ❤️️ by updatecli * chore: Update Metricbeat debug Dockerfile Made with ❤️️ by updatecli * Add changelog. * Go mod tidy. * Remove toolchain. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Craig MacKenzie <[email protected]>
1 parent 60bdc6a commit 070db8e

File tree

16 files changed

+18
-20
lines changed

16 files changed

+18
-20
lines changed

.golangci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ linters-settings:
149149

150150
gosimple:
151151
# Select the Go version to target. The default is '1.13'.
152-
go: "1.22.7"
152+
go: "1.22.8"
153153

154154
nakedret:
155155
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
@@ -167,19 +167,19 @@ linters-settings:
167167

168168
staticcheck:
169169
# Select the Go version to target. The default is '1.13'.
170-
go: "1.22.7"
170+
go: "1.22.8"
171171
checks: ["all"]
172172

173173
stylecheck:
174174
# Select the Go version to target. The default is '1.13'.
175-
go: "1.22.7"
175+
go: "1.22.8"
176176
# Disabled:
177177
# ST1005: error strings should not be capitalized
178178
checks: ["all", "-ST1005"]
179179

180180
unused:
181181
# Select the Go version to target. The default is '1.13'.
182-
go: "1.22.7"
182+
go: "1.22.8"
183183

184184
gosec:
185185
excludes:

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
112112
- Validate config of the `replace` processor {pull}40047[40047]
113113
- Allow port number 0 in the community ID flowhash processor {pull}40259[40259]
114114
- Fix handling of escaped brackets in syslog structured data. {issue}40445[40445] {pull}40446[40446]
115-
- Update Go version to 1.22.6. {pull}40528[40528]
116115
- Aborts all active connections for Elasticsearch output. {pull}40572[40572]
117116
- Closes beat Publisher on beat stop and by the Agent manager. {pull}40572[40572]
118117
- The journald input now restarts if there is an error/crash {issue}32782[32782] {pull}40558[40558]
118+
- Update Go version to 1.22.8. {pull}41139[41139]
119119

120120
*Auditbeat*
121121

auditbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.22.8
22

33
RUN \
44
apt-get update \

dev-tools/kubernetes/filebeat/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7 as builder
1+
FROM golang:1.22.8 as builder
22

33
ENV PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/go/bin:/usr/local/go/bin
44

dev-tools/kubernetes/heartbeat/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6 as builder
1+
FROM golang:1.22.8 as builder
22

33
ENV PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/go/bin:/usr/local/go/bin
44

dev-tools/kubernetes/metricbeat/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7 as builder
1+
FROM golang:1.22.8 as builder
22

33
ENV PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/go/bin:/usr/local/go/bin
44

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module github.com/elastic/beats/v7
22

33
go 1.22.0
44

5-
toolchain go1.22.7
6-
75
require (
86
cloud.google.com/go/bigquery v1.62.0
97
cloud.google.com/go/monitoring v1.20.4

heartbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.22.8
22

33
RUN \
44
apt-get update \

libbeat/docs/version.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:stack-version: 9.0.0
22
:doc-branch: main
3-
:go-version: 1.22.7
3+
:go-version: 1.22.8
44
:release-state: unreleased
55
:python: 3.7
66
:docker: 1.12

metricbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.22.8
22
COPY --from=docker:26.0.0-alpine3.19 /usr/local/bin/docker /usr/local/bin/
33

44
RUN \

metricbeat/module/http/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.22.8
22

33
COPY test/main.go main.go
44

metricbeat/module/nats/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG NATS_VERSION=2.0.4
22
FROM nats:$NATS_VERSION
33

44
# build stage
5-
FROM golang:1.22.7 AS build-env
5+
FROM golang:1.22.8 AS build-env
66
RUN apt-get install git mercurial gcc
77
RUN git clone https://github.com/nats-io/nats.go.git /nats-go
88
RUN cd /nats-go/examples/nats-bench && git checkout tags/v1.10.0 && go build .

metricbeat/module/vsphere/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG VSPHERE_GOLANG_VERSION
2-
FROM golang:1.22.7
2+
FROM golang:1.22.8
33

44
RUN apt-get install curl git
55
RUN go install github.com/vmware/govmomi/[email protected]

packetbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.22.8
22

33
RUN \
44
apt-get update \

x-pack/functionbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.22.8
22

33
RUN \
44
apt-get update \

x-pack/metricbeat/module/stan/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG STAN_VERSION=0.15.1
22
FROM nats-streaming:$STAN_VERSION
33

44
# build stage
5-
FROM golang:1.22.7 AS build-env
5+
FROM golang:1.22.8 AS build-env
66
RUN apt-get install git mercurial gcc
77
RUN git clone https://github.com/nats-io/stan.go.git /stan-go
88
RUN cd /stan-go/examples/stan-bench && git checkout tags/v0.5.2 && go build .

0 commit comments

Comments
 (0)