CI / CI (push) Successful in 5m52s
## Summary
Rewrite all portfolio cards for 6-second HR scannability and add a dedicated Poimen Memory deep dive page.
## Changes
### Timeline Cards (all 6 rewritten)
- **Poimen (Ποιμήν)** — NEW card. Graph-RAG memory + Temporal workflow pillars
- **riotpiao.com** — 5 sections: Infrastructure, GitOps, Security, Observability, AI/ML
- **RBC** — State migration (500+ files, zero corruption), drift detection (3wk → <24hr), 3× velocity
- **AWS** — Distributed-Map ownership (57+ regions, sub-100ms P99), Redrive Execution launch
- **Titus** — 97.8% accuracy, 28% P99 improvement, 5× deployment speed
- **NAV Canada** — ATC weather briefing (ReactJS), Django, SonarQube
### Project Cards
- Reorder: **Poimen Orchestration → Memory → Homelab** → RBC → AWS
- Homelab: production-grade framing, "Explore the Architecture →"
- Poimen: etymology intro ("shepherd"), connected narrative across cards
- All cards use `dangerouslySetInnerHTML` for **bold** framework names
### Poimen Memory Page (`/poimen/memory`)
- Hero: "Teaching the Shepherd to Remember"
- 🏗️ Architecture diagram — Rust microservice, actix-web, Authentik JWT, pgvector
- 🔄 Dataflow diagram — episode → entity/fact extraction → temporal graph
- ⚡ Sequence diagram — async ingest lifecycle (202 accepted, background LLM pipeline)
- Three-tier retrieval cards: signature match (50ms), graph-boosted hybrid, Obsidian fallback
- Technology stack grid (Rust, pgvector, Ollama, TEI, Authentik, K8s)
### CI & Build Fixes
- API allowlist updated for `riotpiao-poimen/` org repos
- Commit SHA: `NEXT_PUBLIC_COMMIT_SHA` in Dockerfile + `--build-arg` in CI workflow
- ExperienceTimeline CI badges wired for Poimen + Homelab repos
## Files Changed
- `lib/translations.json` — all card content (EN + ZH)
- `app/page.tsx` — project order, deepDive links, ciRepos mapping
- `app/poimen/memory/page.tsx` — NEW deep dive page
- `components/ExperienceTimeline.tsx` — Poimen card, HTML rendering, CI badges
- `app/api/ci-status/route.ts` — allowlist for riotpiao-poimen org
- `Dockerfile` + `.gitea/workflows/build-push.yml` — SHA fix
- `public/poimen-memory/` — 3 archify diagrams (architecture, dataflow, sequence)
---------
Co-authored-by: poimen <[email protected]>
Reviewed-on: #14
68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
REGISTRY: forgejo.riotpiao.com
|
|
IMAGE: forgejo.riotpiao.com/rock/portfolio
|
|
DOCKER_HOST: tcp://localhost:2375
|
|
|
|
jobs:
|
|
ci:
|
|
name: CI
|
|
runs-on: node
|
|
steps:
|
|
- name: Install Docker and corepack
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y docker.io
|
|
corepack enable
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install pnpm via corepack
|
|
run: corepack install
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --ignore-scripts
|
|
|
|
- name: Run tests
|
|
run: pnpm test -- --run 2>&1 || echo "Tests completed"
|
|
|
|
- name: Build
|
|
run: pnpm run build
|
|
|
|
- name: Get short SHA
|
|
id: sha
|
|
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
|
|
|
- name: Registry login
|
|
run: |
|
|
echo "${REGISTRY_TOKEN}" | docker login "${REGISTRY}" \
|
|
--username "${REGISTRY_USER}" --password-stdin
|
|
env:
|
|
REGISTRY_USER: ${{ secrets.FORGEJO_REGISTRY_USER }}
|
|
REGISTRY_TOKEN: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
|
|
|
- name: Build Docker image
|
|
run: |
|
|
docker build --no-cache \
|
|
--build-arg COMMIT_SHA=${{ steps.sha.outputs.short_sha }} \
|
|
-t "${IMAGE}:${{ steps.sha.outputs.short_sha }}" \
|
|
-t "${IMAGE}:latest" .
|
|
|
|
- name: Push Docker image
|
|
run: |
|
|
docker push "${IMAGE}:${{ steps.sha.outputs.short_sha }}"
|
|
docker push "${IMAGE}:latest"
|
|
echo "✓ Pushed: ${IMAGE}:${{ steps.sha.outputs.short_sha }}"
|
|
|
|
- name: Prune unused images
|
|
run: docker image prune -a --force 2>&1 | tail -3 || true
|