From d06530d0ca7b54c4a1fdc9623349d82270b7a917 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Thu, 7 May 2020 16:31:32 -0700 Subject: [PATCH] Adding sample update job. --- test/update_hello_world.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 test/update_hello_world.yaml diff --git a/test/update_hello_world.yaml b/test/update_hello_world.yaml new file mode 100644 index 0000000..4caae2d --- /dev/null +++ b/test/update_hello_world.yaml @@ -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 \ No newline at end of file