Skip to content

feat: add docs workload to e2e pipeline#3

Open
fullzer4 wants to merge 11 commits into
mainfrom
fix/e2e-docs-workload
Open

feat: add docs workload to e2e pipeline#3
fullzer4 wants to merge 11 commits into
mainfrom
fix/e2e-docs-workload

Conversation

@fullzer4

Copy link
Copy Markdown
Owner
  • Add image-niphas-docs to all-images in nix/images.nix
  • Add Helm templates for docs Deployment + Service (gated by docs.enabled)
  • Load docs image into Kind cluster in CI
  • Deploy docs with --set docs.enabled=true in e2e
  • Verify docs site returns HTTP 200 before running e2e tests
  • Add docs logs to debug output on failure

- Add image-niphas-docs to all-images in nix/images.nix
- Add Helm templates for docs Deployment + Service (gated by docs.enabled)
- Load docs image into Kind cluster in CI
- Deploy docs with --set docs.enabled=true in e2e
- Verify docs site returns HTTP 200 before running e2e tests
- Add docs logs to debug output on failure
@fullzer4 fullzer4 self-assigned this Jun 17, 2026
fullzer4 added 10 commits June 17, 2026 08:29
…xpkgs#hello workload

- Fix operator not passing storePath in CSI volumeAttributes
- Fix CSI mounting single store path instead of entire cache dir
- Replace mock-eval with real eval in CI
- Use nixpkgs#hello as docs workload (available on cache.nixos.org)
- Add full pipeline e2e test: eval → CSI fetch → pod Running
- Increase CI timeouts for real eval (180s)
- Replace Nix-based workflow with standard Rust tooling
- Add Dockerfiles for all images (operator, eval, csi, runner)
- Use dtolnay/rust-toolchain + Swatinem/rust-cache for faster builds
- Direct cargo commands instead of nix build
- Expected speedup: ~21min → ~8-10min (55% improvement)

Benefits:
- Leverages GitHub Actions' native Cargo caching
- Eliminates Nix overhead (~90-120s per run)
- Avoids magic-nix-cache 10GB limit
- Simpler, more maintainable workflow
The project uses edition = "2024" which requires Rust 1.85+.
Previous Dockerfiles and CI used Rust 1.83 causing build failures.

Changes:
- Dockerfiles: rust:1.83 → rust:1.85
- CI workflow: @stable → @1.85
Dependencies require Rust 1.88:
- kube@3.1.0 requires rustc 1.88.0
- darling_macro@0.23.0 requires rustc 1.88.0
- time@0.3.47 requires rustc 1.88.0

Changes:
- Dockerfiles: 1.85 → 1.88
- CI workflow: @1.85 → @1.88
- Cargo.toml: rust-version 1.85 → 1.88
Clippy error:
  error: this `if` statement can be collapsed
     --> crates/niphas-core/src/nix/nar.rs:232:13

Changed from nested if to combined condition with &&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant