Commit Graph

2446 Commits

Author SHA1 Message Date
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
Alex Dadgar 307fbef719 Add jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar a5e9e2068c Make NewRestartTracker private 2015-12-18 12:17:54 -08:00
Alex Dadgar 156d5845d1 Fix api test 2015-12-18 12:17:54 -08:00
Alex Dadgar 55cc8c61b3 fix 2015-12-18 12:17:50 -08:00
Alex Dadgar ea119b7297 Update restart policy in mock 2015-12-18 12:17:18 -08:00
Alex Dadgar f1c41ed4cf Fix mock 2015-12-18 12:17:18 -08:00
Alex Dadgar 31c3e12957 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury 20da87a546 Merge pull request #604 from hashicorp/f-port-err-msg
Throwing an error if ports are not named instead of crashing while parsing a job spec
2015-12-18 12:07:53 -08:00
Diptanu Choudhury ebd2fdb930 Changed the error message 2015-12-18 12:07:27 -08:00
Alex Dadgar e2193c5c81 Merge pull request #586 from hashicorp/f-job-gc
Add garbage collection to jobs
2015-12-18 11:21:50 -08:00
Diptanu Choudhury c04f1e8d82 Throwing an error if ports are not named 2015-12-18 10:56:45 -08:00
Diptanu Choudhury e33a063bfc Added the change to service de-register to CHANGELOG 2015-12-17 16:47:49 -08:00
Diptanu Choudhury dd7cc3808c Merge pull request #602 from hashicorp/consul-dreg
Moving the de-register once a task moves to DEAD state
2015-12-17 16:46:17 -08:00
Diptanu Choudhury b1e07cfb9b Merge branch 'master' of github.com:hashicorp/nomad 2015-12-17 16:45:40 -08:00
Diptanu Choudhury d4129b9884 Added unzip to the image 2015-12-17 16:45:17 -08:00
Diptanu Choudhury d8e51bb6b6 Moving the de-register once a task moves to DEAD state 2015-12-17 16:41:29 -08:00
Alex Dadgar c4fabed720 update changelog 2015-12-17 16:36:37 -08:00
Alex Dadgar 34e1929683 Merge pull request #601 from hashicorp/b-retry-interval
Fix retry interval not applying sleep duration
2015-12-17 16:34:50 -08:00
Alex Dadgar 06e84205da Fix retry interval not applying sleep duration 2015-12-17 16:33:09 -08:00
Alex Dadgar dfdf41354e Update changelog 2015-12-17 15:58:04 -08:00
Alex Dadgar 275819ade3 Merge pull request #600 from hashicorp/b-task-status
Copy the task states from the client update
2015-12-17 15:40:59 -08:00
Alex Dadgar fa71d95a8f Copy the task states from the client update 2015-12-17 15:33:57 -08:00
Jakub Paweł Głazik a5954e1369 small refactor 2015-12-17 23:53:33 +01:00
Diptanu Choudhury aec9c44c09 Added some more deps into the vagrant box 2015-12-17 13:50:59 -08:00
Diptanu Choudhury 076d3fa8b6 Setting versions to 0.2.3 2015-12-17 13:29:41 -08:00
Diptanu Choudhury 5b5158a9ff Bumping version to 0.2.3 final 2015-12-17 13:23:32 -08:00
Diptanu Choudhury 2879b6ba54 Merge pull request #598 from hashicorp/dependencies
Removed a broken dependency
2015-12-17 13:13:44 -08:00
Diptanu Choudhury 0ec181e608 Removed a broken dependency 2015-12-17 13:12:28 -08:00
Clint 66b5b9638a Merge pull request #596 from hashicorp/b-exec-linux-runc-updates
Executors/Linux: Update Executor config struct
2015-12-17 10:50:57 -06:00
Clint Shryock 77b5639160 Executors/Linux: Update Executor config struct 2015-12-17 10:25:42 -06:00
Alex Dadgar 92823b71a8 merge 2015-12-16 15:01:15 -08:00
Alex Dadgar 561ccdb441 Use client state 2015-12-16 15:00:45 -08:00
Alex Dadgar 7bec30c2b3 Small cleanup 2015-12-16 15:00:45 -08:00
Alex Dadgar 6840bcb0bd Don't allow users to set gc and make batch gc 2015-12-16 15:00:45 -08:00
Alex Dadgar fbce019107 Remove from parser 2015-12-16 15:00:45 -08:00
Alex Dadgar 197d9f977c Fix test 2015-12-16 15:00:45 -08:00
Alex Dadgar f1d88bdf86 Remove user-specifiable gc threshold 2015-12-16 15:00:45 -08:00
Alex Dadgar 2218a79815 Add garbage collection to jobs 2015-12-16 15:00:45 -08:00