Update 'swagger.yaml'
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
add some debugging commands in there
This commit is contained in:
14
swagger.yaml
14
swagger.yaml
@@ -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
|
||||
|
Reference in New Issue
Block a user