Skip to content

Commit d8e1ec0

Browse files
authored
Merge 3089d19 into 65179a1
2 parents 65179a1 + 3089d19 commit d8e1ec0

File tree

3 files changed

+5
-45
lines changed

3 files changed

+5
-45
lines changed

.github/workflows/build.yml

+1-23
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,11 @@ jobs:
2424
uses: actions/setup-java@v1
2525
with:
2626
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
4927
# This step uses the checkout Github action: https://github.com/actions/checkout
5028
- name: Checkout Branch
5129
uses: actions/checkout@v2
5230
- name: Build with Gradle
53-
run: ./gradlew build -Dopensearch.version=1.1.0-SNAPSHOT
31+
run: ./gradlew build -Dopensearch.version=1.2.0-SNAPSHOT
5432
- name: Pull and Run Docker for security tests
5533
run: |
5634
version=1.1.0-SNAPSHOT

.github/workflows/multi-node-test-workflow.yml

+1-21
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,11 @@ jobs:
2323
uses: actions/setup-java@v1
2424
with:
2525
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
4626
# This step uses the checkout Github action: https://github.com/actions/checkout
4727
- name: Checkout Branch
4828
uses: actions/checkout@v2
4929
- 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
5131
- name: Upload failed logs
5232
uses: actions/upload-artifact@v2
5333
if: failure()

build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
distribution = 'oss-zip'
1414
opensearch_group = "org.opensearch"
1515
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")
1717
// 1.0.0 -> 1.0.0.0, and 1.0.0-SNAPSHOT -> 1.0.0.0-SNAPSHOT
1818
opensearch_build = opensearch_version.replaceAll(/(\.\d)([^\d]*)$/, '$1.0$2')
1919
common_utils_version = System.getProperty("common_utils.version", opensearch_build)
@@ -24,6 +24,7 @@ buildscript {
2424
mavenCentral()
2525
maven { url "https://plugins.gradle.org/m2/" }
2626
jcenter()
27+
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
2728
}
2829

2930
dependencies {
@@ -44,6 +45,7 @@ repositories {
4445
mavenCentral()
4546
maven { url "https://plugins.gradle.org/m2/" }
4647
jcenter()
48+
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
4749
}
4850
apply plugin: 'java'
4951
apply plugin: 'jacoco'

0 commit comments

Comments
 (0)