Commit 2e9f53d
* Autorenew SSL certs and use them everywhere: java unit tests, docker files, ruby spec and integration tests.
* Upgrades junit, wiremock, mokito dependencies used by unit tests
* Overall flow:
- to generate certs first in CI host -> run_tests.sh: used by both unit and integration tests
- generate in gradle only if needed, e.g. local ./gradlew clean test
- we will not clean certs with gradle clean, if we do integration tests will fail due to mismatch
- and genera.sh will skip if certs exist - makes sure we are not generating twice
(cherry picked from commit 254e669)
Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
1 parent b7694ae commit 2e9f53d
32 files changed
Lines changed: 33 additions & 808 deletions
File tree
- .buildkite/scripts
- .ci
- spec
- fixtures/test_certs
- integration
- src/test/java/co/elastic/logstash/filters/elasticintegration
- utils/ssl-certs-generator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
804 | 805 | | |
805 | 806 | | |
806 | 807 | | |
| 808 | + | |
807 | 809 | | |
808 | 810 | | |
809 | 811 | | |
| |||
812 | 814 | | |
813 | 815 | | |
814 | 816 | | |
815 | | - | |
| 817 | + | |
816 | 818 | | |
817 | 819 | | |
818 | 820 | | |
| |||
This file was deleted.
Binary file not shown.
This file was deleted.
This file was deleted.
Binary file not shown.
This file was deleted.
0 commit comments