File tree Expand file tree Collapse file tree
resource_customizations/numaflow.numaproj.io
InterStepBufferService/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515if forcePromote then
1616 actions [" force-promote" ][" disabled" ] = false
1717else
18- actions [" force-promote" ][" disabled" ] = true
18+ actions [" force-promote" ][" disabled" ] = true
19+ end
20+
21+ return actions
Original file line number Diff line number Diff line change @@ -7,4 +7,28 @@ actionTests:
77 expectedOutputPath : testdata/monovertex.yaml
88- action : force-promote
99 inputPath : testdata/monovertex.yaml
10- expectedOutputPath : testdata/monovertex-force-promote.yaml
10+ expectedOutputPath : testdata/monovertex-force-promote.yaml
11+
12+ discoveryTests :
13+ - inputPath : testdata/monovertex.yaml
14+ result :
15+ - name : pause
16+ disabled : false
17+ iconClass : ' fa-solid fa-fw fa-pause'
18+ - name : unpause
19+ disabled : true
20+ iconClass : ' fa-solid fa-fw fa-play'
21+ - name : force-promote
22+ disabled : false
23+ iconClass : ' fa-solid fa-fw fa-forward'
24+ - inputPath : testdata/monovertex-paused.yaml
25+ result :
26+ - name : pause
27+ disabled : true
28+ iconClass : ' fa-solid fa-fw fa-pause'
29+ - name : unpause
30+ disabled : false
31+ iconClass : ' fa-solid fa-fw fa-play'
32+ - name : force-promote
33+ disabled : false
34+ iconClass : ' fa-solid fa-fw fa-forward'
Original file line number Diff line number Diff line change 3434if forcePromote then
3535 actions [" force-promote" ][" disabled" ] = false
3636else
37- actions [" force-promote" ][" disabled" ] = true
37+ actions [" force-promote" ][" disabled" ] = true
38+ end
39+
40+ return actions
Original file line number Diff line number Diff line change @@ -7,4 +7,28 @@ actionTests:
77 expectedOutputPath : testdata/pipeline.yaml
88- action : force-promote
99 inputPath : testdata/pipeline.yaml
10- expectedOutputPath : testdata/pipeline-force-promote.yaml
10+ expectedOutputPath : testdata/pipeline-force-promote.yaml
11+
12+ discoveryTests :
13+ - inputPath : testdata/pipeline.yaml
14+ result :
15+ - name : pause
16+ disabled : false
17+ iconClass : ' fa-solid fa-fw fa-pause'
18+ - name : unpause
19+ disabled : true
20+ iconClass : ' fa-solid fa-fw fa-play'
21+ - name : force-promote
22+ disabled : false
23+ iconClass : ' fa-solid fa-fw fa-forward'
24+ - inputPath : testdata/pipeline-paused.yaml
25+ result :
26+ - name : pause
27+ disabled : true
28+ iconClass : ' fa-solid fa-fw fa-pause'
29+ - name : unpause
30+ disabled : false
31+ iconClass : ' fa-solid fa-fw fa-play'
32+ - name : force-promote
33+ disabled : false
34+ iconClass : ' fa-solid fa-fw fa-forward'
Original file line number Diff line number Diff line change 3434if forcePromote then
3535 actions [" force-promote" ][" disabled" ] = false
3636else
37- actions [" force-promote" ][" disabled" ] = true
37+ actions [" force-promote" ][" disabled" ] = true
38+ end
39+
40+ return actions
You can’t perform that action at this time.
0 commit comments