Files
poimen-workflows/k8s/orchestrator-job.yaml
T
Test 002fe98e17
ci / test (push) Failing after 5s
feat(workflows): wire TaskUnit/Orchestrator activities, add k8s deploy manifests
Implements real activity-calling logic in OrchestratorWorkflow and
TaskUnitWorkflow (previously stubs), adds GitDiffActivity, and expands
PlanningActivity's I/O to carry repo path and prior task results.

Adds k8s/ deployment manifests (worker Deployment, orchestrator Job,
Kustomize base) for the poimen-workflows Temporal worker, using a
dedicated Kubernetes namespace `poimen` and Temporal namespace
`poimen-harness` rather than sharing the Temporal server's own
`temporal`/`production` namespaces.
2026-08-21 21:57:01 -07:00

55 lines
1.5 KiB
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: poimen-orchestrator
namespace: poimen
spec:
backoffLimit: 3
template:
metadata:
labels:
app: poimen-orchestrator
spec:
restartPolicy: Never
containers:
- name: orchestrator
image: golang:1.22-alpine
workingDir: /app
command: ["/bin/sh", "-c"]
args:
- |
apk add --no-cache git gcc musl-dev
git clone https://forgejo.riotpiao.com/rock/poimen.git /app
cd /app/workflows
go mod download
go run ./cmd/starter \
--repo https://forgejo.riotpiao.com/rock/poimen \
--remote file:///tmp/poimen-output \
--milestone T0 \
--planner-model ornith \
--judge-model ornith \
--implementer-model claude-sonnet-5
env:
- name: TEMPORAL_NAMESPACE
valueFrom:
configMapKeyRef:
name: poimen-config
key: TEMPORAL_NAMESPACE
- name: TEMPORAL_HOSTPORT
valueFrom:
configMapKeyRef:
name: poimen-config
key: TEMPORAL_HOSTPORT
- name: ANTHROPIC_API_KEY
valueFrom:
secretKeyRef:
name: poimen-secrets
key: ANTHROPIC_API_KEY
resources:
requests:
memory: "512Mi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "2000m"