ci(e2e): add label dispatcher and contributor CI docs#975
Draft
ci(e2e): add label dispatcher and contributor CI docs#975
Conversation
Add `E2E Label Dispatch` workflow that triggers `branch-e2e.yml` / `test-gpu.yml` against the copy-pr-bot mirror when a `test:e2e*` label is applied. Posts a PR comment when the mirror is missing or stale so the maintainer knows the next step. Move CI/test-flow docs out of CONTRIBUTING.md into a new CI.md covering copy-pr-bot, the two label-driven flows (internal, forked), and SSH-key commit-signing setup. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
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.
Summary
E2E Label Dispatchworkflow that triggersbranch-e2e.yml/test-gpu.ymlagainst the copy-pr-bot mirror branch when atest:e2e*label is applied. Closes the gap where labels applied after copy-pr-bot mirrors a PR leave theE2E Gatecheck stuck red until someone manually re-runs the workflow./ok to test <SHA>they need to run.CI.mdcovering copy-pr-bot, thetest:e2e/test:e2e-gpuflows for internal vs forked PRs, and SSH-key commit-signing setup.Related Issue
Follow-up to #938 (E2E Gate re-run dance). Resolves the second of two known rough edges captured in
architecture/plans/e2e-copy-pr-bot-flow-summary.md.Changes
.github/workflows/e2e-label-dispatch.yml(new) - listens onpull_request_target: [labeled]. Workflow-levelpermissions: {}; the single dispatch job grantsactions: writeandpull-requests: write. The job never checks out PR code; it only calls the GitHub API. Thepull_request_targettrigger is used so that labels on forked PRs still get a token capable of dispatching workflows and posting comments.CI.md(new) - contributor-facing docs: copy-pr-bot model, two label-driven flows (internal, forked), SSH-key commit-signing setup pointing at https://github.com/settings/keys, workflow file table.CONTRIBUTING.md- DCO section gets a one-line pointer to CI.md; new top-level## CIsection also points to CI.md.Testing
test:e2eto a PR whosepull-request/<N>mirror is fresh - dispatcher runsbranch-e2e.ymland posts a confirmation comment.test:e2e-gputo the same PR - dispatcher runstest-gpu.yml.test:e2eimmediately after pushing a new commit (mirror temporarily stale) - dispatcher posts the "stale mirror" comment with the correct/ok to test <SHA>line.test:e2eto a PR that has not yet been mirrored - dispatcher posts the "no mirror yet" comment.iffilter skips it).Checklist