[Backport 2.x] Add _primary preference only for segment replication enabled indices #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security Plugin IT | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
paths: | |
- 'integ-test/**' | |
- '.github/workflows/integ-tests-with-security.yml' | |
jobs: | |
security-it: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
java: [ 11, 17 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Build with Gradle | |
run: ./gradlew integTestWithSecurity | |
- name: Upload test reports | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
continue-on-error: true | |
with: | |
name: test-reports-${{ matrix.os }}-${{ matrix.java }} | |
path: | | |
integ-test/build/reports/** | |
integ-test/build/testclusters/*/logs/* | |
integ-test/build/testclusters/*/config/* |