Commit Graph

1759 Commits

Author SHA1 Message Date
Clint Shryock 145a2e3610 refactor drivers to use new getter 2015-11-05 08:55:30 -06:00
Clint Shryock 291dd3dfb1 add getter package, a thin wrapper of go-getter 2015-11-05 08:53:11 -06:00
Alex Dadgar 587031f14d Get rid of exec.cmd struct and setuid file 2015-11-04 17:20:52 -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
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