Commit graph

2484 commits

Author SHA1 Message Date
Alex Dadgar 9a7b363b94 Add periodic index to job table 2015-12-23 18:26:39 -08:00
Alex Dadgar 670cc50a02 merge 2015-12-23 18:26:39 -08:00
Alex Dadgar a892d61ae7 FSM integration 2015-12-23 18:26:39 -08:00
Alex Dadgar 8c484875ce Job endpoint handles periodic jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar ddf392c6be User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Ivo Verberk 7838b2a57c Refactoring
* Reverted changes to get methods
* Added prefix query parameter
* Updated node status to use prefix based searching
* Fixed tests
* Removed truncation logic
2015-12-22 23:44:33 +01:00
Alex Dadgar 144fc539bb Merge pull request #620 from achanda/consolidate
Consolidate if else conditions
2015-12-22 11:27:54 -08:00
Alex Dadgar 6eab43fb07 Changelog 2015-12-22 11:16:15 -08:00
Alex Dadgar cfd08f6948 Merge pull request #622 from hashicorp/f-enforce-abs-path
Enforce absolute paths for alloc/state/data directories
2015-12-22 11:15:22 -08:00
Alex Dadgar 2d16cb86ce Enforce absolute paths for alloc/state/data directories 2015-12-22 11:14:41 -08:00
Alex Dadgar f3dbccdb48 Update rkt docs 2015-12-22 10:37:45 -08:00
Alex Dadgar 155cc68e18 Merge pull request #621 from achanda/rkt_docs
Update some rkt docs
2015-12-22 10:36:37 -08:00
Abhishek Chanda 97b0fb3c49 Update some rkt docs 2015-12-23 00:05:25 +05:30
Abhishek Chanda a347cda6e3 Consolidate if else conditions 2015-12-22 18:23:29 +00:00
Alex Dadgar 305fe77602 Changelog and version 2015-12-22 10:20:07 -08:00
Alex Dadgar 29411d698a Rkt comment and variable name update 2015-12-22 10:11:22 -08:00
Alex Dadgar c1e5f873d8 Merge pull request #610 from achanda/isolators
Add support for CPU and memory isolators
2015-12-22 10:09:12 -08:00
Alex Dadgar a024410a2d Merge pull request #614 from achanda/handle_status
Handle non 200 codes while getting env metadata
2015-12-22 10:05:32 -08:00
Ivo Verberk 47e001d31a Revert "On cli node status list print the short Node ID when possible"
This reverts commit 5d3bd1b6f04bb3c0367798d9bb21729f2cf82247.
2015-12-22 10:18:58 +01:00
Ivo Verberk bf968a04cc Bring up-to-date with master 2015-12-22 10:15:53 +01:00
Abhishek Chanda cd51ee6430 Handle non 200 codes while getting env metadata 2015-12-22 05:23:32 +00:00
Abhishek Chanda 74a5292789 Move constants to the top 2015-12-22 05:15:37 +00:00
Alex Dadgar 5e71751a1d Add node class to constraints 2015-12-21 17:15:34 -08:00
Alex Dadgar 4695f1be97 Merge pull request #617 from hashicorp/f-agent-info-sort
Sort output of agent-info
2015-12-21 15:13:27 -08:00
Alex Dadgar ce1f79e8dd Fix append issue 2015-12-21 15:10:49 -08:00
Alex Dadgar 91bf9e3790 Merge branch 'agent-info-sort' of https://github.com/zytek/nomad into zytek-agent-info-sort 2015-12-21 15:07:13 -08:00
Abhishek Chanda 0918a38221 Do not allow rkt version less than 0.14.0 2015-12-21 17:48:21 +00:00
Chris Bednarski 6c94f1833a Merge pull request #613 from ChrisHines/windows-restart-test
Allow for low precision time.Now on Windows.
2015-12-21 12:19:30 -05:00
Chris Bednarski 0121987f06 Merge pull request #608 from hashicorp/header
Fixes by HashiCorp logo
2015-12-21 12:17:48 -05:00
Abhishek Chanda 1c4e380868 Use camelCase for variable names 2015-12-21 16:37:21 +00:00
Chris Hines 2a9a710ae6 Allow for low precision time.Now on Windows. 2015-12-21 10:43:45 -05:00
Ivo Verberk 24af3a3f96 Bring up-to-date with master 2015-12-21 13:04:46 +01:00
Abhishek Chanda 3d2589e797 Run gofmt 2015-12-21 06:09:11 +00:00
Abhishek Chanda b843b1a853 Support CPU and meory isolators for the rkt driver
The rkt community added supprt for these isolators recently
2015-12-21 06:06:45 +00:00
Alex Dadgar 46eb604375 Add TaskStates to mock.Alloc. Fixes some test race conditions 2015-12-20 17:30:45 -08:00
captainill f1126897bc clean up footer 2015-12-20 12:22:10 -08:00
Ivo Verberk 07bd2f6ca5 Some comment corrections and additions 2015-12-20 18:10:48 +01:00
Ivo Verberk a3d015c278 Allow short identifiers for node-drain command 2015-12-20 18:02:10 +01:00
Armin 05b495b8be On cli node status list print the short Node ID when possible 2015-12-20 17:33:27 +01:00
Ivo Verberk a11c38c6ca Allow short job identifiers for stop command 2015-12-20 12:14:59 +01:00
captainill c93ec4205d Hashicorp with capitol C in header 2015-12-19 21:13:00 -08:00
Ivo Verberk 33f73a1e8e Short identifiers functionality
* Use go-memdb prefix indexer for lookups
* Add Job lookups
* Update state store with new ByIDPrefix get methods
* Call new methods when exact lookup fails or is not applicable
2015-12-19 21:55:28 +01:00
Ivo Verberk 1d294df9ec Bring up-to-date with master 2015-12-19 21:55:10 +01:00
Diptanu Choudhury 20766e9c5d Merge branch 'master' of github.com:hashicorp/nomad 2015-12-18 12:33:54 -08:00
Diptanu Choudhury df08a412a8 Fixed the job spec test 2015-12-18 12:33:38 -08:00
Alex Dadgar 3bdd372413 Merge pull request #594 from hashicorp/f-restart-policy
More restart policy options and consolidate batch/service restart tracker
2015-12-18 12:25:13 -08:00
Alex Dadgar 423d16908e Go vet 2015-12-18 12:24:53 -08:00
Diptanu Choudhury de94f7c535 lowercasing err messages 2015-12-18 12:19:47 -08:00
Alex Dadgar b0f321c2c7 Fix test because of jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar 0a17dc6eca Document jitter 2015-12-18 12:17:54 -08:00