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 diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle index 0b13e18ba3f4d..f090f2918f901 100644 --- a/plugins/repository-hdfs/build.gradle +++ b/plugins/repository-hdfs/build.gradle @@ -76,7 +76,7 @@ dependencies { api 'org.apache.commons:commons-compress:1.23.0' api 'org.apache.commons:commons-configuration2:2.9.0' api 'commons-io:commons-io:2.13.0' - api 'org.apache.commons:commons-lang3:3.12.0' + api 'org.apache.commons:commons-lang3:3.13.0' implementation 'com.google.re2j:re2j:1.7' api 'javax.servlet:servlet-api:2.5' api "org.slf4j:slf4j-api:${versions.slf4j}"