Skip to content

Commit bfc07b9

Browse files
author
ffffwh
committed
use nomad 1.5.5 (customized)
see misc/nomad.patch
1 parent 0e55402 commit bfc07b9

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ package-common: driver
5454

5555
package: package-common
5656
mkdir -p dist/install/usr/bin
57-
curl -o dist/nomad.zip "ftp://${RELEASE_FTPD_HOST}/binary/nomad_1.1.2_linux_amd64.zip"
57+
curl -o dist/nomad.zip "ftp://${RELEASE_FTPD_HOST}/binary/nomad_1.5.5_linux_amd64.zip"
5858
curl -o dist/consul.zip "ftp://${RELEASE_FTPD_HOST}/binary/consul_1.7.2_linux_amd64.zip"
5959
mkdir -p dist/install/usr/bin
6060
cd dist/install/usr/bin && unzip ../../../nomad.zip && unzip ../../../consul.zip

misc/nomad.patch

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/client/allocrunner/taskrunner/task_runner.go b/client/allocrunner/taskrunner/task_runner.go
2+
index aae6a314d8..8aac851036 100644
3+
--- a/client/allocrunner/taskrunner/task_runner.go
4+
+++ b/client/allocrunner/taskrunner/task_runner.go
5+
@@ -44,7 +44,7 @@ import (
6+
const (
7+
// defaultMaxEvents is the default max capacity for task events on the
8+
// task state. Overrideable for testing.
9+
- defaultMaxEvents = 10
10+
+ defaultMaxEvents = 100
11+
12+
// killBackoffBaseline is the baseline time for exponential backoff while
13+
// killing a task.

0 commit comments

Comments
 (0)