Ryan Uber
fae5a39666
api: support force-eval
2015-09-09 18:39:24 -07:00
Chris Bednarski
cc4d361ee9
Updated Qemu and tests to use DriverContext
2015-09-09 18:38:52 -07:00
Chris Bednarski
0281debee4
Merge branch 'master' into f-driver-config
...
Conflicts:
client/driver/driver.go
2015-09-09 18:19:19 -07:00
Ryan Uber
5e1932136a
api: more tests
2015-09-09 18:10:16 -07:00
Chris Bednarski
a695e311dc
Replace logging and config with DriverContext, which allows us to expand the dependency injection without changing the interface
2015-09-09 18:06:23 -07:00
Chris Bednarski
1ff755f31a
Merge pull request #24 from hashicorp/qemu-driver
...
Basic Qemu driver implementation
2015-09-09 17:43:13 -07:00
Ryan Uber
7926aed642
api: more tests for jobs
2015-09-09 17:29:43 -07:00
Chris Bednarski
00d8de4ecf
Merge pull request #29 from hashicorp/b-sigterm
...
Change SIGINT to SIGTERM
2015-09-09 17:07:57 -07:00
Ryan Uber
2cbdd4c1c3
api: working on evaluations
2015-09-09 13:48:56 -07:00
Chris Bednarski
9965d28a22
Add logger to the dockerHandle created by Open()
2015-09-09 13:43:28 -07:00
Chris Bednarski
a731a84136
Cleanup based on PR feedback
...
- Add validation that Resources.MemoryMB and Resources.CPU have non-zero values
- Change log calls to use logger whenever possible
- Change log format to add colon after driver.docker
2015-09-09 13:35:10 -07:00
Ryan Uber
a807612091
api: allow query options everywhere
2015-09-09 13:18:50 -07:00
Ryan Uber
aff13fc84c
api: restructure client
2015-09-09 13:05:27 -07:00
Clint Shryock
037ae6d6eb
driver/qemu+java: Code cleanups
2015-09-09 14:38:42 -05:00
Clint Shryock
bd0f92f977
driver/qemu: Actually use the requred Memory from the Task
2015-09-09 14:30:35 -05:00
Clint Shryock
2611523b3b
driver/qemu: Require a memory resource on the task
2015-09-09 14:28:16 -05:00
Chris Bednarski
ac277c5765
Change SIGINT to SIGTERM
2015-09-09 01:52:58 -07:00
Chris Bednarski
b70b852662
Added preliminary resource constraints for docker; CPU and Memory
2015-09-09 01:08:31 -07:00
Ryan Uber
3ec197d440
api: structs are composable
2015-09-09 00:33:56 -07:00
Ryan Uber
7acc90aa32
api: add constraints generators
2015-09-08 19:27:04 -07:00
Ryan Uber
1904724839
api: finishing jobs
2015-09-08 18:42:34 -07:00
Ryan Uber
05cd0b7990
api: look up allocations by job ID
2015-09-08 17:52:47 -07:00
Ryan Uber
4196ab8fb1
api: allow retrieving jobs by ID
2015-09-08 17:20:52 -07:00
Ryan Uber
d47772f8a6
api: return query meta/write meta
2015-09-08 16:45:16 -07:00
Ryan Uber
0f31b16fae
api: starting on jobs
2015-09-08 16:24:26 -07:00
Ryan Uber
4ff1753466
api: starting on allocs
2015-09-08 15:37:07 -07:00
Ryan Uber
40a5696fb2
api: finish agent endpoint
2015-09-08 14:47:29 -07:00
Ryan Uber
801db291ed
api: agent join api works
2015-09-08 14:26:53 -07:00
Ryan Uber
9bd115e0fd
api: allow query parameters in query/write/delete
2015-09-08 14:26:26 -07:00
Clint Shryock
98c53162d2
driver/qemu: add to builtin drivers
2015-09-08 16:25:36 -05:00
Clint Shryock
d2822a435d
driver/qemu: Basic lifecycle management of Qemu images
2015-09-08 16:08:49 -05:00
Chris Bednarski
4eb8fc5188
Added config to drivers; needed for docker driver to get the socket endpoint
2015-09-08 12:43:02 -07:00
Ryan Uber
5a8bc52c56
api: region is queryable, optimize agent caching
2015-09-08 12:13:39 -07:00
Ryan Uber
500daf5d7f
api: datacenter is cached and queryable
2015-09-08 12:01:54 -07:00
Ryan Uber
c1f4faaab3
api: allow querying node name from agent
2015-09-08 11:51:20 -07:00
Ryan Uber
f5c57cedfa
api: add agent self call
2015-09-08 11:41:03 -07:00
Ryan Uber
76c7584eaf
scripts: fix build warning
2015-09-08 11:24:28 -07:00
Clint Shryock
c1f982a1d0
Merge branch 'master' into qemu-driver
...
* master: (66 commits)
Use a single implementation of GenerateUUID
scheduler: use update strategy for rolling updates
nomad: adding helper structs
scheduler: Adding CreateEval to Planner
nomad: worker supports create eval
nomad: guard eval creation based on parent eval
nomad: adding Eval.Create endpoint
nomad: support time wait for evaluations
nomad: adding fields to cause an evaluation to 'wait'
scheduler: support in-place allocation updates
scheduler: util method to diff task groups
nomad: helper struct func
nomad: PopUpdate should minimize plan size
nomad: adding helper to manipulate plans
scheduler: share context and stack
scheduler: allow updating the base nodes
scheduler: allow StaticIterator to update base set
scheduler: pull node shuffle into util
nomad: adding node GC
nomad: using Raft StartAsLeader to make tests faster
...
2015-09-08 09:52:40 -05:00
Chris Bednarski
bd06e4bad2
Merge pull request #19 from hashicorp/test-resources
...
Added example python and java apps for testing
2015-09-07 17:03:09 -07:00
Armon Dadgar
ea0795995d
Use a single implementation of GenerateUUID
2015-09-07 15:23:03 -07:00
Armon Dadgar
b0ef497f92
scheduler: use update strategy for rolling updates
2015-09-07 15:17:39 -07:00
Armon Dadgar
293e44474b
nomad: adding helper structs
2015-09-07 15:08:50 -07:00
Armon Dadgar
e7c0bb5e1e
scheduler: Adding CreateEval to Planner
2015-09-07 14:26:29 -07:00
Armon Dadgar
df16cea2a4
nomad: worker supports create eval
2015-09-07 14:23:48 -07:00
Armon Dadgar
a2a58e0e98
nomad: guard eval creation based on parent eval
2015-09-07 14:21:38 -07:00
Armon Dadgar
96a8d079e2
nomad: adding Eval.Create endpoint
2015-09-07 14:17:11 -07:00
Armon Dadgar
fe2e046481
nomad: support time wait for evaluations
2015-09-07 13:00:45 -07:00
Armon Dadgar
31f2c4fbaa
nomad: adding fields to cause an evaluation to 'wait'
2015-09-07 12:47:48 -07:00
Armon Dadgar
c8bcb292a0
scheduler: support in-place allocation updates
2015-09-07 12:27:12 -07:00
Armon Dadgar
c2eff48412
scheduler: util method to diff task groups
2015-09-07 12:25:23 -07:00