Adding sample update job.

This commit is contained in:
Renan DelValle 2020-05-07 16:31:32 -07:00
parent 2df6672acc
commit d06530d0ca
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -0,0 +1,28 @@
---
jobConfig:
environment: "prod"
role: "vagrant"
name: "hello_world"
cpu: 0.09
ram: 64
disk: 128
instances: 1
maxFailures: 1
thermos:
- name: "bootstrap"
cmd: "echo bootstrapping"
- name: "hello_gorealis"
cmd: "while true; do echo hello world from gorealis; sleep 10; done"
updateSettings:
maxPerInstanceFailures: 1
maxFailedInstances: 1
minTimeInRunning: 1m
rollbackOnFailure: true
instanceRanges:
- first: 1
last: 4
pulseTimeout: 1m
strategy:
batch:
groupSize: 2
autoPause: false