Commit Graph

1867 Commits

Author SHA1 Message Date
Chris Hines 8e8eccee20 Use TestMain to provide portable echo and sleep commands. 2015-11-17 23:43:19 -05:00
Chris Hines 071018569d Extract code to acquire temp file name and make sure the file is closed so os.Remove works on Windows. 2015-11-17 23:43:18 -05:00
Alex Dadgar 49e7ded372 fix kernel/os attributes 2015-11-17 20:06:00 -08:00
Alex Dadgar f3283f2771 Update environment docs regarding ports 2015-11-17 19:36:05 -08:00
Alex Dadgar 45bb0d349c Update API docs 2015-11-17 19:12:19 -08:00
Chris Bednarski cb9d7f7677 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-17 17:48:50 -08:00
Chris Bednarski 281aea9e3f Added network_mode changes to the changelog 2015-11-17 17:48:37 -08:00
Alex Dadgar cf0630b41e Update jobspec to have restart policy and fix indents on distinctHost 2015-11-17 17:41:15 -08:00
Chris Bednarski e7e1051f51 Merge pull request #434 from hashicorp/f-docker-any-network
Remove restrictions from docker networking mode
2015-11-17 17:24:12 -08:00
Chris Bednarski e330107112 Reformat post-merge 2015-11-17 17:23:16 -08:00
Chris Bednarski 122220a424 Merge branch 'master' into f-docker-any-network 2015-11-17 17:22:13 -08:00
Chris Bednarski d94bd74bb5 Updated docs for networking_mode and also reformat the file 2015-11-17 17:20:28 -08:00
Diptanu Choudhury 21e9c33dc6 Merge pull request #425 from hashicorp/f-service-block
Parsing logic for service block
2015-11-17 17:18:16 -08:00
Chris Bednarski 9cad290b18 Merge pull request #436 from hashicorp/f-docker-cleanup
Cleanup docker driver
2015-11-17 17:13:17 -08:00
Chris Bednarski b22b5eb3aa Inline err assignment 2015-11-17 17:12:45 -08:00
Diptanu Choudhury e413e882a6 Fixed typo 2015-11-17 17:12:21 -08:00
Diptanu Choudhury 2c3d5935b4 Added a test which makes sure parsing fails if more than one service block has non empty names 2015-11-17 17:06:29 -08:00
Chris Bednarski a2f4188246 Streamline reading boolean values from the driver / job config 2015-11-17 16:58:23 -08:00
Chris Bednarski 67ee502acb Added missing linebreaks for log.Printf calls 2015-11-17 16:49:01 -08:00
Diptanu Choudhury c02c2312d4 Adding prefix to user defined name and forcing id to be blank during parsing 2015-11-17 16:44:05 -08:00
Chris Bednarski 43aaf94383 Do Itoa once so line items are simpler 2015-11-17 16:31:47 -08:00
Chris Bednarski c275b3f06d Merge pull request #437 from hashicorp/f-docker-labels
Support labels for docker containers
2015-11-17 16:10:36 -08:00
Diptanu Choudhury f98a6a384e Validating that services are named explicitly if there is more than one Service defn 2015-11-17 16:08:03 -08:00
Diptanu Choudhury 1672252226 Autogenerating names of service 2015-11-17 16:05:03 -08:00
Chris Bednarski ffd3f114dd Merge branch 'docker-allow-to-add-labels' of https://github.com/fernandezvara/nomad into f-docker-labels 2015-11-17 16:02:42 -08:00
Alex Dadgar 74d95a0d2a Update rkt docs to denote its experimental status 2015-11-17 15:39:38 -08:00
Alex Dadgar 8bbaf363dd Update changelog 2015-11-17 15:20:01 -08:00
Chris Bednarski 3b7c252090 Improve phrasing in log messages 2015-11-17 15:17:44 -08:00
Diptanu Choudhury c73e17ae18 Adding some sanity checks to checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 04d2d6921d Exctacted a method for parsing checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 7eba8be4ff Added some docs for the service and servicecheck type 2015-11-17 15:13:25 -08:00
Diptanu Choudhury aabd27d901 Added the protocol field for check 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 4c8dd666dc Added validation to the checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury cd7a974a7f Exctracted the logic of parsing services in a method 2015-11-17 15:13:25 -08:00
Diptanu Choudhury a367314127 Added the fields for http and script checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 0d9e34bea4 Added the service definitions in api structs too 2015-11-17 15:13:25 -08:00
Diptanu Choudhury 36520a90b3 Added tests for service block parsing 2015-11-17 15:13:25 -08:00
Diptanu Choudhury ead6e09a79 Added comments 2015-11-17 15:13:25 -08:00
Diptanu Choudhury eb19967ce4 Added the parsling logic for service blocks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury f8ce6fb901 Added the example for service block 2015-11-17 15:13:25 -08:00
Alex Dadgar 7551a263c5 Merge pull request #389 from achanda/name
Set a name for the container
2015-11-17 15:07:23 -08:00
Chris Bednarski 629cdd6baa Clean up extraneous variables 2015-11-17 14:51:38 -08:00
Chris Bednarski 7f117b3b55 That's not a declaration 2015-11-17 14:27:58 -08:00
Chris Bednarski 89c6f56059 Remove restrictions from docker networking mode; we assume users know what they are doing 2015-11-17 14:25:10 -08:00
Chris Bednarski f2e8357e4a Merge branch 'master' into f-docker-cleanup 2015-11-17 14:20:29 -08:00
Chris Bednarski f14d6685d7 Move core block to the top 2015-11-17 14:17:58 -08:00
Chris Bednarski 5db884d2d0 Reformatted and sorted changelog enties 2015-11-17 14:16:20 -08:00
Alex Dadgar 67ee3af36a Merge pull request #432 from hashicorp/d-changelog-update
Update Changelog
2015-11-17 14:11:59 -08:00
Alex Dadgar 9a2a4a11b4 Add components 2015-11-17 14:11:31 -08:00
Alex Dadgar 9d845ecdcb Move backwards incompatibilities section to top 2015-11-17 13:32:02 -08:00