Skip to content

Commit f49e1d8

Browse files
elastic-vault-github-plugin-prod[bot]elasticmachinepierrehilbertalexsapranjlind23
authored
Bump the version on main to 8.16.0 (elastic#5056)
* [Release] update version * Skip TestUpgradeBrokenPackageVersion until version bump is complete --------- Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co> Co-authored-by: elasticmachine <infra-root+elasticmachine@elastic.co> Co-authored-by: Pierre HILBERT <pierre.hilbert@elastic.co> Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co> Co-authored-by: Julien Lind <julien.lind@elastic.co> Co-authored-by: julienlind <vincent.lind@elastic.co> Co-authored-by: Denis Rechkunov <denis.rechkunov@elastic.co> Co-authored-by: Paolo Chila <paolo.chila@elastic.co>
1 parent 1789278 commit f49e1d8

File tree

11 files changed

+23
-19
lines changed

11 files changed

+23
-19
lines changed

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
dnsPolicy: ClusterFirstWithHostNet
2828
containers:
2929
- name: elastic-agent
30-
image: docker.elastic.co/beats/elastic-agent:8.15.0
30+
image: docker.elastic.co/beats/elastic-agent:8.16.0
3131
env:
3232
# Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode
3333
- name: FLEET_ENROLL

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ spec:
2828
# Uncomment if using hints feature
2929
#initContainers:
3030
# - name: k8s-templates-downloader
31-
# image: docker.elastic.co/beats/elastic-agent:8.15.0
31+
# image: docker.elastic.co/beats/elastic-agent:8.16.0
3232
# command: ['bash']
3333
# args:
3434
# - -c
3535
# - >-
3636
# mkdir -p /usr/share/elastic-agent/state/inputs.d &&
37-
# curl -sL https://github.com/elastic/elastic-agent/archive/8.15.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.15/deploy/kubernetes/elastic-agent-standalone/templates.d"
37+
# curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d"
3838
# securityContext:
3939
# runAsUser: 0
4040
# volumeMounts:
4141
# - name: elastic-agent-state
4242
# mountPath: /usr/share/elastic-agent/state
4343
containers:
4444
- name: elastic-agent-standalone
45-
image: docker.elastic.co/beats/elastic-agent:8.15.0
45+
image: docker.elastic.co/beats/elastic-agent:8.16.0
4646
args: ["-c", "/etc/elastic-agent/agent.yml", "-e"]
4747
env:
4848
# The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
dnsPolicy: ClusterFirstWithHostNet
2828
containers:
2929
- name: elastic-agent
30-
image: docker.elastic.co/beats/elastic-agent:8.15.0
30+
image: docker.elastic.co/beats/elastic-agent:8.16.0
3131
env:
3232
# Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode
3333
- name: FLEET_ENROLL

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
dnsPolicy: ClusterFirstWithHostNet
2828
containers:
2929
- name: elastic-agent
30-
image: docker.elastic.co/beats/elastic-agent:8.15.0
30+
image: docker.elastic.co/beats/elastic-agent:8.16.0
3131
env:
3232
# Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode
3333
- name: FLEET_ENROLL

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ spec:
2828
# Uncomment if using hints feature
2929
#initContainers:
3030
# - name: k8s-templates-downloader
31-
# image: docker.elastic.co/beats/elastic-agent:8.15.0
31+
# image: docker.elastic.co/beats/elastic-agent:8.16.0
3232
# command: ['bash']
3333
# args:
3434
# - -c
3535
# - >-
3636
# mkdir -p /usr/share/elastic-agent/state/inputs.d &&
37-
# curl -sL https://github.com/elastic/elastic-agent/archive/8.15.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.15/deploy/kubernetes/elastic-agent-standalone/templates.d"
37+
# curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d"
3838
# securityContext:
3939
# runAsUser: 0
4040
# volumeMounts:
4141
# # - name: elastic-agent-state
4242
# # mountPath: /usr/share/elastic-agent/state
4343
containers:
4444
- name: elastic-agent-standalone
45-
image: docker.elastic.co/beats/elastic-agent:8.15.0
45+
image: docker.elastic.co/beats/elastic-agent:8.16.0
4646
args: ["-c", "/etc/elastic-agent/agent.yml", "-e"]
4747
env:
4848
# The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ spec:
2828
# Uncomment if using hints feature
2929
#initContainers:
3030
# - name: k8s-templates-downloader
31-
# image: docker.elastic.co/beats/elastic-agent:8.15.0
31+
# image: docker.elastic.co/beats/elastic-agent:8.16.0
3232
# command: ['bash']
3333
# args:
3434
# - -c
3535
# - >-
3636
# mkdir -p /usr/share/elastic-agent/state/inputs.d &&
37-
# curl -sL https://github.com/elastic/elastic-agent/archive/8.15.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.15/deploy/kubernetes/elastic-agent-standalone/templates.d"
37+
# curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d"
3838
# securityContext:
3939
# runAsUser: 0
4040
# volumeMounts:
4141
# # - name: elastic-agent-state
4242
# # mountPath: /usr/share/elastic-agent/state
4343
containers:
4444
- name: elastic-agent-standalone
45-
image: docker.elastic.co/beats/elastic-agent:8.15.0
45+
image: docker.elastic.co/beats/elastic-agent:8.16.0
4646
args: ["-c", "/etc/elastic-agent/agent.yml", "-e"]
4747
env:
4848
# The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent

deploy/kubernetes/elastic-agent-managed-kubernetes.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
dnsPolicy: ClusterFirstWithHostNet
2828
containers:
2929
- name: elastic-agent
30-
image: docker.elastic.co/beats/elastic-agent:8.15.0
30+
image: docker.elastic.co/beats/elastic-agent:8.16.0
3131
env:
3232
# Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode
3333
- name: FLEET_ENROLL

deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -696,21 +696,21 @@ spec:
696696
# Uncomment if using hints feature
697697
#initContainers:
698698
# - name: k8s-templates-downloader
699-
# image: docker.elastic.co/beats/elastic-agent:8.15.0
699+
# image: docker.elastic.co/beats/elastic-agent:8.16.0
700700
# command: ['bash']
701701
# args:
702702
# - -c
703703
# - >-
704704
# mkdir -p /usr/share/elastic-agent/state/inputs.d &&
705-
# curl -sL https://github.com/elastic/elastic-agent/archive/8.15.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.15/deploy/kubernetes/elastic-agent-standalone/templates.d"
705+
# curl -sL https://github.com/elastic/elastic-agent/archive/8.16.tar.gz | tar xz -C /usr/share/elastic-agent/state/inputs.d --strip=5 "elastic-agent-8.16/deploy/kubernetes/elastic-agent-standalone/templates.d"
706706
# securityContext:
707707
# runAsUser: 0
708708
# volumeMounts:
709709
# - name: elastic-agent-state
710710
# mountPath: /usr/share/elastic-agent/state
711711
containers:
712712
- name: elastic-agent-standalone
713-
image: docker.elastic.co/beats/elastic-agent:8.15.0
713+
image: docker.elastic.co/beats/elastic-agent:8.16.0
714714
args: ["-c", "/etc/elastic-agent/agent.yml", "-e"]
715715
env:
716716
# The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent

testing/integration/fleetserver_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ func TestInstallFleetServerBootstrap(t *testing.T) {
4747
Local: false,
4848
})
4949

