mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-22 23:52:25 +02:00
28 lines
693 B
YAML
28 lines
693 B
YAML
kind: module
|
|
name: nested-module-1
|
|
description: First nested module for testing param and target sharing
|
|
|
|
params:
|
|
- name: paramFromFlowFile
|
|
default: "not-set"
|
|
|
|
- name: anotherParam1
|
|
default: "{{Output}}/another1-{{TargetSpace}}.txt"
|
|
|
|
|
|
steps:
|
|
- name: echo-target-and-param
|
|
type: bash
|
|
command: |
|
|
echo "Module 1: Target={{Target}}" >> {{anotherParam1}}
|
|
echo "Module 1: paramFromFlowFile={{paramFromFlowFile}}" >> {{anotherParam1}}
|
|
exports:
|
|
module1_completed: "true"
|
|
|
|
- name: echo-target-and-param
|
|
type: bash
|
|
command: |
|
|
echo "Module 1: Target={{Target}}" >> {{anotherParam1}}
|
|
exports:
|
|
module1_with_target: "module1-{{Target}}"
|