Commit babc125
authored
ci: skip Konflux builds and e2e for docs-only PRs (#634)
## Summary
- Add CEL path filter to `.tekton/` PipelineRun definitions so that PRs
touching only `docs/**` or `**/*.md` files skip the Konflux multi-arch
container builds and downstream e2e integration tests
- Document the full CI landscape (Konflux pipelines, integration tests,
GitHub Actions) in CONTRIBUTING.md
## Motivation
Previously, a docs-only PR triggered 8 container image builds (2
components x 4 architectures) and an e2e test suite that provisions an
ephemeral OpenShift cluster on AWS. None of these are meaningful for
documentation changes.
## Changes
- `.tekton/odh-maas-api-pull-request.yaml` — added `!files.all.all(x,
x.matches('^docs/') || x.matches('\.md$'))` to the CEL expression
- `.tekton/odh-maas-controller-pull-request.yaml` — same CEL filter
- `CONTRIBUTING.md` — added Konflux/Tekton pipelines section,
integration tests documentation, GitHub Actions summary table, and
docs-only skip explanation
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Adjusted PR pipeline triggers to skip Konflux/Tekton runs for
docs-only changes, reducing unnecessary CI executions.
* **Documentation**
* Revised contributing guide to describe the two-system CI model (GitHub
Actions and Konflux/Tekton), responsibilities, multi-architecture image
builds, PR vs main trigger behavior, and Konflux-driven integration
smoke tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent de748ab commit babc125
File tree
3 files changed
+30
-3
lines changed- .tekton
3 files changed
+30
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
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 | + | |
68 | 95 | | |
69 | 96 | | |
70 | 97 | | |
| |||
0 commit comments