8
8
- " *"
9
9
10
10
jobs :
11
-
12
11
Build-ad :
13
12
strategy :
14
13
matrix :
@@ -29,28 +28,28 @@ jobs:
29
28
30
29
- name : Assemble anomaly-detection
31
30
run : |
32
- ./gradlew assemble -Dopensearch.version=1.2.1 -SNAPSHOT
33
- echo "Creating ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.1 .0-SNAPSHOT ..."
34
- mkdir -p ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.1 .0-SNAPSHOT
35
- echo "Copying ./build/distributions/*.zip to ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.1 .0-SNAPSHOT ..."
31
+ ./gradlew assemble -Dopensearch.version=1.2.2 -SNAPSHOT
32
+ echo "Creating ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.2 .0-SNAPSHOT ..."
33
+ mkdir -p ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.2 .0-SNAPSHOT
34
+ echo "Copying ./build/distributions/*.zip to ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.2 .0-SNAPSHOT ..."
36
35
ls ./build/distributions/
37
- cp ./build/distributions/*.zip ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.1 .0-SNAPSHOT
38
- echo "Copied ./build/distributions/*.zip to ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.1 .0-SNAPSHOT ..."
39
- ls ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.1 .0-SNAPSHOT
36
+ cp ./build/distributions/*.zip ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.2 .0-SNAPSHOT
37
+ echo "Copied ./build/distributions/*.zip to ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.2 .0-SNAPSHOT ..."
38
+ ls ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/1.2.2 .0-SNAPSHOT
40
39
- name : Build and Run Tests
41
40
run : |
42
- ./gradlew build -Dopensearch.version=1.2.1 -SNAPSHOT
41
+ ./gradlew build -Dopensearch.version=1.2.2 -SNAPSHOT
43
42
- name : Publish to Maven Local
44
43
run : |
45
- ./gradlew publishToMavenLocal -Dopensearch.version=1.2.1 -SNAPSHOT
44
+ ./gradlew publishToMavenLocal -Dopensearch.version=1.2.2 -SNAPSHOT
46
45
- name : Multi Nodes Integration Testing
47
46
run : |
48
47
./gradlew integTest -PnumNodes=3
49
48
- name : Pull and Run Docker
50
49
run : |
51
50
plugin=`ls build/distributions/*.zip`
52
- version=1.2.1 -SNAPSHOT
53
- plugin_version=1.2.1 .0-SNAPSHOT
51
+ version=1.2.2 -SNAPSHOT
52
+ plugin_version=1.2.2 .0-SNAPSHOT
54
53
echo Using OpenSearch $version with AD $plugin_version
55
54
cd ..
56
55
if docker pull opensearchstaging/opensearch:$version
90
89
uses : codecov/codecov-action@v1
91
90
with :
92
91
file : ./build/reports/jacoco/test/jacocoTestReport.xml
93
- flags : plugin
92
+ flags : plugin
0 commit comments