forked from aws-deadline/deadline-cloud-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.yaml
More file actions
30 lines (29 loc) · 804 Bytes
/
Copy pathtemplate.yaml
File metadata and controls
30 lines (29 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
specificationVersion: jobtemplate-2023-09
name: "Job Attachments Explorer: Output"
description: |
This bundle serves as the starting point for the exploration of how job attachments
collects output files that is contained in job_bundles/Using_Files_In_Jobs.md.
parameterDefinitions:
- name: ScriptFile
type: PATH
default: script.sh
dataFlow: IN
objectType: FILE
- name: OutputDir
type: PATH
objectType: DIRECTORY
dataFlow: OUT
default: ./output_dir
description: This directory the output for all steps.
steps:
- name: Step
hostRequirements:
attributes:
- name: attr.worker.os.family
anyOf:
- linux
script:
actions:
onRun:
command: /bin/bash
args: ['{{Param.ScriptFile}}', '{{Param.OutputDir}}', '{{Session.PathMappingRulesFile}}']