mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
feat(ci): single-node SPOT + priority deploy line
test-deploy-single-node.yml bundles the compose and host deploy tests behind one reusable workflow; the orchestrator gains a priority input that deploys focus roles first per mode and runs the remaining roles only after every priority job succeeded, excluded via the new INFINITO_BLACKLIST discovery filter in apps.sh. entry-manual exposes the priority field and treats priority-only dispatches as roles-only. Workflow dependency diagram added under .github/workflows/README.md. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
20c0db6c54
commit
e32df7f24e
11 files changed
+287
-26
No files matched your search
@@ -0,0 +1,54 @@
|
||||
name: "🏝️ Test: Deploy (single-node)"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
distros:
|
||||
description: "Space-separated distro list"
|
||||
required: true
|
||||
type: string
|
||||
whitelist:
|
||||
description: "Optional space-separated whitelist of app ids"
|
||||
required: false
|
||||
type: string
|
||||
default: ""
|
||||
lifecycles:
|
||||
description: "Lifecycle envelope for discovery (comma/space-separated). Empty: default (alpha beta rc stable)."
|
||||
required: false
|
||||
type: string
|
||||
default: ""
|
||||
modes:
|
||||
description: "Single-node deploy modes to run (space-separated subset of 'compose host')."
|
||||
required: false
|
||||
type: string
|
||||
default: "compose host"
|
||||
blacklist:
|
||||
description: "Optional space-separated app ids to drop from discovery"
|
||||
required: false
|
||||
type: string
|
||||
default: ""
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
|
||||
jobs:
|
||||
compose:
|
||||
name: 📦 Compose
|
||||
if: ${{ contains(inputs.modes, 'compose') }}
|
||||
uses: ./.github/workflows/test-deploy-compose.yml
|
||||
with:
|
||||
distros: ${{ inputs.distros }}
|
||||
whitelist: ${{ inputs.whitelist }}
|
||||
lifecycles: ${{ inputs.lifecycles }}
|
||||
blacklist: ${{ inputs.blacklist }}
|
||||
|
||||
host:
|
||||
name: 🖥️ Host
|
||||
if: ${{ contains(inputs.modes, 'host') }}
|
||||
uses: ./.github/workflows/test-deploy-host.yml
|
||||
with:
|
||||
distros: ${{ inputs.distros }}
|
||||
whitelist: ${{ inputs.whitelist }}
|
||||
lifecycles: ${{ inputs.lifecycles }}
|
||||
blacklist: ${{ inputs.blacklist }}
|
||||
Reference in new issue
Block a user