mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-22 15:42:27 +02:00
- 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
44 lines
1020 B
YAML
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}}"
|