Skip to content

Commit 721b56f

Browse files
Merge branch 'main' into mtls-flags
2 parents 81b0cde + 17f0480 commit 721b56f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1698
-721
lines changed

.buildkite/scripts/steps/integration_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ MAGE_SUBTARGET="${3:-""}"
1111
# Override the agent package version using a string with format <major>.<minor>.<patch>
1212
# NOTE: use only after version bump when the new version is not yet available, for example:
1313
# OVERRIDE_AGENT_PACKAGE_VERSION="8.10.3" otherwise OVERRIDE_AGENT_PACKAGE_VERSION="".
14-
OVERRIDE_AGENT_PACKAGE_VERSION="8.12.0"
14+
OVERRIDE_AGENT_PACKAGE_VERSION=""
1515

1616
if [[ -n "$OVERRIDE_AGENT_PACKAGE_VERSION" ]]; then
1717
OVERRIDE_TEST_AGENT_VERSION=${OVERRIDE_AGENT_PACKAGE_VERSION}"-SNAPSHOT"

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.21.5
1+
1.21.6

.golangci.yml

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

117117
gosimple:
118118
# Select the Go version to target. The default is '1.13'.
119-
go: "1.21.5"
119+
go: "1.21.6"
120120

121121
nakedret:
122122
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
@@ -136,17 +136,17 @@ linters-settings:
136136

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

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

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

151151
gosec:
152152
excludes:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.21.5
1+
ARG GO_VERSION=1.21.6
22
FROM circleci/golang:${GO_VERSION}
33

44

Dockerfile.skaffold

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.21.5
1+
ARG GO_VERSION=1.21.6
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"

NOTICE.txt

Lines changed: 595 additions & 173 deletions
Large diffs are not rendered by default.

changelog/8.11.4.asciidoc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// begin 8.11.4 relnotes
2+
3+
[[release-notes-8.11.4]]
4+
== 8.11.4
5+
6+
Review important information about the 8.11.4 release.
7+
8+
[discrete]
9+
[[security-updates-8.11.4]]
10+
=== Security updates
11+
12+
13+
elastic-agent::
14+
15+
* Upgrade Go Version To 1.20.12. {elastic-agent-pull}https://github.com/elastic/elastic-agent/pull/3885[#https://github.com/elastic/elastic-agent/pull/3885]
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
// end 8.11.4 relnotes

changelog/8.11.4.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 8.11.4
2+
entries:
3+
- kind: security
4+
summary: Upgrade Go version to 1.20.12.
5+
description: ""
6+
component: elastic-agent
7+
pr:
8+
- https://github.com/elastic/elastic-agent/pull/3885
9+
issue: []
10+
timestamp: 1702055473
11+
file:
12+
name: 1702055473-Upgrade-to-Go-1.20.12.yaml
13+
checksum: d66f715a1ce95792a87a3f632825f5e6e50d8057
Lines changed: 32 additions & 0 deletions
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: feature
12+
13+
# Change summary; a 80ish characters long description of the change.
14+
summary: Move control socket path to the installation directory
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:
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/3909
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/elastic/elastic-agent/issues/3840

changelog/fragments/1704304944-Upgrade-to-Go-1.21.5.yaml renamed to changelog/fragments/1704304944-Upgrade-to-Go-1.21.6.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
kind: security
1212

1313
# Change summary; a 80ish characters long description of the change.
14-
summary: Upgrade to Go 1.21.5
14+
summary: Upgrade to Go 1.21.6
1515

1616
# Long description; in case the summary is not enough to describe the change
1717
# this field accommodate a description without length limits.
@@ -25,7 +25,7 @@ component: "elastic-agent"
2525
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
2626
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
2727
# Please provide it if you are adding a fragment for a different PR.
28-
pr: https://github.com/owner/repo/1234
28+
pr: https://github.com/elastic/elastic-agent/pull/4073
2929

3030
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
3131
# If not present is automatically filled by the tooling with the issue linked to the PR number.

dev-tools/packaging/package_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ import (
1818
"flag"
1919
"fmt"
2020
"io"
21-
"io/ioutil"
2221
"os"
2322
"path/filepath"
2423
"regexp"
2524
"strings"
2625
"testing"
2726

2827
"github.com/blakesmith/ar"
29-
rpm "github.com/cavaliercoder/go-rpm"
28+
"github.com/cavaliercoder/go-rpm"
3029
)
3130

3231
const (
@@ -85,7 +84,7 @@ func TestTar(t *testing.T) {
8584
}
8685

8786
func TestZip(t *testing.T) {
88-
zips := getFiles(t, regexp.MustCompile(`^\w+beat-\S+.zip$`))
87+
zips := getFiles(t, regexp.MustCompile(`^\w+\S+.zip$`))
8988
for _, zip := range zips {
9089
checkZip(t, zip)
9190
}
@@ -792,7 +791,7 @@ type dockerManifest struct {
792791
}
793792

794793
func readDockerManifest(r io.Reader) (*dockerManifest, error) {
795-
data, err := ioutil.ReadAll(r)
794+
data, err := io.ReadAll(r)
796795
if err != nil {
797796
return nil, err
798797
}
@@ -820,7 +819,7 @@ type dockerInfo struct {
820819
}
821820

822821
func readDockerInfo(r io.Reader) (*dockerInfo, error) {
823-
data, err := ioutil.ReadAll(r)
822+
data, err := io.ReadAll(r)
824823
if err != nil {
825824
return nil, err
826825
}

0 commit comments

Comments
 (0)