You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unify /ok-to-test as single trigger for all E2E suites (#898)
* Unify /ok-to-test as single trigger for all E2E suites
Replace /trigger-e2e-full, /test-e2e-full, and /test-full with /ok-to-test
in ci-pr-checks.yaml so maintainers use one command to trigger both the
full Kind E2E and OpenShift E2E workflows. /retest remains as an
OpenShift-only re-run command.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Address review comments: fix permission wording and clarify concurrency
- Docs: change "Maintainers/admins only" to "Users with write access"
to match the actual workflow permission check (admin/maintain/write)
- Clarify concurrency header comment to note workflow_dispatch falls
back to run_id since no PR number is available
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Lionel Villard <villard@us.ibm.com>
---------
Signed-off-by: Lionel Villard <villard@us.ibm.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
You can trigger specific e2e runs by commenting on a PR:
265
+
You can trigger E2E runs by commenting on a PR:
266
266
267
267
| Comment | Workflow | Who can use | Effect |
268
268
|--------|----------|-------------|--------|
269
-
|**`/trigger-e2e-full`**|`ci-pr-checks.yaml`| Anyone with PR access | Runs the **full** e2e suite on Kind (instead of smoke only). Aliases: `/test-e2e-full`, `/test-full`. |
270
-
|**`/ok-to-test`**|`ci-e2e-openshift.yaml`| Maintainers/admins only |**OpenShift E2E:** Approve and trigger the OpenShift E2E (GPU) run on this PR. Use on fork PRs (required before E2E can run) or to start E2E on demand. |
271
-
|**`/retest`**|`ci-e2e-openshift.yaml`| Maintainers/admins only |**OpenShift E2E:** Re-run the OpenShift E2E workflow (e.g. after a failure, flake, or new commits). Same workflow as `/ok-to-test`, different trigger intent. |
272
-
273
-
Both `/ok-to-test` and `/retest` trigger the **same** OpenShift E2E workflow; the first is “approve and run,” the second is “run again.”
269
+
|**`/ok-to-test`**|`ci-pr-checks.yaml` + `ci-e2e-openshift.yaml`| Users with write access | Runs the **full** Kind E2E suite **and** the OpenShift E2E (GPU) run on this PR. On fork PRs, this is required before OpenShift E2E can run. |
270
+
|**`/retest`**|`ci-e2e-openshift.yaml`| Users with write access |**OpenShift E2E only:** Re-run the OpenShift E2E workflow (e.g. after a failure, flake, or new commits). Same workflow as `/ok-to-test`, different trigger intent. |
274
271
275
272
**When to use:**
276
273
277
-
-**Full e2e on Kind**: Comment `/trigger-e2e-full` when you want the full e2e suite to run on your PR (e.g. after making scaling or saturation changes). By default, PRs only run smoke e2e.
278
-
-**Fork PRs (OpenShift E2E)**: If you opened a PR from a fork, OpenShift E2E will not run until a maintainer or admin comments **`/ok-to-test`** (approve and run OpenShift E2E). Use **`/retest`** to re-run OpenShift E2E (e.g. after failure or new commits). Branch protection should require the **e2e-openshift** status check so merge stays blocked until that run passes (the gate check is intentionally green on fork PRs to avoid a false failure that cannot be updated from upstream).
274
+
-**`/ok-to-test`**: Comment this when you want the full E2E suite to run on your PR. It triggers both the full Kind E2E (instead of smoke only) and the OpenShift E2E. By default, PRs only run smoke E2E on Kind.
275
+
-**`/retest`**: Use to re-run only the OpenShift E2E workflow (e.g. after a failure or new commits).
276
+
-**Fork PRs**: If you opened a PR from a fork, OpenShift E2E will not run until a maintainer or admin comments **`/ok-to-test`**. Branch protection should require the **e2e-openshift** status check so merge stays blocked until that run passes (the gate check is intentionally green on fork PRs to avoid a false failure that cannot be updated from upstream).
0 commit comments