Commit Graph

2950 Commits

Author SHA1 Message Date
Diptanu Choudhury 9fc86deb43 Implemented the exec functioanlity for linux 2016-02-04 17:00:37 -08:00
Diptanu Choudhury 87f40135ea Using the plugin to spawn processes from the raw_exec driver 2016-02-04 17:00:37 -08:00
Diptanu Choudhury 57453086a7 Fixed the executor command 2016-02-04 17:00:37 -08:00
Diptanu Choudhury 4ed85d0ab2 Using a plugin to create the executor 2016-02-04 17:00:37 -08:00
Alex Dadgar 66f59e2dc0 Add tmp file to each task directory 2016-02-04 15:35:04 -08:00
Alex Dadgar 21c2368626 Fix java test 2016-02-04 15:26:37 -08:00
Alex Dadgar a5ba2153f3 Changelog 2016-02-04 15:20:19 -08:00
Alex Dadgar 77b89d15e4 Extract artifacts to the root of the task, not in the local directory 2016-02-04 15:18:22 -08:00
Alex Dadgar 15a9a079dd Merge pull request #755 from hashicorp/b-alloc-runner-destroy
Fix AllocRunner not capturing destroy signal and tests
2016-02-04 15:17:53 -08:00
Alex Dadgar b45b101240 Serialize the list of mounted entries in the alloc dir 2016-02-04 14:30:32 -08:00
Alex Dadgar e8067029cc Small fixes 2016-02-04 14:19:27 -08:00
Alex Dadgar 117bef6515 Fix AllocRunner not capturing destroy signal and tests 2016-02-04 13:09:53 -08:00
Alex Dadgar 133b8e8025 changelog 2016-02-04 10:20:42 -08:00
Alex Dadgar 1a58923c42 Merge pull request #751 from hashicorp/b-client-updates
Client handles updates to KillTimeout and Restart Policy
2016-02-04 10:19:28 -08:00
Alex Dadgar 9c3312f735 CHANGELOG 2016-02-04 10:19:02 -08:00
Alex Dadgar b886916209 Merge pull request #748 from achanda/docker_version
Update docker before testing
2016-02-04 10:17:36 -08:00
Alex Dadgar a36a97b051 Merge pull request #749 from iverberk/f-fingerprint-update-node
Reregister node when periodic fingerprint changes node properties
2016-02-04 10:16:38 -08:00
Ivo Verberk 73ab620f61 Add comments to hasNodeChanged and remove superfluous else block 2016-02-04 08:19:34 +01:00
Alex Dadgar b4774fec68 Merge pull request #753 from hashicorp/b-computed-class
Fix computed class when the job has multiple task groups
2016-02-03 21:24:31 -08:00
Alex Dadgar 25cb7fc03d Fix computed class when the job has multiple task groups 2016-02-03 21:22:18 -08:00
Alex Dadgar 9619f61832 Fix tests 2016-02-03 19:58:39 -08:00
Alex Dadgar 41e1174f72 Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Alex Dadgar b6f9e9c61c Move restart tracker creation into task runner 2016-02-03 16:16:48 -08:00
Alex Dadgar b737265c12 Merge branch 'master' of https://github.com/hashicorp/nomad 2016-02-03 16:02:05 -08:00
Alex Dadgar 7bb0de2aec changelog 2016-02-03 16:01:58 -08:00
Alex Dadgar 66631383f9 Merge pull request #750 from hashicorp/b-node-drain
Fix node drain not working properly
2016-02-03 16:00:59 -08:00
Alex Dadgar 4e527b26b0 test 2016-02-03 14:15:02 -08:00
Ivo Verberk d5a67aba86 Reregister node when periodic fingerprint changes node properties 2016-02-03 21:10:58 +01:00
Alex Dadgar d930d488b5 Fix node drain 2016-02-03 12:00:43 -08:00
Abhishek Chanda 23f4180f34 Update docker before testing
Lifted from https://github.com/fsouza/go-dockerclient
2016-02-03 00:47:11 -08:00
Alex Dadgar 93c0720eec changelog 2016-02-02 17:56:12 -08:00
Alex Dadgar ac752c7757 Merge pull request #746 from hashicorp/b-replacing-complete-batch-allocs
Only replace batch allocations that have failed
2016-02-02 17:54:46 -08:00
Alex Dadgar c7821f13d7 Only replace batch allocations that have failed 2016-02-02 17:40:32 -08:00
Alex Dadgar 7a32ebcae1 Merge pull request #744 from hashicorp/f-on-restart
Restart on-success shouldn't be user specifiable
2016-02-02 17:40:05 -08:00
Alex Dadgar 8aa3853399 Fix test 2016-02-02 17:39:01 -08:00
Alex Dadgar e3587f5f24 Another test fix 2016-02-02 17:35:06 -08:00
Alex Dadgar 9a79521999 Fix test 2016-02-02 17:35:06 -08:00
Alex Dadgar 6f20d3f435 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar db7997d08c Merge branch 'master' of https://github.com/hashicorp/nomad 2016-02-02 16:13:34 -08:00
Alex Dadgar 2b17dcdf78 Zero IOPS by default 2016-02-02 16:13:25 -08:00
Alex Dadgar 931283c5e3 Merge pull request #745 from hashicorp/b-rkt-version-regex
Update Rkt regex to determine version
2016-02-02 15:55:50 -08:00
Alex Dadgar 30ccc2f46d Merge pull request #742 from hashicorp/b-restart-attempts
Restart policy handling / validation adjustments
2016-02-02 15:47:07 -08:00
Alex Dadgar 2d42cb3e55 update the regex 2016-02-02 15:39:45 -08:00
Ryan Uber 198a1a3cd4 structs: more restart policy validation 2016-02-02 14:32:30 -08:00
Ryan Uber 1c7cdb9577 client: obey restart policy when attempts == 0 2016-02-02 14:17:39 -08:00
Alex Dadgar ab58ca549a changelog 2016-02-02 14:13:10 -08:00
Alex Dadgar 4bb8b60a2f Merge pull request #739 from hashicorp/f-min-resources
Default/Validate resources.
2016-02-02 14:11:45 -08:00
Alex Dadgar 4748bfd869 Tests 2016-02-02 13:50:30 -08:00
Alex Dadgar f83b26029e Fix test 2016-02-02 13:27:50 -08:00
Alex Dadgar 9c9fe2ea2d Network check 2016-02-02 13:27:50 -08:00