Commit Graph

3 Commits

Author SHA1 Message Date
Chris Farhood 69b0ba3bcb fix(e2e): restore Build plugin step indentation
The RBAC step removal accidentally moved Build plugin to root level.
Fixes YAML parse error that would prevent E2E workflow from running.
2026-05-05 00:56:31 +00:00
Chris Farhood 587aef820f fix(e2e): remove kubectl apply RBAC step
The RBAC manifest must be pre-applied via Flux (infra repo) by a
privileged actor before the first workflow run. The Arc Runners
service account cannot self-apply RBAC — it has no permissions to
retrieve the Role to patch it.

Fixes PRI-594.
2026-05-05 00:44:03 +00:00
Hugh Hackman 0c7e096231 ci: add E2E workflow for Playwright smoke tests
Adds `.github/workflows/e2e.yaml` to run Playwright E2E smoke tests
against a deployed Headlamp instance in `privilegedescalation-dev`.

Follows the headlamp-polaris-plugin pattern:
- Builds the plugin, deploys via scripts/deploy-e2e-headlamp.sh
- Runs tests with `npm run e2e` (intel-gpu uses npm, not pnpm)
- Uploads Playwright report and test results on failure
- Cleans up via scripts/teardown-e2e-headlamp.sh (if: always())
- Concurrency group prevents concurrent runs sharing E2E resources
- Uses runs-on: runners-privilegedescalation (self-hosted ARC)

Depends on Gandalf's E2E test implementation in PR #25.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-24 23:05:32 +00:00