Files
export-xlsx/tests/v1.0/karate.yaml
2023-02-10 15:15:53 +11:00

23 lines
534 B
YAML

url: ""
functions:
- type: knative-workflow
id: karate
image: gcr.io/direktiv/functions/karate:1.0
states:
- id: run-test
type: action
action:
function: karate
input:
commands:
- command: java -DtestURL=jq(.host) -Dexport-xlsxSecret=jq(.secrets.export-xlsxSecret)
-jar /karate.jar test.feature
print: false
- command: cat target/karate-reports/karate-summary-json.txt
logging: info
secrets:
- export-xlsxSecret
files:
- key: test.feature
scope: workflow