functionbuilder

This commit is contained in:
Nathan Coad
2023-02-10 15:15:53 +11:00
parent 7504ea61e8
commit 329f1e518c
27 changed files with 3343 additions and 0 deletions

22
tests/v1.0/karate.yaml Normal file
View 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