-
Notifications
You must be signed in to change notification settings - Fork 81
81 lines (68 loc) · 2.55 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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.24", "8.3.2", "8.12.1", "8.15.3" ]
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.24", "8.3.2", "8.12.1", "8.15.3" ]
opensearch: [ "1.3.4", "2.1.0", "2.17.1" ]
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.24", "8.3.2", "8.12.1", "8.15.3" ]
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