Diptanu Choudhury
aae6047edc
DRYed the code
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
4e05b27111
Implemented port labeling and driver configs
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
0126c80961
Adding the port hcl object to example
2015-11-16 13:10:57 -08:00
Carlos Diaz-Padron
ffe67d8910
Remove CGO dependency for user lookup in allocdir
...
os/user's user.Lookup requires that the artifact be compiled with CGO
support enabled. This change instead reads /etc/passwd directly.
The code was acquired from docker/docker#1096
2015-11-15 21:26:34 -08:00
Alex Dadgar
677b18ca52
Merge pull request #420 from hashicorp/f-rpc-codecs
...
Update Nomad Client/Server RPC codecs to use custom msgpackHandle
2015-11-15 18:49:50 -08:00
Alex Dadgar
a56c808ff8
Update Nomad Client/Server RPC codecs to use custom msgpackHandle
2015-11-15 18:27:02 -08:00
Antonio Fernández
669635778a
POC: allow to add labels for docker containers from job metadata
2015-11-13 22:30:58 +01:00
Chris Bednarski
fc1c28357b
Merge pull request #412 from hashicorp/f-docker-expose
...
Expose provisioned ports for docker containers
2015-11-13 11:41:13 -08:00
Diptanu Choudhury
40f4bebe45
Merge pull request #413 from gjacquet/fix-aws-metadata-url
...
Fix AWS metadata url
2015-11-13 10:34:10 -08:00
Guillaume Jacquet
4a3e709eef
Fix AWS metadata url
...
Fix URL. It was printing an error message on startup:
```
2015/11/13 15:49:21 [ERR] fingerprint.env_aws: Error querying AWS Metadata URL, skipping
```
By the way is it safe to use latest? Is there a chance that Amazon decides to change the format of the metadata? It could be safer to use something like `http://169.254.169.254/2014-11-05/meta-data `
2015-11-13 11:03:05 -05:00
Chris Bednarski
ef00ab3198
Change this to a valid IP address so docker can bind to it
2015-11-12 21:46:59 -08:00
Chris Bednarski
2f05a15aa5
Expose mapped ports
2015-11-12 17:23:04 -08:00
Diptanu Choudhury
88d64f5d9b
Merge pull request #411 from hashicorp/b-save-tr-state
...
Saving state of the Task Runner while it's trying to update it
2015-11-12 15:59:48 -08:00
Diptanu Choudhury
3b4cb6dbc9
Saving state of the Task Runner while it's trying to update it
2015-11-12 15:53:42 -08:00
Alex Dadgar
9c9d9af5cb
Merge pull request #402 from fernandezvara/fix-api-node-allocations
...
api /v1/node/<id>/allocations returns an array of Allocation objects,…
2015-11-12 11:02:18 -08:00
Antonio Fernández
7f0aa44489
updating docs http node allocations
2015-11-12 19:06:14 +01:00
Alex Dadgar
d22a2fa813
Merge pull request #409 from hashicorp/b-restart-policy-validation
...
Making sure a Task Group has a restart policy
2015-11-11 16:29:46 -08:00
Diptanu Choudhury
dac4a036e4
Making sure a Task Group has a restart policy
2015-11-11 15:10:39 -08:00
Alex Dadgar
d8423a1d71
Merge pull request #405 from hashicorp/new_header
...
New header/footer design
2015-11-11 12:34:18 -08:00
Alex Dadgar
d3e2455459
Merge pull request #408 from hashicorp/f-client-restore
...
Client Restore State Fixes
2015-11-11 12:32:11 -08:00
captainill
48e4c519ba
hover color in footer
2015-11-11 10:26:25 -08:00
Chris Bednarski
7fb75525b0
Merge pull request #407 from hashicorp/f-docker-host-env
...
Change Docker ENV behavior
2015-11-10 19:30:11 -08:00
Alex Dadgar
6119f42d65
Check for previous embeds at entry level not folder level
2015-11-10 18:10:02 -08:00
Chris Bednarski
b637ca7f60
Added some comments to the test to explain why we're doing stuff this way
2015-11-10 17:48:06 -08:00
Chris Bednarski
c5682fc751
Change dockerIs* to accept *testing.T for logging
2015-11-10 17:43:08 -08:00
Alex Dadgar
7c6b80a8fd
Merge pull request #400 from nak3/fingerprint-test
...
Update fingerprint test codes
2015-11-10 17:06:16 -08:00
Alex Dadgar
787164044d
Enable Open tests for Exec/Java
2015-11-10 16:59:52 -08:00
Alex Dadgar
594cc6b9a8
Enable AllocRunner_SaveRestoreState test
2015-11-10 16:53:59 -08:00
Alex Dadgar
1861d8312b
Update test
2015-11-10 16:49:38 -08:00
Alex Dadgar
e6a8a23544
Increase time out
2015-11-10 16:37:17 -08:00
Alex Dadgar
90336a160e
Guard mounting dev/ and proc/ and TaskRunner_RestoreState test
2015-11-10 16:35:33 -08:00
Chris Bednarski
7f3a2595af
Change Docker fingerprinter to INFO and not error when the connection to the daemon fails; we simply assume docker isn't there.
2015-11-10 16:18:52 -08:00
Alex Dadgar
933498e388
Client Restore test
2015-11-10 16:03:18 -08:00
Chris Bednarski
e5688620e4
Changed behavior for Docker ENV
...
- Docker ENV variables now work the same way in production, dev, and test
- Docker ENV variables are *ignored* if docker.endpoint is present in the Nomad config file
- Remote tests now work correctly
2015-11-10 15:54:31 -08:00
Alex Dadgar
2c7da463b8
Fix alloc_dir mounting through task restarts
2015-11-10 14:12:30 -08:00
captainill
a77fed8876
whitespace
2015-11-10 13:58:56 -08:00
captainill
2c9f1cf791
edit this page link placement
2015-11-10 13:52:58 -08:00
captainill
879b8343a6
update footer
2015-11-10 13:48:10 -08:00
Diptanu Choudhury
4ff5d55453
Merge pull request #403 from hashicorp/f-snapshot-on-task-update
...
Updating snapshots of a TaskRunner when status of Task changes
2015-11-09 23:27:19 -08:00
Diptanu Choudhury
210f744503
Returning back if alloc runner isn't saved
2015-11-09 17:04:53 -08:00
Diptanu Choudhury
4ba5434898
Exctracted a method to save the alloc runner state
2015-11-09 16:59:02 -08:00
Diptanu Choudhury
c618d7ed58
Inlining error check
2015-11-09 16:45:42 -08:00
Diptanu Choudhury
38a047ec6d
Refactored Save State of Alloc runner
2015-11-09 16:15:11 -08:00
Alex Dadgar
19d0c97da7
Client restores state properly
2015-11-09 15:55:31 -08:00
Diptanu Choudhury
5ef34f7560
Returning once we have an error while saving a task that doesn't exist
2015-11-09 12:44:14 -08:00
Diptanu Choudhury
0252b49c17
Updating snapshots of a TaskRunner when status of Task changes
2015-11-09 12:36:07 -08:00
Mitchell Hashimoto
9b2b6cd44f
command/agent: use new HCL API
2015-11-09 11:49:27 -08:00
Mitchell Hashimoto
0f21322c6f
Merge pull request #401 from hashicorp/b-new-hcl
...
jobspec: new HCL API
2015-11-09 10:35:30 -08:00
Antonio Fernández
89d4717c92
api /v1/node/<id>/allocations returns an array of Allocation objects, not AllocationIndexStub
2015-11-09 17:54:18 +01:00
Mitchell Hashimoto
3f8765f532
jobspec: new HCL API
2015-11-08 22:57:39 -08:00