Skip to content

Commit

Permalink
Upgrade Elastic Stack version to 7.12.0 (#4384)
Browse files Browse the repository at this point in the history
Bump Elastic Stack versions:
- from 7.11.2 to 7.12.0 (in *.yaml, Makefile and test/e2e/test/version.go)
- from 6.8.10 to 6.8.15 (in test/e2e/test/version.go)
On the CI side:
- e2e-tests-stack-versions job: bump from 6.8.10 to 6.8.15 and add the 7.12.0
- e2e-tests-snapshot-versions-gke: bump from 7.12.0-SNAPSHOT to 7.13.0-SNAPSHOT
In order to reduce the places to update:
- Reuse LatestVersion7x in agent and beat webhook tests
  • Loading branch information
thbkrkr authored Mar 29, 2021
1 parent 43ef72a commit 82530c4
Show file tree
Hide file tree
Showing 33 changed files with 96 additions and 84 deletions.
4 changes: 2 additions & 2 deletions .ci/pipelines/e2e-tests-snapshot-versions-gke.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ pipeline {
)}"""
}
parallel {
stage("7.12.0-SNAPSHOT") {
stage("7.13.0-SNAPSHOT") {
agent {
label 'linux'
}
steps {
unstash "source"
script {
runWith(lib, failedTests, "eck-7x-snapshot-${BUILD_NUMBER}-e2e", "7.12.0-SNAPSHOT")
runWith(lib, failedTests, "eck-7x-snapshot-${BUILD_NUMBER}-e2e", "7.13.0-SNAPSHOT")
}
}
}
Expand Down
16 changes: 14 additions & 2 deletions .ci/pipelines/e2e-tests-stack-versions-gke.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pipeline {
steps {
unstash "source"
script {
runWith(lib, failedTests, "eck-68-${BUILD_NUMBER}-e2e", "6.8.10")
runWith(lib, failedTests, "eck-68-${BUILD_NUMBER}-e2e", "6.8.15")
}
}
}
Expand Down Expand Up @@ -134,6 +134,17 @@ pipeline {
}
}
}
stage("7.12.0") {
agent {
label 'linux'
}
steps {
unstash "source"
script {
runWith(lib, failedTests, "eck-712-${BUILD_NUMBER}-e2e", "7.12.0")
}
}
}
}
}
}
Expand Down Expand Up @@ -171,7 +182,8 @@ pipeline {
"eck-78-${BUILD_NUMBER}-e2e",
"eck-79-${BUILD_NUMBER}-e2e",
"eck-710-${BUILD_NUMBER}-e2e",
"eck-711-${BUILD_NUMBER}-e2e"
"eck-711-${BUILD_NUMBER}-e2e",
"eck-712-${BUILD_NUMBER}-e2e"
]
for (int i = 0; i < clusters.size(); i++) {
build job: 'cloud-on-k8s-e2e-cleanup',
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ ifneq ($(strip $(E2E_IMG_TAG_SUFFIX)),) # If the suffix is not empty, append it
endif

E2E_IMG ?= $(REGISTRY)/$(E2E_REGISTRY_NAMESPACE)/eck-e2e-tests:$(E2E_IMG_TAG)
E2E_STACK_VERSION ?= 7.11.2
E2E_STACK_VERSION ?= 7.12.0
export TESTS_MATCH ?= "^Test" # can be overriden to eg. TESTS_MATCH=TestMutationMoreNodes to match a single test
export E2E_JSON ?= false
TEST_TIMEOUT ?= 30m
Expand Down
4 changes: 2 additions & 2 deletions config/e2e/monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
k8s-app: metricbeat
spec:
type: metricbeat
version: 7.11.2
version: 7.12.0
config:
metricbeat.modules:
- module: kubernetes
Expand Down Expand Up @@ -233,7 +233,7 @@ metadata:
k8s-app: filebeat
spec:
type: filebeat
version: 7.11.2
version: 7.12.0
config:
max_backoff: 1s # reduces worst case delay between log being written and picked up by Filebeat to 1s
close_inactive: 1h # keep harvester open for 1h on inactive files as our test timeout is longer than default 5m
Expand Down
2 changes: 1 addition & 1 deletion config/recipes/apm-server-jaeger/apm-server-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: apm-server-quickstart
namespace: default
spec:
version: 7.11.2
version: 7.12.0
count: 1
config:
name: elastic-apm
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/associations-rbac/apm_es_kibana_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ metadata:
name: elasticsearch-sample
namespace: elasticsearch-ns
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 1
Expand All @@ -97,7 +97,7 @@ metadata:
name: kibana-sample
namespace: kibana-ns
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: "elasticsearch-sample"
Expand All @@ -111,7 +111,7 @@ metadata:
name: apm-apm-sample
namespace: apmserver-ns
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: "elasticsearch-sample"
Expand Down
2 changes: 1 addition & 1 deletion config/recipes/autoscaling/elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ metadata:
}]
}
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: master
count: 1
Expand Down
8 changes: 4 additions & 4 deletions config/recipes/beats/auditbeat_hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: auditbeat
spec:
type: auditbeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
# path: /run
#initContainers:
#- name: cos-init
# image: docker.elastic.co/beats/auditbeat:7.11.2
# image: docker.elastic.co/beats/auditbeat:7.12.0
# volumeMounts:
# - name: run
# mountPath: /run
Expand Down Expand Up @@ -118,7 +118,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -130,7 +130,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/beats/filebeat_autodiscover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: filebeat
spec:
type: filebeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -100,7 +100,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -112,7 +112,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/beats/filebeat_autodiscover_by_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: filebeat
spec:
type: filebeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -101,7 +101,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -113,7 +113,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/beats/filebeat_no_autodiscover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: filebeat
spec:
type: filebeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -53,7 +53,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -65,7 +65,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/beats/heartbeat_es_kb_health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: heartbeat
spec:
type: heartbeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
config:
Expand All @@ -27,7 +27,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -39,7 +39,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/beats/journalbeat_hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: journalbeat
spec:
type: journalbeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
config:
Expand Down Expand Up @@ -49,7 +49,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -61,7 +61,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/beats/metricbeat_hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: metricbeat
spec:
type: metricbeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -174,7 +174,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -186,7 +186,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
8 changes: 4 additions & 4 deletions config/recipes/beats/openshift_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: metricbeat
spec:
type: metricbeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -221,7 +221,7 @@ metadata:
name: filebeat
spec:
type: filebeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -310,7 +310,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -322,7 +322,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
6 changes: 3 additions & 3 deletions config/recipes/beats/packetbeat_dns_http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: packetbeat
spec:
type: packetbeat
version: 7.11.2
version: 7.12.0
elasticsearchRef:
name: elasticsearch
kibanaRef:
Expand Down Expand Up @@ -44,7 +44,7 @@ kind: Elasticsearch
metadata:
name: elasticsearch
spec:
version: 7.11.2
version: 7.12.0
nodeSets:
- name: default
count: 3
Expand All @@ -56,7 +56,7 @@ kind: Kibana
metadata:
name: kibana
spec:
version: 7.11.2
version: 7.12.0
count: 1
elasticsearchRef:
name: elasticsearch
Expand Down
Loading

0 comments on commit 82530c4

Please sign in to comment.