Skip to content

Commit 2526453

Browse files
[Automation] Bump Golang version to 1.20.10 (#36846) (#36861)
* chore: Update version.asciidoc Made with ❤️️ by updatecli * chore: Update Packetbeat Dockerfile Made with ❤️️ by updatecli * chore: Update Heartbeat Dockerfile Made with ❤️️ by updatecli * chore: Update Filebeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update Functionbeat Dockerfile Made with ❤️️ by updatecli * chore: Update Auditbeat Dockerfile Made with ❤️️ by updatecli * chore: Update from vsphere Dockerfile Made with ❤️️ by updatecli * chore: Update stan Dockerfile Made with ❤️️ by updatecli * chore: Update .golangci.yml Made with ❤️️ by updatecli * chore: Update Heartbeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update Metricbeat Dockerfile Made with ❤️️ by updatecli * chore: Update Metricbeat debug Dockerfile Made with ❤️️ by updatecli * chore: Update .go-version Made with ❤️️ by updatecli * chore: Update HTTP module Dockerfile Made with ❤️️ by updatecli * chore: Update NATS module Dockerfile Made with ❤️️ by updatecli * Add changelog. --------- Co-authored-by: apmmachine <apmmachine@users.noreply.github.com> Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co> (cherry picked from commit 6be0d18) Co-authored-by: apmmachine <58790750+apmmachine@users.noreply.github.com>
1 parent f17aa54 commit 2526453

File tree

16 files changed

+19
-18
lines changed

16 files changed

+19
-18
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.20.8
1+
1.20.10

.golangci.yml

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

114114
gosimple:
115115
# Select the Go version to target. The default is '1.13'.
116-
go: "1.20.8"
116+
go: "1.20.10"
117117

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

132132
staticcheck:
133133
# Select the Go version to target. The default is '1.13'.
134-
go: "1.20.8"
134+
go: "1.20.10"
135135
checks: ["all"]
136136

137137
stylecheck:
138138
# Select the Go version to target. The default is '1.13'.
139-
go: "1.20.8"
139+
go: "1.20.10"
140140
# Disabled:
141141
# ST1005: error strings should not be capitalized
142142
checks: ["all", "-ST1005"]
143143

144144
unused:
145145
# Select the Go version to target. The default is '1.13'.
146-
go: "1.20.8"
146+
go: "1.20.10"
147147

148148
gosec:
149149
excludes:

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ is collected by it.
153153

154154
*Affecting all Beats*
155155

156+
- Upgrade to Go 1.20.10. {pull}36846[36846]
156157
- Added append Processor which will append concrete values or values from a field to target. {issue}29934[29934] {pull}33364[33364]
157158
- When running under Elastic-Agent the status is now reported per Unit instead of the whole Beat {issue}35874[35874] {pull}36183[36183]
158159
- Add warning message to SysV init scripts for RPM-based systems that lack `/etc/rc.d/init.d/functions`. {issue}35708[35708] {pull}36188[36188]

auditbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.8
1+
FROM golang:1.20.10
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.20.8 as builder
1+
FROM golang:1.20.10 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.20.8 as builder
1+
FROM golang:1.20.10 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.20.8 as builder
1+
FROM golang:1.20.10 as builder
22

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

heartbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.8
1+
FROM golang:1.20.10
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: 8.11.0
22
:doc-branch: main
3-
:go-version: 1.20.8
3+
:go-version: 1.20.10
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.20.8
1+
FROM golang:1.20.10
22

33
RUN \
44
apt update \

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.20.8
1+
FROM golang:1.20.10
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.20.8 AS build-env
5+
FROM golang:1.20.10 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.20.8
2+
FROM golang:1.20.10
33

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

packetbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.8
1+
FROM golang:1.20.10
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.20.8
1+
FROM golang:1.20.10
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.20.8 AS build-env
5+
FROM golang:1.20.10 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)