Files
agent-runtime-framework/task-templates/workflow/frozen-fixture-emit@1.yaml

28 lines
737 B
YAML

name: frozen-fixture-emit
version: 1
description: Emit frozen test fixtures for test-needed items
runtime: script
input:
state: scoped-tagged
tags_required: [test-needed]
required_artifacts: [impl_skeleton]
output:
state: test-skeleton-ready
scope_budget:
files_modified_max: 2
lines_diff_max: 200
wall_clock_seconds_max: 600
nodes:
- id: frozen-fixture-emit
kind: script
cmd: scripts/workflow/frozen-fixture-emit
on_fail: refuse_dispatch
- id: state-tx
kind: script
cmd: scripts/workflow/state-tx
on_fail: continue
runtime_env:
CP_URL: "http://controlplane.agent-runtimes.svc.cluster.local:8100"
STATE_TX_NEW_STATE: test-skeleton-ready
STATE_TX_FROM_STATES: scoped-tagged