Commit Graph

627 Commits

Author SHA1 Message Date
Armon Dadgar
95fcbef21b Merge pull request #46 from hashicorp/f-job-parser
Job Spec Parser
2015-09-15 10:16:28 -07:00
Ryan Uber
9b8101b0bf command: trim a leading 'v' from git tags 2015-09-14 20:55:34 -07:00
Ryan Uber
c778599e9e command: separate k/v pairs with an '=' 2015-09-14 20:29:08 -07:00
Mitchell Hashimoto
b46ef51404 jobspec: defaults 2015-09-14 18:34:26 -07:00
Mitchell Hashimoto
67583aea96 jobspec: validate singletons 2015-09-14 18:30:26 -07:00
Mitchell Hashimoto
2a6ebd4aaa jobspec: parse network resources 2015-09-14 18:27:37 -07:00
Mitchell Hashimoto
47499db3bb jobspec: parse regions 2015-09-14 18:18:49 -07:00
Mitchell Hashimoto
9d9f275d4f jobspec: task level constraints 2015-09-14 17:50:34 -07:00
Mitchell Hashimoto
058d4bcc36 jobspec: job-level constraints 2015-09-14 17:48:11 -07:00
Mitchell Hashimoto
a8fd4c12d9 jobspec: parse job-level meta fields 2015-09-14 17:46:52 -07:00
Mitchell Hashimoto
c616ea90ae jobspec: parsing 2015-09-14 17:43:42 -07:00
Armon Dadgar
cf3c6aa8a7 SCADA support 2015-09-14 15:33:08 -07:00
Ryan Uber
d4e8279293 Merge pull request #42 from hashicorp/f-cli
Base CLI
2015-09-14 14:13:10 -07:00
Ryan Uber
f19682d87e command: tests 2015-09-14 14:08:50 -07:00
Ryan Uber
ac6de2c157 command: guard tests from multiple parallel calls 2015-09-14 14:06:37 -07:00
Ryan Uber
3d8b115943 api: fixing join tests 2015-09-14 14:04:30 -07:00
Ryan Uber
c9bb562ec1 testutil: fix bootstrap on test server 2015-09-14 13:52:19 -07:00
Ryan Uber
843a99d5d5 api: fix agent test 2015-09-14 13:24:03 -07:00
Ryan Uber
7e26f938a2 command: use meta struct for common options 2015-09-14 13:24:03 -07:00
Ryan Uber
34d77eeb04 command: kill AllAtOnce in job list mode 2015-09-14 13:24:03 -07:00
Ryan Uber
0e16348052 command: cleanup 2015-09-14 13:24:03 -07:00
Ryan Uber
90108c7820 command: add node-drain command 2015-09-14 13:24:03 -07:00
Ryan Uber
98708120f7 command: more cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber
4b708bf6df command: use testutil.TestServer in command tests 2015-09-14 13:24:03 -07:00
Ryan Uber
8246db154d command: cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber
8698c1d757 command: fix test agent helper 2015-09-14 13:24:03 -07:00
Ryan Uber
a0c8a0bc0d command: add node-status command 2015-09-14 13:24:03 -07:00
Ryan Uber
74a0e11a9b command: add agent-join command 2015-09-14 13:24:03 -07:00
Ryan Uber
8301dd0405 api: return the number of nodes joined 2015-09-14 13:24:03 -07:00
Ryan Uber
ad40e1a0a6 api: fix status type 2015-09-14 13:24:03 -07:00
Ryan Uber
39592e63b3 command: convert members so we get a descriptive status 2015-09-14 13:24:03 -07:00
Ryan Uber
f76e26906d command: adding agent-members command 2015-09-14 13:24:03 -07:00
Ryan Uber
3e86dc2657 command: add agent-force-leave command 2015-09-14 13:24:02 -07:00
Ryan Uber
0f597d3984 command: tests 2015-09-14 13:24:02 -07:00
Ryan Uber
0d3cbab4f4 command: add agent-info command 2015-09-14 13:24:02 -07:00
Ryan Uber
7901677c2c command: unexport helpers 2015-09-14 13:24:02 -07:00
Ryan Uber
45c5f4f9cc command: adjustments for status 2015-09-14 13:24:02 -07:00
Ryan Uber
314ce4be43 command: basic status command 2015-09-14 13:24:02 -07:00
Ryan Uber
3f4319cdf7 command: add helpers 2015-09-14 13:24:02 -07:00
Clint
9cfa591de1 Merge pull request #37 from hashicorp/vagrant
Add Base Vagrantfile
2015-09-14 10:19:07 -05:00
Clint Shryock
4b0b7d1734 add note about using Vagrant file to the README 2015-09-14 10:18:40 -05:00
Clint Shryock
fbe18c233c Merge branch 'master' into vagrant
* master: (57 commits)
  api: use stub structs
  README fillin
  nomad: fixing unit tests
  scheduler: pass failure reason to ExhaustedNode
  nomad: thread alloc fit failure reason through
  nomad: rename region1 to global. Fixes #41
  client: Use Alloc.TaskResouces to override Task.Resources
  scheduler: in-place update should preserve network offer
  scheduler: track dimension of exhaustion
  schedule: avoid in-place update of task if network resources are different
  scheduler: expose reason network offer failed
  nomad: adding reason network offer failed
  mock: use network resources
  scheduler: thread through the TaskResources
  nomad: removing old network index lookup methods
  nomad: Resource Superset ignores network in favor of NetworkIndex
  nomad: update for new AllocsFit API
  nomad: remove PortsOvercommited in favor of NetworkIndex
  scheduler: use the new network index
  nomad: exposing IntContains
  ...
2015-09-14 10:13:37 -05:00
Clint Shryock
a7be30bf4f small update to remove dupe 2015-09-14 10:06:12 -05:00
Ryan Uber
a713f56e4c Merge pull request #45 from hashicorp/f-api-updates
API has ListStub's
2015-09-13 20:11:13 -07:00
Ryan Uber
d2597982ad api: use stub structs 2015-09-13 20:02:22 -07:00
Armon Dadgar
9a8809c7f6 README fillin 2015-09-13 19:04:06 -07:00
Armon Dadgar
1440b99525 nomad: fixing unit tests 2015-09-13 18:46:40 -07:00
Armon Dadgar
d790b13237 scheduler: pass failure reason to ExhaustedNode 2015-09-13 18:38:26 -07:00
Armon Dadgar
ab20edb5c4 nomad: thread alloc fit failure reason through 2015-09-13 18:38:11 -07:00
Armon Dadgar
c9d17611bf nomad: rename region1 to global. Fixes #41 2015-09-13 18:18:40 -07:00