Files
computer-playbook/.github/workflows/entry-manual.yml
T
kevinveenbirkenbachandClaude Opus 4.8 e0559a10d8 feat(ci): configurable lifecycle envelope + mode selection
Lifecycle envelope for test-deploy discovery is now driven by
INFINITO_LIFECYCLES (default: alpha beta rc stable) instead of a
hardcoded constant. apps.sh forwards it to the complexity CLI via a
new --lifecycles flag (comma- or whitespace-separated); the model
falls back to the built-in default when unset.

Manual CI (entry-manual) gains two override fields: 'lifecycles' to
override the envelope per run, and 'modes' (default 'swarm compose')
to pick which deploy jobs run. ci-orchestrator gates test-deploy-compose
and test-deploy-swarm on the selected modes and threads lifecycles into
both. The new key is registered in the passthrough handler so it lands
in the generated .env.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 01:11:20 +02:00

49 lines
1.6 KiB
YAML

name: "⚡ CI: Manual"
run-name: "Manual CI triggered: ${{ inputs.distros }}; ${{ inputs.whitelist != '' && inputs.whitelist || 'diff-derived (origin/main)' }}"
concurrency:
group: global-ci-${{ github.repository }}-${{ github.ref_name }}
cancel-in-progress: true
on:
workflow_dispatch:
inputs:
distros:
description: "Space-separated distro list (overrides default). Example: 'arch debian'"
required: false
default: "debian"
type: string
whitelist:
description: "Empty: diff vs origin/main. '__ALL__': force full deploy. Else: explicit space-separated app ids."
required: false
default: ""
type: string
lifecycles:
description: "Lifecycle envelope for test-deploy discovery (comma/space-separated). Empty: default (alpha beta rc stable)."
required: false
default: ""
type: string
modes:
description: "Deploy modes to test (space-separated: 'swarm compose'). Only the listed modes run their deploy job."
required: false
default: "swarm compose"
type: string
permissions:
contents: read
packages: write
security-events: write
actions: write
jobs:
ci-orchestrator:
name: 🎛️ Orchestrate CI (manual)
uses: ./.github/workflows/ci-orchestrator.yml
with:
distros: ${{ inputs.distros }}
whitelist: ${{ inputs.whitelist }}
lifecycles: ${{ inputs.lifecycles }}
modes: ${{ inputs.modes }}
roles_only: ${{ (inputs.whitelist != '' && inputs.whitelist != '__ALL__') && 'true' || 'false' }}
secrets: inherit