Alex Dadgar
b9b12db2de
Merge pull request #416 from hashicorp/f-task-state
...
Track Tasks State
2015-11-16 15:14:46 -08:00
Alex Dadgar
ea0edd8c2f
Change SetExitMessage from taking a string to an error
2015-11-16 15:14:21 -08:00
Alex Dadgar
e76a613974
Use loop not recursion
2015-11-16 15:14:21 -08:00
Alex Dadgar
b649039448
Fix the capacity
2015-11-16 15:14:21 -08:00
Alex Dadgar
6133917e33
Change event type to string
2015-11-16 15:14:21 -08:00
Alex Dadgar
82f51601db
Track Task State in the client and capture Wait results
2015-11-16 15:14:21 -08:00
Alex Dadgar
bdf7497f1b
Initialize task state in allocation sent by scheduler
2015-11-16 15:14:21 -08:00
Alex Dadgar
359251744f
Add TaskState to alloc
2015-11-16 15:14:21 -08:00
Alex Dadgar
ef417120a5
Avoid map[interface{}]interface{} conversions in the msgpack codec
2015-11-16 14:25:19 -08:00
Mitchell Hashimoto
f9e7e974d7
jobspec: add test for types of nested configs
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
c5102975e3
Made the code more DRY
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
e40229aed6
Fixed the docker auth config
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
7d44725370
Adding comments to fields in the docker driver config
2015-11-16 13:10:57 -08:00
Alex Dadgar
fa60d86fe5
mapstructure close quotes
2015-11-16 13:10:57 -08:00
Alex Dadgar
0b70879554
RawToSting true for structs codec. Needed for encoding strings in nil interfaces
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
5e876e9c86
Fixed the java driver config
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
9d76572831
Making sure that there is only one port_map block in the docker driver config
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
0238e27d5d
Fixed the structs test
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
3b3907e367
Fixed the exec driver config
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
ba9f101660
Fixed the test related to setting env variables in tasks
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
ad4248e087
Fixed the allocdir tests
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
0673b832fb
Fixed compilation issues with driver tests
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
6c0b3264c8
Fixed the tests for jobspec
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
babc68adfb
Fixing the scheduler tests
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
69efc89436
Fixed the client tests
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
33fc6b88d3
Fixed the api tests
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
b083a3f307
Fixed the parsing and encoding logic
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
78a0f82bc5
Making the config for drivers public
2015-11-16 13:10:57 -08:00
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
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