Commit Graph

3509 Commits

Author SHA1 Message Date
Diptanu Choudhury
c8f74a3d9c Added the /fs/cat/ api 2016-03-28 11:06:22 -07:00
Diptanu Choudhury
e633776365 Merge pull request #986 from hashicorp/scripts
Implement script checks
2016-03-25 18:22:35 -07:00
Diptanu Choudhury
59e91e1cb2 Using latest busybox 2016-03-25 18:21:43 -07:00
Diptanu Choudhury
6ee99af452 Fixing the exec script check to run within the chroot 2016-03-25 17:53:22 -07:00
Diptanu Choudhury
d4a5f075dd Moved the dockerIsConnected to testutils 2016-03-25 17:15:51 -07:00
Diptanu Choudhury
f1d9b2cb65 Removing the container after running script check 2016-03-25 17:02:53 -07:00
Diptanu Choudhury
644710a739 Added more tests for the checks 2016-03-25 16:56:40 -07:00
Alex Dadgar
9a5120cda4 Merge branch 'master' of github.com:hashicorp/nomad 2016-03-25 16:49:54 -07:00
Alex Dadgar
24851b664c changelog 2016-03-25 16:49:46 -07:00
Alex Dadgar
dee6af5c4c Merge pull request #989 from hashicorp/b-batch-no-eval-gc
Limit garbage collection of running batch jobs
2016-03-25 16:48:42 -07:00
Alex Dadgar
5c0a3d254b Limit garbage collection of batch jobs 2016-03-25 16:46:48 -07:00
Diptanu Choudhury
e0b9f038b0 Using a single timer to run checks 2016-03-25 16:11:45 -07:00
Alex Dadgar
c770912b1a changelog 2016-03-25 15:21:03 -07:00
Diptanu Choudhury
bfc2a0d716 using switch to determine the state of checks 2016-03-25 14:26:56 -07:00
Diptanu Choudhury
f8db6a433f Using tickers instead of creating new timers 2016-03-25 14:18:04 -07:00
Alex Dadgar
0507b7a009 Merge pull request #971 from hashicorp/b-terminal-alloc
Remove client status from allocation TerminalStatus
2016-03-25 13:14:20 -07:00
Alex Dadgar
f290e813e3 Dead->Complete 2016-03-25 12:56:54 -07:00
Alex Dadgar
819e1e4b39 Remove client status from allocation TerminalStatus 2016-03-25 12:53:37 -07:00
Alex Dadgar
89c9fd1d3b Merge pull request #984 from hashicorp/f-unrecoverable-error
Explain restart decision and display in alloc-status
2016-03-25 12:47:25 -07:00
Alex Dadgar
6e779b863e Explain restart decision and display in alloc-status 2016-03-25 12:47:14 -07:00
Alex Dadgar
aaff02ca49 Merge pull request #978 from hashicorp/f-enforce-user
Operator specifiable blacklist for task's using certain users
2016-03-25 12:44:05 -07:00
Alex Dadgar
a1ff98a69a swap raw_exec and qemu in the blacklist 2016-03-25 12:43:50 -07:00
Alex Dadgar
9e7d0d93a1 Merge pull request #981 from hashicorp/f-eval-force
Deregister creates an eval for a job even if it doesn't exist
2016-03-25 11:54:15 -07:00
Alex Dadgar
3698bcabf7 small fixes 2016-03-25 11:38:18 -07:00
Alex Dadgar
b253416342 Merge pull request #985 from hashicorp/b-interpret-job-tg-meta
client: Add job and task group meta interpretation
2016-03-25 10:48:20 -07:00
Alex Dadgar
aea4a2f3e7 Merge pull request #974 from hashicorp/b-remove-gc-field
Remove the GC field on the job and use the job type
2016-03-25 10:41:08 -07:00
Diptanu Choudhury
4c2766085a Renamed NomadChecks to CheckRunner and a fix for checkrunner start 2016-03-25 10:36:31 -07:00
Alex Dadgar
77f5c6eab0 Merge pull request #975 from hashicorp/f-rename-complete-alloc
Successful allocations are marked as complete instead of dead
2016-03-25 10:35:11 -07:00
Alex Dadgar
a9575287d7 Merge pull request #983 from hashicorp/f-destroy-conf
Confirmation on destructive commands
2016-03-25 10:31:38 -07:00
Alex Dadgar
be6da2a446 Fix test 2016-03-25 10:26:32 -07:00
Alex Dadgar
9643d63c6e add test for precedence 2016-03-25 10:16:04 -07:00
Diptanu Choudhury
7454ffd88b Renamed NomadChecks to CheckRunner 2016-03-24 21:17:33 -07:00
Diptanu Choudhury
e866d3be7c Vendoring circbuf 2016-03-24 21:05:05 -07:00
Diptanu Choudhury
9a27bf4c31 Added some more docs to the executor 2016-03-24 19:34:22 -07:00
Diptanu Choudhury
0fed52cb15 Removing non relevant tests 2016-03-24 19:31:24 -07:00
Diptanu Choudhury
52f7f93a09 Added some docs 2016-03-24 19:30:02 -07:00
Diptanu Choudhury
12dc439949 Changing the logic of keep services 2016-03-24 19:19:13 -07:00
Diptanu Choudhury
62249fe79f Added an impl for Nomad Checks 2016-03-24 19:00:24 -07:00
Diptanu Choudhury
8342d7dd71 Updated the vendored copy of github.com/fsouza/go-dockerclient 2016-03-24 17:42:00 -07:00
Alex Dadgar
bb81d2ebd0 add job and task group meta 2016-03-24 17:39:09 -07:00
Diptanu Choudhury
52d4b01b44 Added a test for the exec script check 2016-03-24 16:33:04 -07:00
Diptanu Choudhury
fe9e271619 Creating the docker driver in the executor properly 2016-03-24 16:15:22 -07:00
Alex Dadgar
36346c0244 Merge pull request #969 from hashicorp/f-cli-output-server-update
Add a log line to the cli output for updating server address list
2016-03-24 16:01:43 -07:00
Diptanu Choudhury
588666d0df Introducing ConsulContext 2016-03-24 15:57:16 -07:00
Diptanu Choudhury
e8995be723 Fixed merge conflicts 2016-03-24 15:09:50 -07:00
Diptanu Choudhury
f1cf87bb6e Enabling script checks 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
1e4da820a3 Running script checks periodically 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
2b60e8b8a9 Updated consul related dependencies 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
42dc8bea16 Added a check type for consul service to delegate certain checks 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
4faf16b5c0 Added implementation to run checks for docker, exec and raw_exec 2016-03-24 14:54:26 -07:00