23 lines
534 B
YAML
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
|