From d2e4d3a0efa1b2272f91e1486ef6ea4a869805ec Mon Sep 17 00:00:00 2001 From: Sorabh Date: Fri, 21 Jul 2023 16:31:14 -0700 Subject: [PATCH 1/2] Create cs.yml --- .github/workflows/cs.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/cs.yml diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml new file mode 100644 index 0000000000000..627c15ed569a2 --- /dev/null +++ b/.github/workflows/cs.yml @@ -0,0 +1,34 @@ +--- +name: Concurrent Search UTs and ITs + +on: + schedule: + - cron: '0 */4 * * *' # every 4 hours + workflow_dispatch: # on button click + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] # precommit on ubuntu-latest is run as a part of the gradle-check workflow + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + if: always() + uses: actions/setup-java@v2 + with: + java-version: 11 + distribution: adopt + - name: Build the repo + if: always() + run: | + ./gradlew assemble -x :distribution:docker:buildArm64DockerImage -x :distribution:docker:buildDockerImage -x :distribution:docker:buildPpc64leDockerImage -x :distribution:docker:docker-export:exportDockerImage -x :distribution:docker:buildS390xDockerImage -x :distribution:docker:docker-ppc64le-export:exportDockerImage -x :distribution:docker:docker-s390x-export:exportDockerImage + - name: Run Gradle unit tests + if: always() + run: | + ./gradlew test -Dopensearch.experimental.feature.concurrent_segment_search.enabled=true + - name: Run Gradle integration tests + if: always() + run: | + ./gradlew internalClusterTest --parallel -Dopensearch.experimental.feature.concurrent_segment_search.enabled=true From 3c8fe79c03e8e36ad407f0124b9fb9193721f7b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 18:22:05 +0000 Subject: [PATCH 2/2] Bump org.opensearch:opensearch-core Bumps [org.opensearch:opensearch-core](https://github.com/opensearch-project/OpenSearch) from current to 2.10.0. - [Release notes](https://github.com/opensearch-project/OpenSearch/releases) - [Changelog](https://github.com/opensearch-project/OpenSearch/blob/main/CHANGELOG.md) - [Commits](https://github.com/opensearch-project/OpenSearch/commits/2.10.0) --- updated-dependencies: - dependency-name: org.opensearch:opensearch-core dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- buildSrc/src/testKit/thirdPartyAudit/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/testKit/thirdPartyAudit/build.gradle b/buildSrc/src/testKit/thirdPartyAudit/build.gradle index 553ff5d8e6ed2..84de798e8b0f6 100644 --- a/buildSrc/src/testKit/thirdPartyAudit/build.gradle +++ b/buildSrc/src/testKit/thirdPartyAudit/build.gradle @@ -40,7 +40,7 @@ repositories { } dependencies { - jdkJarHell 'org.opensearch:opensearch-core:current' + jdkJarHell 'org.opensearch:opensearch-core:2.10.0' compileOnly "org.${project.properties.compileOnlyGroup}:${project.properties.compileOnlyVersion}" implementation "org.${project.properties.compileGroup}:${project.properties.compileVersion}" }