50+
t.Skip("Skip until the first 8.16.0-SNAPSHOT is available")
51+
5052
ctx, cancel := testcontext.WithDeadline(t, context.Background(), time.Now().Add(10*time.Minute))
5153
defer cancel()
5254

5355
// Get path to Elastic Agent executable
54-
fixture, err := define.NewFixtureFromLocalBuild(t, define.Version())
56+
fixture, err := define.NewFixtureFromLocalBuild(t, define.Version(), atesting.WithAdditionalArgs([]string{"-E", "output.elasticsearch.allow_older_versions=true"}))
5557
require.NoError(t, err)
5658
err = fixture.Prepare(ctx)
5759
require.NoError(t, err)

testing/integration/upgrade_broken_package_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ func TestUpgradeBrokenPackageVersion(t *testing.T) {
3232
Sudo: true, // requires Agent installation
3333
})
3434

35+
t.Skip("Skipping test until 8.16.0 bump is complete and agent version pinning is removed")
36+
3537
ctx, cancel := testcontext.WithDeadline(t, context.Background(), time.Now().Add(10*time.Minute))
3638
defer cancel()
3739

3840
// Start at the build version as we want to test the retry
3941
// logic that is in the build.
40-
startFixture, err := define.NewFixtureFromLocalBuild(t, define.Version())
42+
startFixture, err := define.NewFixtureFromLocalBuild(t, define.Version(), atesting.WithAdditionalArgs([]string{"-E", "output.elasticsearch.allow_older_versions=true"}))
4143
require.NoError(t, err)
4244

4345
// Upgrade to an old build.

version/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
package version
66

7-
const defaultBeatVersion = "8.15.0"
7+
const defaultBeatVersion = "8.16.0"
88
const Agent = defaultBeatVersion

0 commit comments

Comments
 (0)