-
Notifications
You must be signed in to change notification settings - Fork 1
116 lines (97 loc) · 3.48 KB
/
run-component-tests.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
name: Run Component Tests
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "0 3 * * *"
push:
branches: [ 'main', 'release/v**' ]
pull_request:
branches: [ 'main', 'release/v**' ]
types: [ opened, synchronize, reopened, labeled ]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
should-run:
uses: trifork/cheetah-infrastructure-utils-workflows/.github/workflows/e2e-should-run.yml@main
enrich-stream-component-test:
name: Enrich Stream
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: EnrichStream
initial-kafka-topics: "EnrichStreamEnrichTopic EnrichStreamInputTopic EnrichStreamOutputTopic"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
external-lookup-component-test:
name: External Lookup
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: ExternalLookup
initial-kafka-topics: "ExternalLookupInputTopic ExternalLookupOutputTopic"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
flink-states-component-test:
name: Flink States
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: FlinkStates
initial-kafka-topics: "FlinkStatesInputTopic FlinkStatesOutputTopic-value FlinkStatesOutputTopic-reducing FlinkStatesOutputTopic-aggregating FlinkStatesOutputTopic-list FlinkStatesOutputTopic-map"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
multiple-side-outputs-component-test:
name: Multiple Side Outputs
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: MultipleSideOutput
initial-kafka-topics: "MultipleSideOutputExampleInputTopic OutputA-events OutputB-events OutputCD-events"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
observability-outputs-component-test:
name: Observability
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: Observability
initial-kafka-topics: "ObservabilityInputTopic"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
serialization-error-catch-component-test:
name: Serialization Error Catch
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: SerializationErrorCatch
initial-kafka-topics: "SerializationErrorCatchInputTopic SerializationErrorCatchInputTopic SerializationErrorCatchOutputTopic"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
transform-and-store-component-test:
name: Transform and Store
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: TransformAndStore
initial-kafka-topics: "TransformAndStoreInputTopic"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
tumbling-window-component-test:
name: Tumbling Window
needs: should-run
if: ${{ needs.should-run.outputs.should-run }}
uses: ./.github/workflows/component-test.yml
with:
folder: TumblingWindow
initial-kafka-topics: "TumblingWindowInputTopic TumblingWindowOutputTopic"
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}