Update 'swagger.yaml'
Some checks reported errors
continuous-integration/drone/push Build was killed

add some debugging commands in there
This commit is contained in:
2023-02-10 16:13:37 +11:00
parent 8fbea6a20a
commit 3cdb2afdd8

View File

@@ -97,6 +97,18 @@ paths:
description: This is a secret value
x-direktiv:
cmds:
- action: exec
exec: ls -la
silent: false
print: true
- action: exec
exec: pwd
silent: false
print: true
- action: exec
exec: ls -la /tmp
silent: false
print: true
- action: exec
exec: /bin/json2excel -inputJson {{- if eq (deref .Infile) "" }} "/tmp/input.json" {{- else }} {{ .Infile }} {{- end }} input.json -worksheetName "{{ .WorksheetName }}" -outputFilename '{{ .OutFilename }}'
silent: false
@@ -105,7 +117,7 @@ paths:
exec: base64 -w 0 /tmp/{{ .OutFilename }}
output: |
{
"export-excel": {{ (index . 1).result | toJson }}
"export-excel": {{ (index . 4).result | toJson }}
}
x-direktiv-errors:
io.direktiv.command.error: Command execution failed