Commit graph

1938 commits

Author SHA1 Message Date
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
Chris Bednarski a67a78a2d9 Use the same network fingerprinter for *nix and windows 2015-10-30 16:48:02 -07:00
Diptanu Choudhury 99c24e5243 Sending restart policies to the Nomad API 2015-10-30 16:32:05 -07:00
Diptanu Choudhury c883f9496a Added support for parsing restart blocks 2015-10-30 15:51:39 -07:00
Ryan Uber e1b0bd4b8d website: clean up HTTP docs, add blocking queries 2015-10-30 14:38:51 -07:00
Ryan Uber b54309282f nomad/state: subscribe/unsubscribe all watch items while holding the lock 2015-10-30 08:46:03 -07:00
Ryan Uber d21c49dedd nomad: cleanup and more tests 2015-10-30 08:27:47 -07:00
Ryan Uber 1322b844ca nomad/state: add watch trigger tests 2015-10-29 21:42:41 -07:00
Ryan Uber ff37110deb nomad: more tests 2015-10-29 19:14:21 -07:00
Alex Dadgar 141e3c69d8 Merge pull request #365 from hashicorp/dev-config-network-interface
Setting the default network interface for dev mode only in Linux and Darwin
2015-10-29 17:28:16 -07:00
Diptanu Choudhury c0d37ce58c Setting the default network interface for dev mode only in Linux and Darwin 2015-10-29 17:03:54 -07:00
Diptanu Choudhury cae9b40877 Merge pull request #356 from hashicorp/network-fingerprint-refactor
Network fingerprint refactor
2015-10-29 16:59:54 -07:00
Alex Dadgar 93e1b49278 Merge pull request #352 from hashicorp/f-qemu-windows
Get Qemu to fingerprint and test properly on both windows and linux
2015-10-29 16:57:29 -07:00
Alex Dadgar 01e0be4cc6 Add comment explaining the qemu-img command on windows 2015-10-29 16:57:02 -07:00
Ryan Uber 55cb559eae nomad: support blocking queries on eval-specific allocations 2015-10-29 16:20:57 -07:00
Diptanu Choudhury b506c224d6 Merge branch 'master' into network-fingerprint-refactor 2015-10-29 16:20:20 -07:00
Diptanu Choudhury e55bbe5f2c Refactored code 2015-10-29 16:16:10 -07:00
Ryan Uber 1469d0e7c4 nomad: support blocking queries for single evals 2015-10-29 16:12:25 -07:00
Ryan Uber e1ecd11f63 nomad: support blocking queries on single allocations 2015-10-29 16:04:53 -07:00
Diptanu Choudhury 17d430e46c Renamed BasicNetworkInterfaceDetector to DefaultNetworkInterfaceDetector 2015-10-29 15:55:49 -07:00
Ryan Uber 09c74acc36 nomad: support blocking queries on single nodes 2015-10-29 15:48:44 -07:00
Alex Dadgar f2bbc0dd6b Merge pull request #362 from gregory-m/node-gc-conf
Configure Node GC Threshold
2015-10-29 15:45:57 -07:00
Alex Dadgar 72fea7d2b5 Comments 2015-10-29 15:39:26 -07:00
Ryan Uber a0e54d6f62 nomad: support blocking queries on job allocations 2015-10-29 15:32:05 -07:00
Alex Dadgar ec2367baec Cleanup exec_linux, force cgroups, check for systemd and update the Open() api 2015-10-29 15:26:35 -07:00
Diptanu Choudhury 1360f8c6fa Fixed a debug message 2015-10-29 15:17:40 -07:00
Diptanu Choudhury d31f567484 Fixed style of a debug log 2015-10-29 15:15:44 -07:00
Diptanu Choudhury 08302d43ee Added a test to ensure we are not selecting devices which are not marked as UP or loopback and have no IP addresses 2015-10-29 15:14:13 -07:00
Ryan Uber c8c3ded1d7 nomad: support blocking queries on single jobs 2015-10-29 15:01:29 -07:00
Ryan Uber 6b7ca19a76 nomad: export watcher to share between rpc and state store 2015-10-29 14:47:39 -07:00
Diptanu Choudhury e76465bfd7 Merge pull request #361 from gregory-m/lo-iface-name-fix
Fix local interface name on OS X
2015-10-29 13:56:19 -07:00