Skip to content

Commit 690639e

Browse files
committed
ci(showcase): add showcase-ops to deploy matrix for GHCR auto-rebuild
showcase-ops was excluded from .github/workflows/showcase_deploy.yml, so commits touching showcase/ops/** never produced a fresh GHCR image. PR CopilotKit#4293 (Status tab + /api/probes route) merged to main on 2026-04-26 but no rebuild fired — the deployed Railway image is stale and /api/probes 404s in production. Adding showcase-ops as a first-class matrix entry: - dispatch_name: showcase-ops (workflow_dispatch option + filter_key) - paths-filter: showcase/ops/**, plus shared/scripts/manifests (showcase-ops's Dockerfile bundles all four into the runtime image via build-stage COPY + generate-registry.ts) - context: '.' (repo root) so the Dockerfile can COPY from pnpm-workspace.yaml + packages/ + showcase/{ops,shared,packages,scripts} - dockerfile: showcase/ops/Dockerfile - image: showcase-ops -> ghcr.io/copilotkit/showcase-ops:latest - railway_id: 3a14bfed-0537-4d71-897b-7c593dca161d - health_path: /health (matches Dockerfile HEALTHCHECK + Hono route) - timeout: 20 (heavier build than shells: pnpm deploy + chromium install via playwright --with-deps) - lfs: false (no Git LFS assets in showcase/ops) - linux/amd64 platform inherited from existing build step (Depot) Resulting matrix: 39 services (was 38). dispatch_name uniqueness + JSON validity verified locally; actionlint/yamllint surface only pre-existing findings on the workflow.
1 parent 6bddaa6 commit 690639e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/showcase_deploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ on:
5252
- shell-dojo
5353
- shell-dashboard
5454
- shell-docs
55+
- showcase-ops
5556

5657
concurrency:
5758
# Key on `event_name + ref` so push events and manual workflow_dispatch
@@ -176,6 +177,11 @@ jobs:
176177
- 'showcase/shared/**'
177178
- 'showcase/scripts/**'
178179
- 'showcase/packages/*/manifest.yaml'
180+
showcase_ops:
181+
- 'showcase/ops/**'
182+
- 'showcase/shared/**'
183+
- 'showcase/scripts/**'
184+
- 'showcase/packages/*/manifest.yaml'
179185
180186
- name: Build service matrix
181187
id: build-matrix
@@ -225,7 +231,8 @@ jobs:
225231
{"dispatch_name":"starter-strands","filter_key":"starter_strands","context":"showcase/starters/strands","image":"showcase-starter-strands","railway_id":"06db2bb8-e15d-4c6a-97ad-e14777c92d9f","timeout":15,"lfs":false,"build_args":"","dockerfile":"","health_path":"/api/health"},
226232
{"dispatch_name":"shell-dojo","filter_key":"shell_dojo","context":".","image":"showcase-shell-dojo","railway_id":"7ad1ece7-2228-49cd-8a78-bddf30322907","timeout":10,"lfs":false,"build_args":"","dockerfile":"showcase/shell-dojo/Dockerfile","health_path":"/"},
227233
{"dispatch_name":"shell-dashboard","filter_key":"shell_dashboard","context":".","image":"showcase-shell-dashboard","railway_id":"4d5dfd74-be61-40b2-8564-b53b7dd4c15b","timeout":10,"lfs":true,"build_args_sha":"${{ github.sha }}","build_args_branch":"${{ github.ref_name }}","build_args_pb_url":"https://showcase-pocketbase-production.up.railway.app","build_args_shell_url":"https://showcase.copilotkit.ai","dockerfile":"showcase/shell-dashboard/Dockerfile","health_path":"/"},
228-
{"dispatch_name":"shell-docs","filter_key":"shell_docs","context":".","image":"showcase-shell-docs","railway_id":"7badfb8d-4228-414c-9145-b4026803714f","timeout":10,"lfs":true,"build_args_sha":"${{ github.sha }}","build_args_branch":"${{ github.ref_name }}","dockerfile":"showcase/shell-docs/Dockerfile","health_path":"/"}
234+
{"dispatch_name":"shell-docs","filter_key":"shell_docs","context":".","image":"showcase-shell-docs","railway_id":"7badfb8d-4228-414c-9145-b4026803714f","timeout":10,"lfs":true,"build_args_sha":"${{ github.sha }}","build_args_branch":"${{ github.ref_name }}","dockerfile":"showcase/shell-docs/Dockerfile","health_path":"/"},
235+
{"dispatch_name":"showcase-ops","filter_key":"showcase_ops","context":".","image":"showcase-ops","railway_id":"3a14bfed-0537-4d71-897b-7c593dca161d","timeout":20,"lfs":false,"build_args":"","dockerfile":"showcase/ops/Dockerfile","health_path":"/health"}
229236
]'
230237
231238
DISPATCH="${{ github.event.inputs.service }}"

0 commit comments

Comments
 (0)