Remove dco and update artifact action to v4 (#1312) #3218
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: Multi node test workflow | |
# This workflow is triggered on pull requests to main | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "*" | |
jobs: | |
build: | |
# Job name | |
name: Build Index Management | |
# This job runs on Linux | |
runs-on: ubuntu-latest | |
steps: | |
# This step uses the setup-java Github action: https://github.com/actions/setup-java | |
- name: Set Up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
# index-management | |
- name: Checkout Branch | |
uses: actions/checkout@v2 | |
- name: Run integration tests with multi node config | |
run: ./gradlew integTest -PnumNodes=3 | |
- name: Upload failed logs | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: logs | |
path: build/testclusters/integTest-*/logs/* | |
bwc: | |
name: Run Index Management Backwards Compatibility Tests | |
# This job runs on Linux | |
runs-on: ubuntu-latest | |
steps: | |
# This step uses the setup-java Github action: https://github.com/actions/setup-java | |
- name: Set Up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
# index-management | |
- name: Checkout Branch | |
uses: actions/checkout@v2 | |
- name: Run IM Backwards Compatibility Tests | |
run: | | |
echo "Running backwards compatibility tests..." | |
./gradlew bwcTestSuite |