Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: E2E Elasticsearch 7.x highest and lowest versions #5779

Merged
merged 1 commit into from
Nov 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docker-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: docker-ci
on:
pull_request:
paths:
- '**'
- '!**.md'

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: E2E
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.istio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: Istio
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: E2E
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: E2E
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: E2E
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.profiling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: E2E
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: E2E
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.storages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
timeout-minutes: 90
strategy:
matrix:
storage: ['mysql', 'es6', 'es7', 'influxdb']
storage: ['mysql', 'es6', 'es7.0', 'es7.9', 'influxdb']
env:
SW_STORAGE: ${{ matrix.storage }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e.ttl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name: E2E
on:
pull_request:
paths:
- '**'
- '!**.md'
push:
branches:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ name: E2E

on:
pull_request:
# Do not run this workflow when and only when `*.md` files are modified
paths:
- '**'
kezhenxu94 marked this conversation as resolved.
Show resolved Hide resolved
- '!**.md'
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Release Notes.
8.3.0
------------------
#### Project
* Test: ElasticSearch version 7.0.0 and 7.9.3 as storage are E2E tested.

#### Java Agent
* Support propagate the sending timestamp in MQ plugins to calculate the transfer latency in the async MQ scenarios.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version: '2.1'

services:
es:
image: elastic/elasticsearch:7.4.2
image: elastic/elasticsearch:7.0.0
expose:
- 9200
networks:
Expand Down
47 changes: 47 additions & 0 deletions test/e2e/e2e-test/docker/storage/docker-compose.es7.9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

version: '2.1'

services:
es:
image: elastic/elasticsearch:7.9.3
expose:
- 9200
networks:
- e2e
environment:
- discovery.type=single-node
- cluster.routing.allocation.disk.threshold_enabled=false
healthcheck:
test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/9200"]
interval: 5s
timeout: 60s
retries: 120

oap:
extends:
file: ../base-compose.yml
service: oap-es7
environment:
SW_STORAGE: elasticsearch7
SW_PROMETHEUS_FETCHER_ACTIVE: "true"
SW_TELEMETRY: prometheus
depends_on:
es:
condition: service_healthy

networks:
e2e: