Skip to content

Commit f7feb7b

Browse files
[Automation][7.17] Bump Golang version to 1.22.7 (elastic#41019)
* chore: Update Heartbeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update Filebeat Dockerfile Made with ❤️️ by updatecli * chore: Update Packetbeat Dockerfile Made with ❤️️ by updatecli * chore: Update version.asciidoc Made with ❤️️ by updatecli * chore: Update Heartbeat Dockerfile Made with ❤️️ by updatecli * chore: Update libbeat Dockerfile Made with ❤️️ by updatecli * chore: Update Auditbeat Dockerfile Made with ❤️️ by updatecli * chore: Update HTTP module Dockerfile Made with ❤️️ by updatecli * chore: Update NATS module Dockerfile Made with ❤️️ by updatecli * chore: Update Filebeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update Functionbeat Dockerfile Made with ❤️️ by updatecli * chore: Update from vsphere Dockerfile Made with ❤️️ by updatecli * chore: Update .golangci.yml Made with ❤️️ by updatecli * chore: Update Metricbeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update stan Dockerfile Made with ❤️️ by updatecli * chore: Update x-pack/libbeat Dockerfile Made with ❤️️ by updatecli * chore: Update .go-version Made with ❤️️ by updatecli * Fix go.mod * Add changelog. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
1 parent bdb383e commit f7feb7b

File tree

20 files changed

+23
-22
lines changed

20 files changed

+23
-22
lines changed

.go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.6
1+
1.22.7

.golangci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ linters-settings:
100100

101101
gosimple:
102102
# Select the Go version to target. The default is '1.13'.
103-
go: "1.22.6"
103+
go: "1.22.7"
104104

105105
nakedret:
106106
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
@@ -118,19 +118,19 @@ linters-settings:
118118

119119
staticcheck:
120120
# Select the Go version to target. The default is '1.13'.
121-
go: "1.22.6"
121+
go: "1.22.7"
122122
checks: ["all"]
123123

124124
stylecheck:
125125
# Select the Go version to target. The default is '1.13'.
126-
go: "1.22.6"
126+
go: "1.22.7"
127127
# Disabled:
128128
# ST1005: error strings should not be capitalized
129129
checks: ["all", "-ST1005"]
130130

131131
unused:
132132
# Select the Go version to target. The default is '1.13'.
133-
go: "1.22.6"
133+
go: "1.22.7"
134134

135135
gosec:
136136
excludes:

CHANGELOG.next.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
6767

6868
*Affecting all Beats*
6969

70+
- Update to Go 1.22.7. {pull}41019[41019]
7071

7172
*Auditbeat*
7273

auditbeat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
RUN \
44
apt-get update \

dev-tools/kubernetes/filebeat/Dockerfile.debug

+1-1
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.7 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

+1-1
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.7 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

+1-1
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.7 as builder
22

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

filebeat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
RUN \
44
apt-get update \

go.mod

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

3-
go 1.22.5
3+
go 1.22.7
44

55
require (
66
cloud.google.com/go/bigquery v1.52.0

heartbeat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
RUN \
44
apt-get update \

libbeat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
RUN \
44
apt-get update \

libbeat/docs/version.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:stack-version: 7.17.24
22
:doc-branch: 7.17
3-
:go-version: 1.22.6
3+
:go-version: 1.22.7
44
:release-state: unreleased
55
:python: 3.7
66
:docker: 1.12

metricbeat/Dockerfile

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

44
RUN \

metricbeat/module/http/_meta/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
COPY test/main.go main.go
44

metricbeat/module/nats/_meta/Dockerfile

+1-1
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.6 AS build-env
5+
FROM golang:1.22.7 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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG VSPHERE_GOLANG_VERSION
2-
FROM golang:1.22.6
2+
FROM golang:1.22.7
33

44
RUN apt-get install curl git
55
RUN go install github.com/vmware/govmomi/vcsim@v0.30.4

packetbeat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
RUN \
44
apt-get update \

x-pack/functionbeat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
RUN \
44
apt-get update \

x-pack/libbeat/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6
1+
FROM golang:1.22.7
22

33
RUN \
44
apt-get update \

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

+1-1
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.6 AS build-env
5+
FROM golang:1.22.7 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)