Remove binary files and download them in CI process instead (#6631)
This commit is contained in:
parent
ec043d5c6e
commit
db9cc26977
|
|
@ -5,6 +5,9 @@
|
|||
},
|
||||
{
|
||||
"pattern": "^https://github.com/apache/skywalking/blob/master/changes/changes-x.y.z.md$"
|
||||
},
|
||||
{
|
||||
"pattern": "^https://dist.apache.org/repos/dist/dev/skywalking/x.y.z$"
|
||||
}
|
||||
],
|
||||
"timeout": "10s",
|
||||
|
|
|
|||
|
|
@ -23,3 +23,4 @@ OALLexer.tokens
|
|||
/test/jacoco/classes
|
||||
/test/jacoco/*.exec
|
||||
oap-server/oal-grammar/**/gen/
|
||||
test/jacoco
|
||||
|
|
|
|||
|
|
@ -74,4 +74,30 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>${maven-antrun-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>download-jars</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<mkdir dir="${project.basedir}/../../jacoco"/>
|
||||
<get dest="${project.basedir}/../../jacoco/jacocoagent.jar" src="https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"/>
|
||||
<get dest="${project.basedir}/../../jacoco/jacococli.jar" src="https://repo1.maven.org/maven2/org/jacoco/org.jacoco.cli/${jacoco.version}/org.jacoco.cli-${jacoco.version}-nodeps.jar"/>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -67,10 +67,12 @@
|
|||
<mysql.version>8.0.13</mysql.version>
|
||||
<lombok.version>1.18.16</lombok.version>
|
||||
<kafka-clients.version>2.4.1</kafka-clients.version>
|
||||
<jacoco.version>0.8.6</jacoco.version>
|
||||
|
||||
<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-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
|
||||
|
||||
<testcontainers.version>1.15.1</testcontainers.version>
|
||||
</properties>
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -31,6 +31,7 @@ scenarios_home="${home}/scenarios"
|
|||
num_of_testcases=
|
||||
|
||||
image_version="jdk8-1.0.0"
|
||||
jacoco_version="${JACOCO_VERSION:-0.8.6}"
|
||||
|
||||
print_help() {
|
||||
echo "Usage: run.sh [OPTION] SCENARIO_NAME"
|
||||
|
|
@ -181,6 +182,10 @@ if [[ -n "${running_mode}" ]]; then
|
|||
agent_home_selector ${running_mode} ${with_plugins}
|
||||
fi
|
||||
|
||||
mkdir -p "${jacoco_home}"
|
||||
ls "${jacoco_home}"/jacocoagent.jar || curl -Lso "${jacoco_home}"/jacocoagent.jar https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/${jacoco_version}/org.jacoco.agent-${jacoco_version}-runtime.jar
|
||||
ls "${jacoco_home}"/jacocoacli.jar || curl -Lso "${jacoco_home}"/jacococli.jar https://repo1.maven.org/maven2/org/jacoco/org.jacoco.cli/${jacoco_version}/org.jacoco.cli-${jacoco_version}-nodeps.jar
|
||||
|
||||
supported_versions=`grep -v -E "^$|^#" ${supported_version_file}`
|
||||
for version in ${supported_versions}
|
||||
do
|
||||
|
|
|
|||
Loading…
Reference in New Issue