Skip to content
Snippets Groups Projects
Commit d9490c28 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

add text to file task

parent bc15e3b5
No related branches found
No related tags found
No related merge requests found
......@@ -158,6 +158,28 @@ task StringArrayMd5 {
}
}
task TextToFile {
input {
String text
String outputFile = "out.txt"
String dockerImage = "debian@sha256:f05c05a218b7a4a5fe979045b1c8e2a9ec3524e5611ebfdd0ef5b8040f9008fa"
}
command <<<
echo $'~{text}' > ~{outputFile}
>>>
output {
File out = outputFile
}
runtime {
memory: "1G"
docker: dockerImage
}
}
task YamlToJson {
input {
File yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment