Fix scaffold to match SERVICE_ONBOARDING.md conventions #3

Closed
opened 2026-02-23 17:21:12 +00:00 by forgejo_admin · 1 comment

Context

PR #2 (scaffold) passed a 4-round review but diverges from SERVICE_ONBOARDING.md in multiple ways. basketball-api should be a reference implementation of the platform, not a deviation.

Deviations to Fix

.woodpecker.yaml

  1. Uses docker:27 instead of woodpeckerci/plugin-kaniko:2.3.0
  2. Uses ${CI_COMMIT_SHA:0:7} (7-char) instead of $CI_COMMIT_SHA (full SHA)
  3. Path exclude uses k8s/.argocd-source-* needs to be full path pattern
  4. Missing pytest test step

k8s manifests

  1. Missing namespace: basketball-api on all resources
  2. Missing resource requests/limits (10m/32Mi req, 64Mi limit)
  3. Service missing port: 8000, targetPort: 8000, name: http
  4. Missing servicemonitor.yaml
  5. kustomization.yaml missing servicemonitor resource

Application

  1. Missing /metrics endpoint stub (Prometheus scraping)
  2. Port should be 8000 everywhere (container, Service, tfvars)
  • Part of Plan: 2026-02-23-systematize-planning-basketball-api-deployment
  • pal-e-services issue #24 (GitHub): platform improvements
  • PROJ-17 Basketball Program SaaS (Notion)
## Context PR #2 (scaffold) passed a 4-round review but diverges from SERVICE_ONBOARDING.md in multiple ways. basketball-api should be a reference implementation of the platform, not a deviation. ## Deviations to Fix ### .woodpecker.yaml 1. Uses `docker:27` instead of `woodpeckerci/plugin-kaniko:2.3.0` 2. Uses `${CI_COMMIT_SHA:0:7}` (7-char) instead of `$CI_COMMIT_SHA` (full SHA) 3. Path exclude uses `k8s/.argocd-source-*` needs to be full path pattern 4. Missing `pytest` test step ### k8s manifests 5. Missing `namespace: basketball-api` on all resources 6. Missing resource requests/limits (10m/32Mi req, 64Mi limit) 7. Service missing `port: 8000, targetPort: 8000, name: http` 8. Missing `servicemonitor.yaml` 9. `kustomization.yaml` missing servicemonitor resource ### Application 10. Missing `/metrics` endpoint stub (Prometheus scraping) 11. Port should be 8000 everywhere (container, Service, tfvars) ## Related - Part of Plan: 2026-02-23-systematize-planning-basketball-api-deployment - pal-e-services issue #24 (GitHub): platform improvements - PROJ-17 Basketball Program SaaS (Notion)
Author
Owner

Closing — app is deployed and running in production. Scaffold divergences from SERVICE_ONBOARDING.md are not blocking and not worth retrofitting at this point. Future repos should use the onboarding SOP from the start.

Closing — app is deployed and running in production. Scaffold divergences from SERVICE_ONBOARDING.md are not blocking and not worth retrofitting at this point. Future repos should use the onboarding SOP from the start.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/basketball-api#3
No description provided.