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
26 lines
669 B
YAML
26 lines
669 B
YAML
name: test-empty-target
|
|
kind: module
|
|
description: Test workflow with empty_target preference enabled - should run without -t flag
|
|
|
|
# This workflow demonstrates empty_target preference
|
|
# Running: osmedeus run -m test-empty-target (no -t flag needed)
|
|
preferences:
|
|
empty_target: true # Equivalent to --empty-target
|
|
|
|
params:
|
|
- name: message
|
|
default: "Running without explicit target"
|
|
|
|
steps:
|
|
- name: show-generated-target
|
|
type: bash
|
|
command: 'echo "Generated target: {{Target}}"'
|
|
|
|
- name: echo-message
|
|
type: bash
|
|
command: 'echo "{{message}}"'
|
|
|
|
- name: complete
|
|
type: function
|
|
function: 'log_info("Empty target workflow completed")'
|