File tree 3 files changed +5
-45
lines changed
3 files changed +5
-45
lines changed Original file line number Diff line number Diff line change @@ -24,33 +24,11 @@ jobs:
24
24
uses : actions/setup-java@v1
25
25
with :
26
26
java-version : 14
27
- # dependencies: OpenSearch
28
- - name : Checkout OpenSearch
29
- uses : actions/checkout@v2
30
- with :
31
- repository : ' opensearch-project/OpenSearch'
32
- path : OpenSearch
33
- ref : ' 1.1'
34
- - name : Build OpenSearch
35
- working-directory : ./OpenSearch
36
- run : |
37
- ./gradlew publishToMavenLocal
38
- ./gradlew :distribution:docker:assemble
39
- # dependencies: common-utils
40
- - name : Checkout common-utils
41
- uses : actions/checkout@v2
42
- with :
43
- ref : ' 1.1'
44
- repository : ' opensearch-project/common-utils'
45
- path : common-utils
46
- - name : Build common-utils
47
- working-directory : ./common-utils
48
- run : ./gradlew publishToMavenLocal -Dopensearch.version=1.1.0-SNAPSHOT
49
27
# This step uses the checkout Github action: https://github.com/actions/checkout
50
28
- name : Checkout Branch
51
29
uses : actions/checkout@v2
52
30
- name : Build with Gradle
53
- run : ./gradlew build -Dopensearch.version=1.1 .0-SNAPSHOT
31
+ run : ./gradlew build -Dopensearch.version=1.2 .0-SNAPSHOT
54
32
- name : Pull and Run Docker for security tests
55
33
run : |
56
34
version=1.1.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -23,31 +23,11 @@ jobs:
23
23
uses : actions/setup-java@v1
24
24
with :
25
25
java-version : ${{ env.java_version }}
26
- # dependencies: OpenSearch
27
- - name : Checkout OpenSearch
28
- uses : actions/checkout@v2
29
- with :
30
- repository : ' opensearch-project/OpenSearch'
31
- path : OpenSearch
32
- ref : ' 1.1'
33
- # dependencies: common-utils
34
- - name : Checkout common-utils
35
- uses : actions/checkout@v2
36
- with :
37
- ref : ' 1.1'
38
- repository : ' opensearch-project/common-utils'
39
- path : common-utils
40
- - name : Build OpenSearch
41
- working-directory : ./OpenSearch
42
- run : ./gradlew publishToMavenLocal
43
- - name : Build common-utils
44
- working-directory : ./common-utils
45
- run : ./gradlew publishToMavenLocal -Dopensearch.version=1.1.0-SNAPSHOT
46
26
# This step uses the checkout Github action: https://github.com/actions/checkout
47
27
- name : Checkout Branch
48
28
uses : actions/checkout@v2
49
29
- name : Run integration tests with multi node config
50
- run : ./gradlew integTest -PnumNodes=5 -Dopensearch.version=1.1 .0-SNAPSHOT
30
+ run : ./gradlew integTest -PnumNodes=5 -Dopensearch.version=1.2 .0-SNAPSHOT
51
31
- name : Upload failed logs
52
32
uses : actions/upload-artifact@v2
53
33
if : failure()
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ buildscript {
13
13
distribution = ' oss-zip'
14
14
opensearch_group = " org.opensearch"
15
15
isSnapshot = " true" == System . getProperty(" build.snapshot" , " true" )
16
- opensearch_version = System . getProperty(" opensearch.version" , " 1.1 .0-SNAPSHOT" )
16
+ opensearch_version = System . getProperty(" opensearch.version" , " 1.2 .0-SNAPSHOT" )
17
17
// 1.0.0 -> 1.0.0.0, and 1.0.0-SNAPSHOT -> 1.0.0.0-SNAPSHOT
18
18
opensearch_build = opensearch_version. replaceAll(/ (\.\d )([^\d ]*)$/ , ' $1.0$2' )
19
19
common_utils_version = System . getProperty(" common_utils.version" , opensearch_build)
@@ -24,6 +24,7 @@ buildscript {
24
24
mavenCentral()
25
25
maven { url " https://plugins.gradle.org/m2/" }
26
26
jcenter()
27
+ maven { url " https://aws.oss.sonatype.org/content/repositories/snapshots" }
27
28
}
28
29
29
30
dependencies {
@@ -44,6 +45,7 @@ repositories {
44
45
mavenCentral()
45
46
maven { url " https://plugins.gradle.org/m2/" }
46
47
jcenter()
48
+ maven { url " https://aws.oss.sonatype.org/content/repositories/snapshots" }
47
49
}
48
50
apply plugin : ' java'
49
51
apply plugin : ' jacoco'
You can’t perform that action at this time.
0 commit comments