Skip to content

Allow detectors to be stopped if underlying workflow is deleted. Don't allow them to then be started/edited (#810) #1979

Allow detectors to be stopped if underlying workflow is deleted. Don't allow them to then be started/edited (#810)

Allow detectors to be stopped if underlying workflow is deleted. Don't allow them to then be started/edited (#810) #1979

name: Multi-node Test Workflow
# This workflow is triggered on pull requests and pushes to main or an OpenSearch release branch
on:
pull_request:
branches:
- "*"
push:
branches:
- "*"
jobs:
build:
strategy:
matrix:
java: [ 11, 17 ]
# Job name
name: Build and test Security Analytics
# 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 ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
# This step uses the checkout Github action: https://github.com/actions/checkout
- 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@v2
if: failure()
with:
name: logs
path: build/testclusters/integTest-*/logs/*