1a65fba420
Rename field 'agent_id' into 'agent' to stay similar to other references Change-Id: Iad9c6d189200fefcbff119fba0f778d18079114c
28 lines
468 B
YAML
28 lines
468 B
YAML
title: Static Agents
|
|
|
|
description:
|
|
This scenario runs tests on pre-deployed static agents
|
|
|
|
deployment:
|
|
agents:
|
|
-
|
|
id: the-agent
|
|
mode: alone
|
|
|
|
execution:
|
|
tests:
|
|
-
|
|
title: List all files
|
|
class: shell
|
|
program: ls -al
|
|
sla:
|
|
- "[type == 'agent'] >> (stderr == '')"
|
|
-
|
|
title: Run sample script
|
|
class: shell
|
|
script: |
|
|
#!/bin/bash
|
|
echo "hello world"
|
|
sla:
|
|
- "[type == 'agent'] >> (stdout & '.*hello world.*')"
|