Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
a4c68d30
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 1 年多
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
a4c68d30
编写于
9月 28, 2021
作者:
K
kezhenxu94
提交者:
GitHub
9月 28, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test: fix that E2E is not run, also add ElasticSearch 7.15 to test matrix (#7826)
上级
4c95f07a
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
130 addition
and
313 deletion
+130
-313
.github/actions/e2e-test/action.yml
.github/actions/e2e-test/action.yml
+4
-1
.github/workflows/ci-it.yaml
.github/workflows/ci-it.yaml
+1
-0
.github/workflows/e2e.istio.yaml
.github/workflows/e2e.istio.yaml
+4
-2
.github/workflows/e2e.profiling.yaml
.github/workflows/e2e.profiling.yaml
+9
-1
.github/workflows/e2e.storages.yaml
.github/workflows/e2e.storages.yaml
+9
-1
CHANGES.md
CHANGES.md
+2
-1
apm-dist/src/main/assembly/binary.xml
apm-dist/src/main/assembly/binary.xml
+5
-0
oap-server/server-library/library-elasticsearch-client/src/main/java/org/apache/skywalking/library/elasticsearch/ElasticSearchVersion.java
...kywalking/library/elasticsearch/ElasticSearchVersion.java
+1
-1
oap-server/server-library/library-elasticsearch-client/src/test/java/org/apache/skywalking/library/elasticsearch/ITElasticSearchTest.java
...skywalking/library/elasticsearch/ITElasticSearchTest.java
+40
-9
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/TraceQueryEsDAO.java
...r/storage/plugin/elasticsearch/query/TraceQueryEsDAO.java
+1
-1
oap-server/server-tools/profile-exporter/pom.xml
oap-server/server-tools/profile-exporter/pom.xml
+0
-1
oap-server/server-tools/profile-exporter/tool-profile-snapshot-bootstrap/pom.xml
.../profile-exporter/tool-profile-snapshot-bootstrap/pom.xml
+0
-13
oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter-es/src/main/java/org/apache/skywalking/oap/server/tool/profile/exporter/ProfileSnapshotExporter.java
...server/tool/profile/exporter/ProfileSnapshotExporter.java
+0
-28
oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/pom.xml
...s/profile-exporter/tool-profile-snapshot-exporter/pom.xml
+24
-6
oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/src/main/assembly/assembly.xml
...-profile-snapshot-exporter/src/main/assembly/assembly.xml
+15
-21
oap-server/server-tools/profile-exporter/tool-profile-snapshot-server-mock/pom.xml
...rofile-exporter/tool-profile-snapshot-server-mock/pom.xml
+1
-2
test/e2e/e2e-service-provider/pom.xml
test/e2e/e2e-service-provider/pom.xml
+5
-1
test/e2e/e2e-test/docker/Dockerfile.cli
test/e2e/e2e-test/docker/Dockerfile.cli
+0
-33
test/e2e/e2e-test/docker/event/docker-compose.yml
test/e2e/e2e-test/docker/event/docker-compose.yml
+1
-3
test/e2e/e2e-test/docker/profile/docker-compose.es.yml
test/e2e/e2e-test/docker/profile/docker-compose.es.yml
+1
-1
test/e2e/e2e-test/docker/profile/docker-compose.es6.yml
test/e2e/e2e-test/docker/profile/docker-compose.es6.yml
+0
-45
test/e2e/e2e-test/docker/storage/docker-compose.es.yml
test/e2e/e2e-test/docker/storage/docker-compose.es.yml
+1
-1
test/e2e/e2e-test/docker/storage/docker-compose.es7.0.yml
test/e2e/e2e-test/docker/storage/docker-compose.es7.0.yml
+0
-47
test/e2e/e2e-test/docker/storage/docker-compose.es7.10.yml
test/e2e/e2e-test/docker/storage/docker-compose.es7.10.yml
+0
-47
test/e2e/e2e-test/docker/storage/docker-compose.es7.14.yml
test/e2e/e2e-test/docker/storage/docker-compose.es7.14.yml
+0
-47
test/e2e/pom.xml
test/e2e/pom.xml
+6
-0
未找到文件。
.github/actions/e2e-test/action.yml
浏览文件 @
a4c68d30
...
...
@@ -46,6 +46,9 @@ runs:
-
name
:
Run E2E Test
shell
:
bash
run
:
|
echo "::group::Build E2E Test Modules"
./mvnw -q -B -f test/e2e/pom.xml clean install
echo "::endgroup::"
echo "::group::Run E2E Test ${{ inputs.test_class }}"
./mvnw -
-batch-mode -f test/e2e/pom.xml -am -DfailIfNoTests=false verify -Dit.
test=${{ inputs.test_class }}
./mvnw -
q --batch-mode -f test/e2e/pom.xml -am -DfailIfNoTests=false test -D
test=${{ inputs.test_class }}
echo "::endgroup::"
.github/workflows/ci-it.yaml
浏览文件 @
a4c68d30
...
...
@@ -82,6 +82,7 @@ jobs:
if
:
env.SKIP_CI != 'true' && matrix.os != 'ubuntu'
run
:
./mvnw -q --batch-mode -P"backend,ui,dist" clean verify install
-
uses
:
actions/upload-artifact@v2
if
:
env.SKIP_CI != 'true' && matrix.os == 'ubuntu' && matrix.java-version == '8'
name
:
Upload Agent
with
:
name
:
dist
...
...
.github/workflows/e2e.istio.yaml
浏览文件 @
a4c68d30
...
...
@@ -144,7 +144,8 @@ jobs:
export WEBAPP_HOST=127.0.0.1
export WEBAPP_PORT=8080
./mvnw -q --batch-mode -f test/e2e/pom.xml -am -DfailIfNoTests=false verify -Dit.test=org.apache.skywalking.e2e.mesh.ALSE2E
./mvnw -q -B -f test/e2e/pom.xml clean install
./mvnw -q --batch-mode -f test/e2e/pom.xml -am -DfailIfNoTests=false test -Dtest=org.apache.skywalking.e2e.mesh.ALSE2E
-
name
:
Logs
if
:
${{ failure() }}
...
...
@@ -271,7 +272,8 @@ jobs:
export WEBAPP_HOST=127.0.0.1
export WEBAPP_PORT=8080
./mvnw -q --batch-mode -f test/e2e/pom.xml -am -DfailIfNoTests=false verify -Dit.test=org.apache.skywalking.e2e.mesh.MetricsServiceE2E
./mvnw -q -B -f test/e2e/pom.xml clean install
./mvnw -q --batch-mode -f test/e2e/pom.xml -am -DfailIfNoTests=false test -Dtest=org.apache.skywalking.e2e.mesh.MetricsServiceE2E
-
name
:
Logs
if
:
${{ failure() }}
...
...
.github/workflows/e2e.profiling.yaml
浏览文件 @
a4c68d30
...
...
@@ -39,9 +39,17 @@ jobs:
timeout-minutes
:
90
strategy
:
matrix
:
storage
:
[
'
h2'
,
'
mysql'
,
'
es6'
,
'
es7'
,
'
influxdb'
]
storage
:
[
'
h2'
,
'
mysql'
,
'
es'
,
'
influxdb'
]
include
:
-
{
storage
:
es
,
es-version
:
6.3.2
}
-
{
storage
:
es
,
es-version
:
7.0.0
}
-
{
storage
:
es
,
es-version
:
7.8.0
}
-
{
storage
:
es
,
es-version
:
7.10.1
}
-
{
storage
:
es
,
es-version
:
7.14.0
}
-
{
storage
:
es
,
es-version
:
7.15.0
}
env
:
SW_STORAGE
:
${{ matrix.storage }}
ES_VERSION
:
${{ matrix.es-version }}
steps
:
-
uses
:
actions/checkout@v2
with
:
...
...
.github/workflows/e2e.storages.yaml
浏览文件 @
a4c68d30
...
...
@@ -36,9 +36,17 @@ jobs:
timeout-minutes
:
90
strategy
:
matrix
:
storage
:
[
'
mysql'
,
'
es6'
,
'
es7.0'
,
'
es7.10'
,
'
es7.14'
,
'
opensearch'
,
'
influxdb'
,
'
tidb'
,
'
postgresql'
]
storage
:
[
'
mysql'
,
'
influxdb'
,
'
tidb'
,
'
postgresql'
]
#opensearch
include
:
-
{
storage
:
es
,
es-version
:
6.3.2
}
-
{
storage
:
es
,
es-version
:
7.0.0
}
-
{
storage
:
es
,
es-version
:
7.8.0
}
-
{
storage
:
es
,
es-version
:
7.10.1
}
-
{
storage
:
es
,
es-version
:
7.14.0
}
-
{
storage
:
es
,
es-version
:
7.15.0
}
env
:
SW_STORAGE
:
${{ matrix.storage }}
ES_VERSION
:
${{ matrix.es-version }}
steps
:
-
uses
:
actions/checkout@v2
with
:
...
...
CHANGES.md
浏览文件 @
a4c68d30
...
...
@@ -6,7 +6,8 @@ Release Notes.
------------------
#### OAP Server
*
Fix wrong (de)serializer of ElasticSearch client for OpenSearch storage.
*
Fix that traces query with tags will report error.
#### UI
...
...
apm-dist/src/main/assembly/binary.xml
浏览文件 @
a4c68d30
...
...
@@ -77,6 +77,11 @@
<outputDirectory>
oap-libs
</outputDirectory>
</fileSet>
<fileSet>
<directory>
${project.basedir}/../oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/target/skywalking-tools-exporter-assembly/skywalking-tools-exporter/libs
</directory>
<outputDirectory>
oap-libs
</outputDirectory>
</fileSet>
<!-- Profile exporter tools -->
<fileSet>
<directory>
${project.basedir}/../tools/profile-exporter
</directory>
...
...
oap-server/server-library/library-elasticsearch-client/src/main/java/org/apache/skywalking/library/elasticsearch/ElasticSearchVersion.java
浏览文件 @
a4c68d30
...
...
@@ -43,7 +43,7 @@ public final class ElasticSearchVersion {
if
(
distribution
.
equalsIgnoreCase
(
"OpenSearch"
))
{
requestFactory
=
new
V78RequestFactory
(
this
);
codec
=
V7Codec
.
INSTANCE
;
codec
=
V7
8
Codec
.
INSTANCE
;
return
;
}
...
...
oap-server/server-library/library-elasticsearch-client/src/test/java/org/apache/skywalking/library/elasticsearch/ITElasticSearchTest.java
浏览文件 @
a4c68d30
...
...
@@ -52,23 +52,54 @@ import static org.junit.Assert.assertTrue;
public
class
ITElasticSearchTest
{
@Parameterized
.
Parameters
(
name
=
"version: {0}"
)
public
static
Collection
<
Object
[]>
version
s
()
{
public
static
Collection
<
Object
[]>
e
s
()
{
return
Arrays
.
asList
(
new
Object
[][]
{
{
"6.3.2"
},
{
"7.4.2"
},
{
"7.8.0"
},
{
"7.10.2"
}
{
"ElasticSearch 6.3.2"
,
new
ElasticsearchContainer
(
DockerImageName
.
parse
(
"docker.elastic.co/elasticsearch/elasticsearch-oss"
)
.
withTag
(
"6.3.2"
))
},
{
"ElasticSearch 7.4.2"
,
new
ElasticsearchContainer
(
DockerImageName
.
parse
(
"docker.elastic.co/elasticsearch/elasticsearch-oss"
)
.
withTag
(
"7.4.2"
))
},
{
"ElasticSearch 7.8.0"
,
new
ElasticsearchContainer
(
DockerImageName
.
parse
(
"docker.elastic.co/elasticsearch/elasticsearch-oss"
)
.
withTag
(
"7.8.0"
))
},
{
"ElasticSearch 7.15.0"
,
new
ElasticsearchContainer
(
DockerImageName
.
parse
(
"elastic/elasticsearch"
)
.
withTag
(
"7.15.0"
)
.
asCompatibleSubstituteFor
(
"docker.elastic.co/elasticsearch/elasticsearch-oss"
))
},
{
"OpenSearch 1.0.0"
,
new
ElasticsearchContainer
(
DockerImageName
.
parse
(
"opensearchproject/opensearch"
)
.
withTag
(
"1.0.0"
)
.
asCompatibleSubstituteFor
(
"docker.elastic.co/elasticsearch/elasticsearch-oss"
))
.
withEnv
(
"plugins.security.disabled"
,
"true"
)
}
});
}
private
final
String
version
;
private
ElasticsearchContainer
server
;
@Parameterized
.
Parameter
public
String
ignored
;
@Parameterized
.
Parameter
(
1
)
public
ElasticsearchContainer
server
;
private
ElasticSearch
client
;
@Before
public
void
setup
()
{
server
=
new
ElasticsearchContainer
(
DockerImageName
.
parse
(
"docker.elastic.co/elasticsearch/elasticsearch-oss"
)
.
withTag
(
version
)
);
server
.
start
();
client
=
ElasticSearch
.
builder
()
...
...
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/TraceQueryEsDAO.java
浏览文件 @
a4c68d30
...
...
@@ -121,7 +121,7 @@ public class TraceQueryEsDAO extends EsDAO implements ITraceQueryDAO {
}
if
(
CollectionUtils
.
isNotEmpty
(
tags
))
{
BoolQueryBuilder
tagMatchQuery
=
Query
.
bool
();
tags
.
forEach
(
tag
->
tagMatchQuery
.
must
(
Query
.
term
(
SegmentRecord
.
TAGS
,
tag
)));
tags
.
forEach
(
tag
->
tagMatchQuery
.
must
(
Query
.
term
(
SegmentRecord
.
TAGS
,
tag
.
toString
()
)));
query
.
must
(
tagMatchQuery
);
}
search
.
size
(
limit
).
from
(
from
);
...
...
oap-server/server-tools/profile-exporter/pom.xml
浏览文件 @
a4c68d30
...
...
@@ -33,6 +33,5 @@
<module>
tool-profile-snapshot-server-mock
</module>
<module>
tool-profile-snapshot-bootstrap
</module>
<module>
tool-profile-snapshot-exporter
</module>
<module>
tool-profile-snapshot-exporter-es
</module>
</modules>
</project>
oap-server/server-tools/profile-exporter/tool-profile-snapshot-bootstrap/pom.xml
浏览文件 @
a4c68d30
...
...
@@ -42,19 +42,6 @@
<version>
${project.version}
</version>
</dependency>
<!-- core module -->
<!-- storage module -->
<dependency>
<groupId>
org.apache.skywalking
</groupId>
<artifactId>
storage-jdbc-hikaricp-plugin
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.skywalking
</groupId>
<artifactId>
storage-influxdb-plugin
</artifactId>
<version>
${project.version}
</version>
</dependency>
<!-- storage module -->
</dependencies>
</project>
oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter-es/src/main/java/org/apache/skywalking/oap/server/tool/profile/exporter/ProfileSnapshotExporter.java
已删除
100644 → 0
浏览文件 @
4c95f07a
/*
* 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.
*
*/
package
org.apache.skywalking.oap.server.tool.profile.exporter
;
import
lombok.extern.slf4j.Slf4j
;
@Slf4j
public
class
ProfileSnapshotExporter
{
public
static
void
main
(
String
[]
args
)
{
ProfileSnapshotExporterBootstrap
.
export
(
args
);
}
}
oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/pom.xml
浏览文件 @
a4c68d30
...
...
@@ -34,11 +34,29 @@
<artifactId>
tool-profile-snapshot-bootstrap
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.skywalking
</groupId>
<artifactId>
storage-elasticsearch-plugin
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
<build>
<finalName>
skywalking-tools-exporter
</finalName>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-assembly-plugin
</artifactId>
<executions>
<execution>
<id>
assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
<configuration>
<descriptors>
<descriptor>
src/main/assembly/assembly.xml
</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter
-es/pom
.xml
→
oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter
/src/main/assembly/assembly
.xml
浏览文件 @
a4c68d30
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
...
...
@@ -17,23 +16,18 @@
~
-->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
profile-exporter
</artifactId>
<groupId>
org.apache.skywalking
</groupId>
<version>
8.9.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
tool-profile-snapshot-exporter-es7
</artifactId>
<version>
8.9.0-SNAPSHOT
</version>
<dependencies>
<dependency>
<groupId>
org.apache.skywalking
</groupId>
<artifactId>
tool-profile-snapshot-bootstrap
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
</project>
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
<id>
assembly
</id>
<formats>
<format>
dir
</format>
</formats>
<dependencySets>
<dependencySet>
<outputDirectory>
/libs
</outputDirectory>
<scope>
runtime
</scope>
</dependencySet>
</dependencySets>
</assembly>
oap-server/server-tools/profile-exporter/tool-profile-snapshot-server-mock/pom.xml
浏览文件 @
a4c68d30
...
...
@@ -25,7 +25,6 @@
</parent>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
org.apache.skywalking
</groupId>
<artifactId>
tool-profile-snapshot-server-mock
</artifactId>
<version>
8.9.0-SNAPSHOT
</version>
...
...
@@ -37,4 +36,4 @@
</dependency>
</dependencies>
</project>
\ No newline at end of file
</project>
test/e2e/e2e-service-provider/pom.xml
浏览文件 @
a4c68d30
...
...
@@ -70,11 +70,15 @@
<artifactId>
log4j
</artifactId>
<version>
${log4j.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.logging.log4j
</groupId>
<artifactId>
log4j-api
</artifactId>
<version>
${log4j2.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.logging.log4j
</groupId>
<artifactId>
log4j-core
</artifactId>
<version>
${log4j2.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
ch.qos.logback
</groupId>
...
...
test/e2e/e2e-test/docker/Dockerfile.cli
已删除
100644 → 0
浏览文件 @
4c95f07a
# 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.
FROM golang:1.14 AS builder
ARG COMMIT_HASH=ae085deb32434a0859e49c45819fed7a5c4010b5
ARG CLI_CODE=${COMMIT_HASH}.tar.gz
ARG CLI_CODE_URL=https://github.com/apache/skywalking-cli/archive/${CLI_CODE}
ENV CGO_ENABLED=0
ENV GO111MODULE=on
WORKDIR /cli
ADD ${CLI_CODE_URL} .
RUN tar -xf ${CLI_CODE} --strip 1
RUN rm ${CLI_CODE}
RUN make build && mv bin/swctl-latest-linux-amd64 /swctl
ENTRYPOINT [ "/swctl" ]
test/e2e/e2e-test/docker/event/docker-compose.yml
浏览文件 @
a4c68d30
...
...
@@ -25,9 +25,7 @@ services:
condition
:
service_healthy
cli
:
build
:
context
:
.
dockerfile
:
../Dockerfile.cli
image
:
ghcr.io/apache/skywalking-cli/skywalking-cli:401e0e5671a3fb49de1d1e1e89f5b693b2062867
networks
:
-
e2e
entrypoint
:
...
...
test/e2e/e2e-test/docker/profile/docker-compose.es
7
.yml
→
test/e2e/e2e-test/docker/profile/docker-compose.es.yml
浏览文件 @
a4c68d30
...
...
@@ -17,7 +17,7 @@ version: '2.1'
services
:
es
:
image
:
elastic/elasticsearch:
7.4.2
image
:
elastic/elasticsearch:
${ES_VERSION}
expose
:
-
9200
networks
:
...
...
test/e2e/e2e-test/docker/profile/docker-compose.es6.yml
已删除
100644 → 0
浏览文件 @
4c95f07a
# 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:6.3.2
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
environment
:
SW_STORAGE
:
elasticsearch
depends_on
:
es
:
condition
:
service_healthy
networks
:
e2e
:
test/e2e/e2e-test/docker/storage/docker-compose.es
6
.yml
→
test/e2e/e2e-test/docker/storage/docker-compose.es.yml
浏览文件 @
a4c68d30
...
...
@@ -17,7 +17,7 @@ version: '2.1'
services
:
es
:
image
:
elastic/elasticsearch:
6.3.2
image
:
elastic/elasticsearch:
${ES_VERSION}
expose
:
-
9200
networks
:
...
...
test/e2e/e2e-test/docker/storage/docker-compose.es7.0.yml
已删除
100644 → 0
浏览文件 @
4c95f07a
# 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.0.0
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
environment
:
SW_STORAGE
:
elasticsearch
SW_PROMETHEUS_FETCHER
:
"
default"
SW_TELEMETRY
:
prometheus
depends_on
:
es
:
condition
:
service_healthy
networks
:
e2e
:
test/e2e/e2e-test/docker/storage/docker-compose.es7.10.yml
已删除
100644 → 0
浏览文件 @
4c95f07a
# 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.10.1
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
environment
:
SW_STORAGE
:
elasticsearch
SW_PROMETHEUS_FETCHER
:
"
default"
SW_TELEMETRY
:
prometheus
depends_on
:
es
:
condition
:
service_healthy
networks
:
e2e
:
test/e2e/e2e-test/docker/storage/docker-compose.es7.14.yml
已删除
100644 → 0
浏览文件 @
4c95f07a
# 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.14.0
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
environment
:
SW_STORAGE
:
elasticsearch
SW_PROMETHEUS_FETCHER
:
"
default"
SW_TELEMETRY
:
prometheus
depends_on
:
es
:
condition
:
service_healthy
networks
:
e2e
:
test/e2e/pom.xml
浏览文件 @
a4c68d30
...
...
@@ -58,6 +58,7 @@
<maven-failsafe-plugin.version>
2.22.0
</maven-failsafe-plugin.version>
<maven-compiler-plugin.version>
3.8.0
</maven-compiler-plugin.version>
<maven-checkstyle-plugin.version>
3.1.0
</maven-checkstyle-plugin.version>
<maven-surefire-plugin.version>
2.22.0
</maven-surefire-plugin.version>
<testcontainers.version>
1.15.3
</testcontainers.version>
</properties>
...
...
@@ -191,6 +192,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
${maven-surefire-plugin.version}
</version>
</plugin>
</plugins>
</build>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录