Files
osmedeus/test/testdata/workflows/test-inline-modules.yaml
T
j3ssie 1a8ab856fa feat: add empty_target preference and FlowName variable, optimize concurrent file sync
- Add empty_target preference to allow running workflows without explicit target
- Implement FlowName template variable for module context awareness
- Optimize cdnDelete, SyncUpload, SyncDownload with worker pool concurrency
- Load workflow preferences early for --empty-target CLI flag support
- Add unit tests for preferences and E2E tests for FlowName functionality
- Update linter to recognize ModuleName and FlowName as built-in variables
2026-01-28 18:47:45 +08:00

44 lines
1020 B
YAML

name: test-inline-modules
kind: flow
description: Simple test flow with inline modules (no path references)
params:
- name: target
required: true
modules:
- name: greet-module
description: Simple greeting module
inline_path: true
steps:
- name: greet
type: bash
command: echo "Hello, {{target}}!"
exports:
greeting: "{{StepOutput}}"
- name: info-module
description: Displays system info
inline_path: true
depends_on:
- greet-module
steps:
- name: show-info
type: bash
command: echo "Target is {{target}}, greeting was {{greeting}}"
- name: date-step
type: bash
command: date +%Y-%m-%d
exports:
current_date: "{{StepOutput}}"
- name: final-module
description: Final summary module
inline_path: true
depends_on:
- info-module
steps:
- name: summary
type: bash
command: echo "Flow completed on {{current_date}} for {{target}}"