Files
KArtSell.Aegis/docs/Design/kbx-foundation-v52-fe-operational-navigation-screen-anatomy/.gitea/workflows/kbx-release-readiness.yaml
T
kjh2064 c41e5063b7 chore: remove kbx-foundation-v36 reference (superseded by v4 implementation)
Removed entire kbx-foundation-v36 directory as it's been replaced by
the new KBX Foundation v4 patterns implemented in this session:
- Registry-driven screen definitions
- Density-aware UI adapter components
- Feature module templates (ShadowRun, Models)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-12 01:39:58 +09:00

39 lines
1.7 KiB
YAML

name: KBX Release Readiness
on:
workflow_dispatch:
inputs:
environment:
description: Target environment (Staging or Production)
required: true
default: Staging
jobs:
release-readiness:
runs-on: ubuntu-latest
steps:
- name: Checkout immutable candidate
uses: actions/checkout@v4
- name: Validate KBX contracts and configuration governance
run: node scripts/validate-kbx.mjs
- name: Verify generated configuration/deployment artifacts
run: git diff --exit-code -- generated/configuration-manifest.json packages/kbx-contracts/src/generated/configurationCatalog.ts backend/Shared/Configuration/Generated/KbxConfigurationCatalog.g.cs deploy/kbx/
- name: Build/test when host repository is available
shell: bash
run: |
shopt -s nullglob
solutions=( *.sln *.slnx )
if [ ${#solutions[@]} -gt 0 ]; then
dotnet restore "${solutions[0]}"
dotnet build "${solutions[0]}" --no-restore -c Release
dotnet test "${solutions[0]}" --no-build -c Release
else
echo "Starter: host build is deferred."
fi
- name: Configuration validation gate
run: echo "Host must bind target-environment secrets/config and call KbxConfigurationStartupValidator.ValidateOrThrow before promotion."
- name: Database migration dry-run gate
run: echo "Host must execute DbUp validation/dry-run against an environment-equivalent database before applying migrations."
- name: Migration application policy
run: echo "Production migrations are pre-deploy; application startup schema mutation is forbidden."