functionbuilder
This commit is contained in:
22
tests/v1.0/karate.yaml
Normal file
22
tests/v1.0/karate.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
Reference in New Issue
Block a user