Commit Graph
7 Commits
Author SHA1 Message Date
rock 43c8f7ff14 ci: fix Dockerfile for Rust + correct Forgejo runner labels
Build & Push Memory Image / build-push (push) Failing after 14s
Build and Push / Test (push) Failing after 5m22s
Build and Push / Build and push image (push) Skipped
Issues fixed:
- Dockerfile was Python/Uvicorn (wrong for Rust project)
  - Changed to multi-stage Rust build (rust:1.81 → debian:bookworm-slim)
  - Correct binary name: mem (not mem-cli)
  - Added proper health check with curl

- CI runner labels were incorrect (rust/golang → docker)
  - Changed test job to: runs-on: docker with rust:1.81-bookworm container
  - Changed build job to: runs-on: docker

- Docker build config was broken
  - Switched to standard actions (setup-buildx, login, build-push)
  - Added Cargo caching (registry, git, target)
  - Added format + clippy checks
  - Simplified login/build/push flow

Ready for CI/CD pipeline restart.
2026-09-05 14:07:11 -07:00
rock 84fee74f23 fix: use rust/golang runners (docker runner doesn't exist)
Available runners: rust, golang, node
Test job: runs-on rust with container rust:1-bookworm (modern glibc)
Build job: runs-on golang with container docker:27-cli (same as before)
2026-08-28 15:52:25 -07:00
rock fc84f72e21 fix: switch CI from rust runner to docker runner with rust:1-bookworm
Old 'rust' runner had stale glibc causing linker failures.
Now uses 'docker' runner (same as other repos) with explicit
rust:1-bookworm container image (modern glibc).
Added cargo cache step for faster builds.
2026-08-28 15:46:27 -07:00
Story Crater Bot 9f6502aec4 fix(ci): use git clone instead of actions/checkout (no node in rust image) 2026-08-23 17:35:45 -07:00
Story Crater Bot 80f20474b6 Standardize CI/CD: use homelab-frontend pattern (REGISTRY_PAT, docker:27-cli, all repos) 2026-08-23 16:05:18 -07:00
Story Crater Bot f459ae5a5d Simplify CI/CD: use Forgejo built-in token for registry push 2026-08-23 16:03:28 -07:00
Story Crater Bot eaed7fc42a Add K8s app deployment, Dockerfile, and CI workflow (Option A) 2026-08-23 00:01:30 -07:00