Shiem Edelbrock
0521562d9c
Added task configuraton options for docker driver
...
- Added `priviliged` option to task config to allow containers to run in
priviliged mode.
- Added `dns-servers` option to task config to allow containers to use
custom DNS servers
- Added `search-domains` option to task config to allow containers to
use custom dns search domains
- Added authentication options (under key namespace `auth.*`) to allow
authentication on a task level for docker remote.
- Updated site docs to reflect changes
2015-11-05 10:47:41 -08:00
Alex Dadgar
1d21991e28
exec_basic uses Spawner; create shared test harness for executors
2015-11-05 09:58:57 -08:00
Clint Shryock
0fe2ea9b04
add checksums to tests, formatting after rebase
2015-11-05 09:23:45 -06:00
Clint Shryock
e3376d102c
remove debug line
2015-11-05 08:55:30 -06:00
Clint Shryock
add12a6a00
refactor drivers to use new getter
2015-11-05 08:55:30 -06:00
Clint Shryock
741965e6d7
add getter package, a thin wrapper of go-getter
2015-11-05 08:53:11 -06:00
Alex Dadgar
8ed031c45e
Get rid of exec.cmd struct and setuid file
2015-11-04 17:20:52 -08:00
Alex Dadgar
b0464a59e8
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
0f1050b1bf
Move the executor and spawn package into driver
2015-11-04 16:53:27 -08:00
Alex Dadgar
64be746d9b
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
29d72b7477
Remove file watching
2015-11-04 16:38:28 -08:00
Kenjiro Nakayama
c94bf6b7c9
Apply SELinux label to allocate directory of docker driver
2015-11-05 09:06:22 +09:00
Alex Dadgar
4958be618c
Check if the PID is alive instead of heartbeating through modify time
2015-11-04 14:50:44 -08:00
Ryan Uber
ab87ef41ad
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
4e88552044
Update CHANGELOG.md
2015-11-04 11:22:20 -08:00
Ryan Uber
7f63be43d1
Merge pull request #366 from hashicorp/f-blocking
...
Support blocking queries
2015-11-04 11:18:50 -08:00
Ryan Uber
2a1577ec88
nomad/watch: add a note about the Item struct
2015-11-04 11:18:17 -08:00
Clint Shryock
1870f9b799
go fmt this file
2015-11-03 15:54:29 -06:00
Alex Dadgar
a6f9aeb1b1
Vet errors
2015-11-03 13:37:45 -08:00
Alex Dadgar
2291ea9060
Search path
2015-11-03 13:26:09 -08:00
Alex Dadgar
fc5b418e7e
Update website
2015-11-03 12:57:39 -08:00
Alex Dadgar
13ea9bc9ff
Make a basic executor that can be shared and fix some fingerprinting/tests
2015-11-03 12:47:48 -08:00
Alex Dadgar
6cf8eeb216
Small improvements
2015-11-03 10:50:30 -08:00
Clint
fd5be4dbf3
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
84dc194d8a
Use const value for AWS metadata URL
2015-11-04 00:06:14 +09:00
Alex Dadgar
3576f48993
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
2cdedc62ec
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
6a56218fb7
Fixed the restart policy syntax
2015-11-02 17:30:41 -08:00
Diptanu Choudhury
ef841d5e89
Introducing vars to create default batch and service restart policies
2015-11-02 17:00:17 -08:00
Diptanu Choudhury
795c786ca5
Fixed the tests
2015-11-02 15:04:04 -08:00
Diptanu Choudhury
c7d31e5683
Declaring Batch and Service default restart policies
2015-11-02 13:35:51 -08:00
Diptanu Choudhury
ec819f9761
Fixing tests to not create a TG without restart policies
2015-11-02 13:24:59 -08:00
Alex Dadgar
a604ba5761
Merge pull request #372 from charlieok/patch-1
...
Remove redundant 'all'
2015-11-02 10:31:34 -08:00
Alex Dadgar
51b64c37b0
Merge pull request #375 from charlieok/patch-3
...
leave -> leaving
2015-11-02 10:28:55 -08:00
Armon Dadgar
e109c255ba
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
614a01fb4b
This option only work -> This option only works
2015-11-02 11:19:38 -07:00
Charlie O'Keefe
b770d1a709
leave -> leaving
2015-11-02 11:18:42 -07:00
Seth Vargo
33bf855878
Merge pull request #374 from charlieok/patch-3
...
appicable -> applicable
2015-11-02 13:12:55 -05:00
Charlie O'Keefe
4bdaa1bbc0
appicable -> applicable
2015-11-02 11:10:12 -07:00
Charlie O'Keefe
6fa5b45c3e
Remove redundant 'all'
2015-11-02 10:15:26 -07:00
Diptanu Choudhury
96f946b88e
Not validating task groups if it's nil in a job
2015-10-30 21:43:00 -07:00
Diptanu Choudhury
67c21e4b31
Added a RestartPolicy to some mocks
2015-10-30 21:33:33 -07:00
Diptanu Choudhury
0d17430306
Fixed grammer of comment
2015-10-30 21:06:56 -07:00
Diptanu Choudhury
93cdcb5ac2
Added the restart policies to mocks
2015-10-30 18:34:23 -07:00
Diptanu Choudhury
a035dcf2c0
Re-using toDuration while figuring out staggertime
2015-10-30 16:49:08 -07:00
Chris Bednarski
835b2041ee
Use the same network fingerprinter for *nix and windows
2015-10-30 16:48:02 -07:00
Diptanu Choudhury
e2f61e25e9
Sending restart policies to the Nomad API
2015-10-30 16:32:05 -07:00
Diptanu Choudhury
83695cb5d1
Added support for parsing restart blocks
2015-10-30 15:51:39 -07:00
Ryan Uber
8f2bb25157
website: clean up HTTP docs, add blocking queries
2015-10-30 14:38:51 -07:00
Ryan Uber
5f53478137
nomad/state: subscribe/unsubscribe all watch items while holding the lock
2015-10-30 08:46:03 -07:00