Commit 9c42e42
fix: wfe tests run on splunk latest (#377)
### Description
## Allow for TA to specify Splunk Latest as the only version to run WFE
tests against.
It is too expensive to run all WFE tests on all supported Splunk
versions on every commit in CDC add-ons on every commit / PR. Let TA to
specify the condition to run WFE tests on latest only.
* Full run takes 2d 20h 31m 27s
https://github.com/splunk/splunk-add-on-for-amazon-web-services/actions/runs/13389640676/usage
* Latest run takes 17h 29m 24s
https://github.com/splunk/splunk-add-on-for-amazon-web-services/actions/runs/13478849153/usage
## Proposal
Default condition - Run WFE tests on all Splunk Versions for conditions:
* push to main, develop
* PR to main
Run only on Splunk latest when:
* scheduled execution
* Everything else
Introduce `wfe-run-on-splunk-latest` input for TA to be precise when it
needs a custom rule to run or not run on latest
## +Fix
`Summary of Versions Used` should take its value from
`steps.determine_splunk.outputs.matrixSplunk`
### Checklist
- [ ] `README.md` has been updated or is not required
- [x] push trigger tests
- [ ] manual release test
- [ ] automated releases test
- [x] pull request trigger tests
- [ ] schedule trigger tests
- [ ] workflow errors/warnings reviewed and addressed
### Testing done
(for each selected checkbox, the corresponding test results link should
be listed here)
---------
Co-authored-by: mkolasinski-splunk <[email protected]>1 parent 98e4ccc commit 9c42e42
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
269 | 274 | | |
270 | 275 | | |
271 | 276 | | |
| 277 | + | |
| 278 | + | |
272 | 279 | | |
273 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
274 | 284 | | |
275 | 285 | | |
276 | 286 | | |
277 | 287 | | |
278 | 288 | | |
279 | 289 | | |
280 | | - | |
| 290 | + | |
281 | 291 | | |
282 | 292 | | |
283 | 293 | | |
| |||
0 commit comments