feat(ci): consolidate PR checks and add /e2e command runner#1994
Open
abhijith-darshan wants to merge 11 commits into
Open
feat(ci): consolidate PR checks and add /e2e command runner#1994abhijith-darshan wants to merge 11 commits into
abhijith-darshan wants to merge 11 commits into
Conversation
Refines test workflows for renovate automerge by collapsing the
fragmented PR pipeline into three required jobs (lint, test, build)
and gating e2e behind explicit `/e2e` PR comments.
- ci-pr.yaml: single PR workflow with paths-filter-driven lint-go,
lint-generated, lint-charts, lint-license, lint-reuse, test, build;
checksOK aggregator treats success+skipped as pass for stable
required-status semantics.
- ci-e2e-info.yaml: posts a per-PR info comment listing relevant
suites with `/e2e <suite>` examples; auto-comments `/e2e all` on
renovate PRs so the automerge chain runs unattended.
- ci-e2e-runner.yaml: issue_comment-triggered matrix runner; supports
`/e2e all`, `/e2e skip`, and explicit suite lists; posts per-suite
and aggregate `e2eOK` commit statuses on the PR head SHA.
- paths-filters-{ci,e2e}.yaml: split path rules into editable config
files so suite scoping changes don't require workflow edits.
- ci-e2e-test-nightly.yaml: bump admin cluster to v1.34.3.
- Drop superseded workflows: ci-e2e-test, unit-tests, pr-docker-build,
helm-lint, kustomize-lint, check-changes-crd-api, license, ci-reuse.
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
- ci-e2e-info.yaml: auto-comment `/e2e skip` when paths-filter detects no relevant suites; auto-comment `/e2e all` (or `/e2e skip`) on renovate PRs so the automerge chain runs without human input - info comment: drop the "no matches" branch (handled by auto-skip), drop hardcoded suite list, flatten nested <details> into a single collapsible with copyable `/e2e <suite>` blocks per matched suite Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
3a10a8f to
a9e1b82
Compare
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
…comment - ci-pr.yaml: lint-license now grants contents:write at job level so the called shared workflow's apply-license-header job (gated by apply_header=false at runtime) passes static permission validation - ci-e2e-info.yaml: flatten the info comment into a header line, one collapsible per matched suite, and a single worked example; drop the redundant nested details block Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
- ci-e2e-info.yaml: rename the github-script step to "E2E Info" so the Actions UI surfaces something meaningful - delete any previous bot info comment and always create a fresh one, so the comment can't get buried in long review threads (it'll show up at the bottom on every push) Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Collapse detected suites into a single expandable block and tag ci-pr.yaml as CC0-1.0 so the unused-license check passes. Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Render the detected suites inside the collapsible as a code block of /e2e <suite> lines so they can be copied directly into a comment. Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Contributor
Author
|
/e2e plugin |
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Contributor
Author
|
/e2e plugin |
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Contributor
Author
|
/e2e plugin |
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
E2E InfoDetected E2E SuitesComment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
What type of PR is this? (check all applicable)
Related Tickets & Documents
Closes #1771
Added tests?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?
Checklist