Diptanu Choudhury
e039d1dd23
Merge pull request #773 from hashicorp/docker-auth
...
Reading dockercfg files for authenticating with private registries
2016-02-06 18:03:39 -08:00
Alex Dadgar
e8f88d332a
Precise registration
2016-02-06 17:08:20 -08:00
Alex Dadgar
b290b8ef79
Update the consul service when the task/alloc changes
2016-02-06 17:08:20 -08:00
Diptanu Choudhury
c4fd236026
Updated the docker auth config
2016-02-06 05:47:56 -08:00
Diptanu Choudhury
1343e481f3
Reading dockercfg files for authenticating with private registries
2016-02-06 05:43:30 -08:00
Alex Dadgar
0c46a0ec1d
Fix tests
2016-02-04 17:27:58 -08:00
Alex Dadgar
17a93b5730
Merge pull request #756 from hashicorp/f-download-location
...
Extract artifacts to the root of the task, not in the local directory
2016-02-04 17:22:11 -08:00
Alex Dadgar
ec583e4807
Add tmp file to each task directory
2016-02-04 15:35:04 -08:00
Alex Dadgar
edf1db85fc
Fix java test
2016-02-04 15:26:37 -08:00
Alex Dadgar
ca69bcd18b
Extract artifacts to the root of the task, not in the local directory
2016-02-04 15:18:22 -08:00
Alex Dadgar
3308841098
Serialize the list of mounted entries in the alloc dir
2016-02-04 14:30:32 -08:00
Alex Dadgar
fb010e2c5d
Small fixes
2016-02-04 14:19:27 -08:00
Alex Dadgar
c89e97084d
Fix AllocRunner not capturing destroy signal and tests
2016-02-04 13:09:53 -08:00
Alex Dadgar
cef6bffd66
Merge pull request #751 from hashicorp/b-client-updates
...
Client handles updates to KillTimeout and Restart Policy
2016-02-04 10:19:28 -08:00
Ivo Verberk
a78836049f
Add comments to hasNodeChanged and remove superfluous else block
2016-02-04 08:19:34 +01:00
Alex Dadgar
cc90670210
Fix tests
2016-02-03 19:58:39 -08:00
Alex Dadgar
03aca9887b
Client handles updates to KillTimeout and Restart Policy
2016-02-03 19:43:44 -08:00
Alex Dadgar
5d297a446f
Move restart tracker creation into task runner
2016-02-03 16:16:48 -08:00
Ivo Verberk
035cc02c65
Reregister node when periodic fingerprint changes node properties
2016-02-03 21:10:58 +01:00
Alex Dadgar
de6e1e791e
Another test fix
2016-02-02 17:35:06 -08:00
Alex Dadgar
d04fc2647c
Fix test
2016-02-02 17:35:06 -08:00
Alex Dadgar
a2132950a5
Restart on-success shouldn't be user specifiable
2016-02-02 17:35:06 -08:00
Alex Dadgar
7400bc0c23
Merge pull request #745 from hashicorp/b-rkt-version-regex
...
Update Rkt regex to determine version
2016-02-02 15:55:50 -08:00
Alex Dadgar
acafd894da
update the regex
2016-02-02 15:39:45 -08:00
Ryan Uber
d924de9bd0
client: obey restart policy when attempts == 0
2016-02-02 14:17:39 -08:00
Alex Dadgar
019883c5b1
Clean interaction between alloc-runner and task-runner
2016-02-02 11:09:29 -08:00
Alex Dadgar
c0ab75a7f9
Don't share task state with the alloc in the task runner
2016-02-01 17:47:53 -08:00
Alex Dadgar
3b90539fe9
Fix locks and use task runners state not alloc state
2016-02-01 15:43:59 -08:00
Alex Dadgar
410ae593e7
Fix double pull with introduction of AllocModifyIndex
2016-02-01 15:43:59 -08:00
Ranjib Dey
8e546010e7
allow group and others to have executable permissions
2016-01-31 10:54:32 -08:00
Alex Dadgar
9779e9aa59
Merge pull request #704 from iverberk/f-env-ports
...
Pass a combination of ip and port to the task environment.
2016-01-29 08:53:47 -08:00
Alex Dadgar
df22fcad3d
Merge pull request #712 from iverberk/f-cgroup-finterprinter
...
Add periodic cgroup fingerprinter
2016-01-29 08:50:43 -08:00
Ivo Verberk
0289252ce7
Add comments and small improvements to cgroup fingerprinter
2016-01-29 14:34:29 +01:00
Jake Champlin
d93c8bb43e
Use net.JoinHostPort
2016-01-29 05:39:28 -05:00
Jake Champlin
cb39df4c20
Spelling
2016-01-29 05:11:50 -05:00
Jake Champlin
fed8184da1
Updates from comments, fix tests
2016-01-28 23:11:13 -05:00
Jake Champlin
fb92f83714
Allow ports to be optional when adding servers
...
When updating a clients servers, as nomad does not use the gossip
protocol over a specified port for clients, it was required to specify
ports along with server addresses.
Now specifying ports are optional, and if unspecified the default `4647`
port is used, reflecting a notice back to the user.
2016-01-28 22:08:28 -05:00
Diptanu Choudhury
12ffecf021
Added more information about files
2016-01-27 14:20:10 -08:00
Alex Dadgar
3a543ad81a
Merge pull request #714 from ryanslade/patch-1
...
Fix a typo
2016-01-27 10:14:45 -08:00
Ryan Slade
f681f57eb0
Fix a typo
2016-01-27 17:49:32 +02:00
Ivo Verberk
5266f6d947
Fix comment
2016-01-27 10:56:35 +01:00
Ivo Verberk
117e035a98
Only enable exec driver when cgroups are available
...
Make the exec driver fingerprinter periodic to disable the driver when
cgroups become unavailable.
2016-01-27 07:32:32 +01:00
Ivo Verberk
d8480ac75b
Add a periodic cgroup fingerprinter
2016-01-27 07:22:25 +01:00
Alex Dadgar
c4f1952a08
Update the interpretation of node.id/name on the client
2016-01-26 17:38:36 -08:00
Alex Dadgar
bbc4beeef6
Respond to comments
2016-01-26 14:55:38 -08:00
Alex Dadgar
be5d2d6176
Update client fingerprinters
2016-01-26 10:08:01 -08:00
Ivo Verberk
b9de8704ee
Rename IPPort env variable and add a mapped host port to the env.
2016-01-25 20:46:01 +01:00
Ivo Verberk
f71db5e645
Pass a combination of ip and port to the task environment.
...
The different labels can be on different IPs.
2016-01-24 10:31:03 +01:00
Alex Dadgar
e01cd9c293
Have docker use the task environment in the context
2016-01-22 15:00:36 -08:00
Alex Dadgar
8d3874e20c
Merge pull request #690 from hashicorp/b-fix-root-tests
...
Fix failing tests running under root
2016-01-21 17:01:10 -08:00