Files

28 lines
1.5 KiB
YAML

# ══════════════════════════════════════════════════════════════════
# BREAKING CHANGE? BUMP THE MAJOR IN cue/cluster/cluster.cue
# ══════════════════════════════════════════════════════════════════
# Everything pinning `@v1` gets this the moment it publishes. A change
# a consumer cannot absorb needs a new major, or it breaks them.
# ══════════════════════════════════════════════════════════════════
name: deploy-platform
description: Render this cluster's own CUE configuration and apply it, one kapp application per namespace.
inputs:
timeout:
description: How long a workload has to become ready before the deploy fails.
required: false
default: 5m
runs:
using: docker
# By digest, pinned at bootstrap and moved by a reviewed commit. A tag here
# would let whoever can push to `ci` run code in every pipeline in the
# cluster, holding that pipeline's deploy credential.
image: docker://gitea.512.dev/ci/toolbox@sha256:88ed6a0562f98a35b02d0c13254d0b69b343675ac98709451d526a9c58782e40
entrypoint: /usr/local/lib/actions/deploy-platform.sh
env:
PLUGIN_TIMEOUT: ${{ inputs.timeout }}