gustav/pipeline.yaml
2024-09-08 01:40:03 +03:00

31 lines
745 B
YAML

name: "Test"
description: "Test pipeline"
steps:
step1:
prepare:
type: "http_call"
expected_codes: [200]
save_into: "prepare_step1_result"
global_save_into: "global_variable"
call:
target: "http://127.0.0.1:8080/login"
headers:
secret: "xxx"
logon-with: "password"
method: "POST"
body: |-
{
"login":"admin",
"password":"password"
}
repeat: 1000
shells:
shell1:
type: "http_call"
call:
target: "http://127.0.0.1:8080/main"
headers:
secret: "xxx"
token: "${REGISTRY}.token" ## Accessing prepare result from registry
method: "GET"