Skip to content

Instantly share code, notes, and snippets.

@tocttou
Created August 21, 2016 18:31
Show Gist options
  • Select an option

  • Save tocttou/2c49c15b35a6bd47caf8e2d508fe1351 to your computer and use it in GitHub Desktop.

Select an option

Save tocttou/2c49c15b35a6bd47caf8e2d508fe1351 to your computer and use it in GitHub Desktop.
---
job: JobName
nodes:
- local
- 188.166.246.108
service1:
payload:
- payload/file1.json
- payload/file2.txt
exec:
python2:
- payload/app.py
node:
- payload/app.js
environment:
MY_MESSAGE: This message is from an ENV var
prewebhook:
- http://helloworld
webhook:
- http://lol
timeoutwebhook:
- http://meh
trigger:
start: 5000
max_time: 7000
repeat: 10000
service2:
exec:
bash:
- echo Starting stress test
- /stress
trigger:
start: 5000
max_time: 90000
constraints:
cpu_cores: 0-7
cpu_quota: 400000
memory: 10240000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment