2026-06-15 08:48:16 +02:00
---
id: RAILIANCE-WP-0007
type: workplan
2026-06-15 09:02:02 +02:00
title: "Deploy reuse-surface federation service on railiance01"
2026-06-22 23:16:27 +02:00
domain: financials
2026-06-15 08:48:16 +02:00
repo: railiance-apps
2026-06-15 10:15:36 +02:00
status: finished
2026-06-15 08:48:16 +02:00
owner: codex
topic_slug: railiance
created: "2026-06-15"
updated: "2026-06-15"
2026-06-15 16:03:21 +02:00
state_hub_workstream_id: "7da18dd8-76b9-4a70-b9d7-de541afc65c0"
2026-06-15 08:48:16 +02:00
---
2026-07-08 20:26:36 +02:00
> **Terminology note:** Historical text in this archived workplan may use the legacy term "workstream". The fleet term is **workplan** (`canon/standards/workplan-terminology-fleet_v0.1.md`).
2026-06-15 09:02:02 +02:00
# Deploy reuse-surface federation service on railiance01
2026-06-15 08:48:16 +02:00
Companion to ** `reuse-surface` REUSE-WP-0011**. Own the S5 Helm release,
2026-06-15 09:02:02 +02:00
ingress, and operator targets for the federation service on production cluster
2026-06-15 22:07:03 +02:00
node `railiance01` (`92.205.62.239` ).
2026-06-15 08:48:16 +02:00
## Goal
2026-06-15 09:02:02 +02:00
Expose the helix_forge federation API at ** `https://reuse.coulomb.social` ** so
repos can register capability index URLs via `reuse-surface hub` without
per-machine `sources.yaml` maintenance.
2026-06-15 08:48:16 +02:00
2026-06-15 09:02:02 +02:00
Gitea repo: `coulomb/reuse-surface`
OCI image: `gitea.coulomb.social/coulomb/reuse-surface:<tag>`
2026-06-15 08:48:16 +02:00
2026-06-15 09:45:17 +02:00
## DNS evidence
`reuse.coulomb.social` A → ** `92.205.62.239` ** (operator confirmed 2026-06-15).
Ingress host configured in `charts/reuse-surface/values.yaml` .
2026-06-15 08:48:16 +02:00
## Upstream dependency
| Upstream | Workplan | Required artifact |
|---|---|---|
2026-06-15 09:02:02 +02:00
| Service + image | `reuse-surface` REUSE-WP-0011 | Image `gitea.coulomb.social/coulomb/reuse-surface:<tag>` , `reuse-surface serve` , `/health` |
2026-06-15 08:48:16 +02:00
2026-06-15 09:02:02 +02:00
Do not deploy until REUSE-WP-0011-T04 publishes a buildable image.
2026-06-15 08:48:16 +02:00
## Placement
2026-06-15 09:02:02 +02:00
Follow the `inter-hub` pattern:
2026-06-15 08:48:16 +02:00
2026-06-15 09:02:02 +02:00
- `charts/reuse-surface/` — Helm chart (Deployment, Service, Ingress, PVC)
- `helm/reuse-surface-values.yaml` — non-secret overrides (image tag)
- Secret `reuse-surface-env` with `REUSE_SURFACE_TOKEN`
- `Makefile` targets: `reuse-dry-run` , `reuse-deploy` , `reuse-status` , `reuse-logs`
- Namespace: `reuse`
2026-06-15 08:48:16 +02:00
## Safety contract
2026-06-15 09:02:02 +02:00
- Do not commit decrypted SOPS values or `REUSE_SURFACE_TOKEN` .
- Pin image tags in `helm/reuse-surface-values.yaml` .
- PVC at `/data` for SQLite (`reuse.db` ) and fetch cache.
2026-06-15 08:48:16 +02:00
---
2026-06-15 09:02:02 +02:00
## Scaffold Helm Chart For reuse-surface
2026-06-15 08:48:16 +02:00
```task
id: RAILIANCE-WP-0007-T01
status: done
priority: high
2026-06-15 16:03:21 +02:00
state_hub_task_id: "d296f037-67a3-4b49-a773-6ebc2b252f3d"
2026-06-15 08:48:16 +02:00
```
2026-06-15 09:02:02 +02:00
Create `charts/reuse-surface/` with Deployment (`reuse-surface serve` ), Service,
PVC, Ingress, probes on `/health` .
2026-06-15 08:48:16 +02:00
2026-06-15 09:02:02 +02:00
## Add Values, Secret Template, And Makefile Targets
2026-06-15 08:48:16 +02:00
```task
id: RAILIANCE-WP-0007-T02
status: done
priority: high
2026-06-15 16:03:21 +02:00
state_hub_task_id: "5050e2fb-b60c-4519-9168-81a6073fb4a2"
2026-06-15 08:48:16 +02:00
```
2026-06-15 09:02:02 +02:00
Add `helm/reuse-surface-values.yaml` , document Secret `reuse-surface-env` , and
Makefile `reuse-*` targets.
2026-06-15 08:48:16 +02:00
2026-06-15 09:02:02 +02:00
## Configure Ingress For reuse.coulomb.social
2026-06-15 08:48:16 +02:00
```task
id: RAILIANCE-WP-0007-T03
2026-06-15 09:45:17 +02:00
status: done
2026-06-15 08:48:16 +02:00
priority: medium
2026-06-15 16:03:21 +02:00
state_hub_task_id: "80dc308a-02e8-453c-a20a-d6f634b7ce12"
2026-06-15 08:48:16 +02:00
```
2026-06-15 09:02:02 +02:00
Ingress enabled in chart values:
2026-06-15 08:48:16 +02:00
2026-06-15 09:02:02 +02:00
- `ingress.host: reuse.coulomb.social`
2026-06-15 08:48:16 +02:00
- `cert-manager.io/cluster-issuer: letsencrypt-prod`
2026-06-15 09:02:02 +02:00
- Traefik annotations matching `inter-hub`
2026-06-15 08:48:16 +02:00
2026-06-15 09:45:17 +02:00
DNS A record live: `reuse.coulomb.social → 92.205.62.239` .
2026-06-15 08:48:16 +02:00
## Deploy Release To railiance01
```task
id: RAILIANCE-WP-0007-T04
2026-06-15 10:15:36 +02:00
status: done
2026-06-15 08:48:16 +02:00
priority: medium
2026-06-15 16:03:21 +02:00
state_hub_task_id: "14049fd1-3319-4a76-8b48-c4228a7939f7"
2026-06-15 08:48:16 +02:00
```
2026-06-15 10:15:36 +02:00
Helm revision 3 (image `cb7a6e4` ). Pod Running; `/health` and `/v1/federated`
2026-06-15 22:07:03 +02:00
verified. TLS Ready after DNS A → `92.205.62.239` .
2026-06-15 08:48:16 +02:00
## Post-Deploy Verification And Runbook
```task
id: RAILIANCE-WP-0007-T05
2026-06-15 10:15:36 +02:00
status: done
2026-06-15 08:48:16 +02:00
priority: low
2026-06-15 16:03:21 +02:00
state_hub_task_id: "30b08789-4eb7-4182-87d1-8e464fc968d1"
2026-06-15 08:48:16 +02:00
```
2026-06-15 10:15:36 +02:00
Runbook `docs/reuse-surface-on-railiance01.md` updated with deploy evidence,
token retrieval, and TLS/DNS operator note. Smoke checks pass via ingress
2026-06-15 22:07:03 +02:00
and public TLS on DNS A → `92.205.62.239` .