Commit Graph

1667 Commits

Author SHA1 Message Date
Diptanu Choudhury c28702cb2d Refactored test 2015-11-05 17:33:03 -08:00
Diptanu Choudhury 3d5e02b3d7 Fixed some tests and refactored logic 2015-11-05 17:30:41 -08:00
Diptanu Choudhury d091c94563 Incremeneting the counter once we calculate next restart 2015-11-05 17:13:25 -08:00
Diptanu Choudhury fff38106ae Added some comments to code 2015-11-05 16:48:15 -08:00
Diptanu Choudhury a2a73b16d9 Added the client word to log lines 2015-11-05 16:39:57 -08:00
Diptanu Choudhury 44569d908f Passing restart tracker in the task runner 2015-11-05 16:38:19 -08:00
Diptanu Choudhury df7391f7df Fixing the test 2015-11-05 15:26:00 -08:00
Diptanu Choudhury 86be2bf0be Cleaned up the logic to calculate restart duration 2015-11-05 15:16:29 -08:00
Diptanu Choudhury 3659335de1 Fixed the log statements 2015-11-05 11:13:05 -08:00
Diptanu Choudhury ea854a9220 Added the logic to restart Tasks if possible 2015-11-05 11:13:04 -08:00
Diptanu Choudhury b64ed61022 Setting the restart policy to AllocRunner and Task Runners 2015-11-05 11:13:04 -08:00
Alex Dadgar 3cf7dfb588 Merge pull request #377 from nak3/selinux-docker-driver
Apply SELinux label to allocate directory of docker driver
2015-11-05 10:54:48 -08:00
Alex Dadgar 806c3c28b8 Merge pull request #383 from hashicorp/f-driver-restructure
Move the executor and spawn package into driver
2015-11-04 16:59:17 -08:00
Alex Dadgar 4259d3a43c Move the executor and spawn package into driver 2015-11-04 16:53:27 -08:00
Alex Dadgar f210fcd1a6 Merge pull request #380 from hashicorp/f-daemonize
Improve spawn-daemon and Nomad Client usage of it
2015-11-04 16:44:50 -08:00
Alex Dadgar 7d42702d28 Remove file watching 2015-11-04 16:38:28 -08:00
Kenjiro Nakayama 1e47dd4c7d Apply SELinux label to allocate directory of docker driver 2015-11-05 09:06:22 +09:00
Alex Dadgar 81140f8787 Check if the PID is alive instead of heartbeating through modify time 2015-11-04 14:50:44 -08:00
Ryan Uber e651764755 Merge pull request #368 from hashicorp/b-docs
website: clean up HTTP docs, add blocking queries
2015-11-04 11:22:57 -08:00
Ryan Uber d8fd622a3d Update CHANGELOG.md 2015-11-04 11:22:20 -08:00
Ryan Uber 38b812178b Merge pull request #366 from hashicorp/f-blocking
Support blocking queries
2015-11-04 11:18:50 -08:00
Ryan Uber 691b260cbe nomad/watch: add a note about the Item struct 2015-11-04 11:18:17 -08:00
Clint Shryock afc49a57da go fmt this file 2015-11-03 15:54:29 -06:00
Alex Dadgar 7f9fd5ec36 Vet errors 2015-11-03 13:37:45 -08:00
Alex Dadgar 88391eedfb Search path 2015-11-03 13:26:09 -08:00
Alex Dadgar ec2c9b6d52 Update website 2015-11-03 12:57:39 -08:00
Alex Dadgar d83777f198 Make a basic executor that can be shared and fix some fingerprinting/tests 2015-11-03 12:47:48 -08:00
Alex Dadgar 271702f4a2 Small improvements 2015-11-03 10:50:30 -08:00
Clint 6a3763d105 Merge pull request #379 from nak3/const-aws
Use const value for AWS metadata URL
2015-11-03 10:09:30 -06:00
Kenjiro Nakayama 21f537339e Use const value for AWS metadata URL 2015-11-04 00:06:14 +09:00
Alex Dadgar 5562fc7672 Create Spawn pkg that handles IPC with the spawn-daemon and update exec_linux to use that 2015-11-02 20:28:37 -08:00
Diptanu Choudhury dcc4bcb7a9 Merge pull request #369 from hashicorp/f-client-side-restarts
Client Side Restarts - Part 1
2015-11-02 20:02:52 -08:00
Diptanu Choudhury 1f4593c4d3 Fixed the restart policy syntax 2015-11-02 17:30:41 -08:00
Diptanu Choudhury b9eb12e5f9 Introducing vars to create default batch and service restart policies 2015-11-02 17:00:17 -08:00
Diptanu Choudhury 02d70eb5be Fixed the tests 2015-11-02 15:04:04 -08:00
Diptanu Choudhury 7d301fb8b3 Declaring Batch and Service default restart policies 2015-11-02 13:35:51 -08:00
Diptanu Choudhury 52eb6c77af Fixing tests to not create a TG without restart policies 2015-11-02 13:24:59 -08:00
Alex Dadgar e56bc21e95 Merge pull request #372 from charlieok/patch-1
Remove redundant 'all'
2015-11-02 10:31:34 -08:00
Alex Dadgar e2f8456916 Merge pull request #375 from charlieok/patch-3
leave -> leaving
2015-11-02 10:28:55 -08:00
Armon Dadgar e1aa99af2d Merge pull request #376 from charlieok/patch-4
This option only work -> This option only works
2015-11-02 10:20:48 -08:00
Charlie O'Keefe 19fbceb6e6 This option only work -> This option only works 2015-11-02 11:19:38 -07:00
Charlie O'Keefe f0da9414b7 leave -> leaving 2015-11-02 11:18:42 -07:00
Seth Vargo 0797767642 Merge pull request #374 from charlieok/patch-3
appicable -> applicable
2015-11-02 13:12:55 -05:00
Charlie O'Keefe a0e950520d appicable -> applicable 2015-11-02 11:10:12 -07:00
Charlie O'Keefe f291aa6480 Remove redundant 'all' 2015-11-02 10:15:26 -07:00
Diptanu Choudhury 9139777ab7 Not validating task groups if it's nil in a job 2015-10-30 21:43:00 -07:00
Diptanu Choudhury c80f0e38d1 Added a RestartPolicy to some mocks 2015-10-30 21:33:33 -07:00
Diptanu Choudhury 8133aa413a Fixed grammer of comment 2015-10-30 21:06:56 -07:00
Diptanu Choudhury bf105430ea Added the restart policies to mocks 2015-10-30 18:34:23 -07:00
Diptanu Choudhury edcd677df6 Re-using toDuration while figuring out staggertime 2015-10-30 16:49:08 -07:00