Addresses changes made to security demo config install tool (#233) #360
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: Build and Test logstash-output-opensearch plugin | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
Unit-test: | |
strategy: | |
matrix: | |
logstash: [ "7.16.3", "7.17.1", "8.3.2", "8.12.1" ] | |
name: Unit Test logstash-output-opensearch | |
runs-on: ubuntu-latest | |
env: | |
LOGSTASH_VERSION: ${{ matrix.logstash }} | |
steps: | |
- name: Checkout plugin | |
uses: actions/checkout@v1 | |
- name: Build and pull docker files for unit tests with logstash ${{ matrix.logstash }} | |
run: | | |
./scripts/unit-test/docker-setup.sh | |
- name: Run unit tests | |
run: | | |
./scripts/unit-test/docker-run.sh | |
Integration-Test-OpenSearch: | |
strategy: | |
matrix: | |
logstash: [ "7.16.3", "7.17.1", "8.3.2", "8.12.1" ] | |
opensearch: [ "1.3.4", "2.1.0", "2.12.0" ] | |
secure: [ true, false ] | |
name: Integration Test logstash-output-opensearch against OpenSearch | |
runs-on: ubuntu-latest | |
env: | |
LOGSTASH_VERSION: ${{ matrix.logstash }} | |
OPENSEARCH_VERSION: ${{ matrix.opensearch }} | |
SECURE_INTEGRATION: ${{ matrix.secure }} | |
steps: | |
- name: Checkout plugin | |
uses: actions/checkout@v1 | |
- name: Build and pull docker files for OpenSearch-${{ matrix.opensearch }}-security-${{ matrix.secure }} for logstash ${{ matrix.logstash }} | |
run: | | |
./scripts/opensearch/docker-setup.sh | |
- name: Run Integration tests against OpenSearch-${{ matrix.opensearch }}-security-${{ matrix.secure }} for logstash ${{ matrix.logstash }} | |
run: | | |
./scripts/opensearch/docker-run.sh | |
Integration-Test-OpenDistro: | |
strategy: | |
matrix: | |
logstash: [ "7.16.3", "7.17.1", "8.12.1" ] | |
opendistro: [ "1.13.3" ] | |
secure: [ true, false ] | |
name: Integration Test logstash-output-opensearch against OpenDistro | |
runs-on: ubuntu-latest | |
env: | |
LOGSTASH_VERSION: ${{ matrix.logstash }} | |
OPENDISTRO_VERSION: ${{ matrix.opendistro }} | |
SECURE_INTEGRATION: ${{ matrix.secure }} | |
steps: | |
- name: Checkout plugin | |
uses: actions/checkout@v1 | |
- name: Build and pull docker files for OpenDistro-${{ matrix.opendistro }}-security-${{ matrix.secure }} for logstash ${{ matrix.logstash }} | |
run: | | |
./scripts/opendistro/docker-setup.sh | |
- name: Run Integration tests against OpenDistro-${{ matrix.opendistro }}-security-${{ matrix.secure }} for logstash ${{ matrix.logstash }} | |
run: | | |
./scripts/opendistro/docker-run.sh |