Commit graph

685 commits

Author SHA1 Message Date
Ryan Uber d3c37170e2 website: finish agent-* docs 2015-09-14 19:40:16 -07:00
Ryan Uber 7d7baeff1a website: working on agent docs 2015-09-14 19:40:16 -07:00
Ryan Uber c71c739469 website: start CLI documentation 2015-09-14 19:40:16 -07:00
Ryan Uber 8fc6935edb website: add note on CLI context 2015-09-14 19:40:16 -07:00
Ryan Uber 1fc023301f website: prune some imports 2015-09-14 19:40:15 -07:00
Chris Bednarski 06073b171d Use Linux on Linux 2015-09-14 19:38:21 -07:00
Chris Bednarski 6eb3d86528 Run as nobody if no user is specified 2015-09-14 19:04:29 -07:00
Mitchell Hashimoto 4aefc3ebb2 jobspec: defaults 2015-09-14 18:34:26 -07:00
Mitchell Hashimoto 2e9e738036 jobspec: validate singletons 2015-09-14 18:30:26 -07:00
Mitchell Hashimoto 9c9e3ed083 jobspec: parse network resources 2015-09-14 18:27:37 -07:00
Mitchell Hashimoto 42a36b300b jobspec: parse regions 2015-09-14 18:18:49 -07:00
Mitchell Hashimoto 03e94249e2 jobspec: task level constraints 2015-09-14 17:50:34 -07:00
Mitchell Hashimoto c4fdfa2897 jobspec: job-level constraints 2015-09-14 17:48:11 -07:00
Mitchell Hashimoto 8a006f2711 jobspec: parse job-level meta fields 2015-09-14 17:46:52 -07:00
Mitchell Hashimoto 9bd1c2f177 jobspec: parsing 2015-09-14 17:43:42 -07:00
Chris Bednarski e4d3aad44e Send signal 0 to check whether the process is alive 2015-09-14 16:16:56 -07:00
Chris Bednarski 0425ae941c Implemented Linux driver with RunAs functionality -- added errors to RunAs and Limit 2015-09-14 15:57:21 -07:00
Armon Dadgar 53834b39ba SCADA support 2015-09-14 15:33:08 -07:00
Ryan Uber 710fcf45e6 Merge pull request #42 from hashicorp/f-cli
Base CLI
2015-09-14 14:13:10 -07:00
Ryan Uber 709c04dbde command: tests 2015-09-14 14:08:50 -07:00
Ryan Uber 4eddeebc9b command: guard tests from multiple parallel calls 2015-09-14 14:06:37 -07:00
Ryan Uber 3a84c96429 api: fixing join tests 2015-09-14 14:04:30 -07:00
Ryan Uber 8be2546b77 testutil: fix bootstrap on test server 2015-09-14 13:52:19 -07:00
Ryan Uber b9cd47807c api: fix agent test 2015-09-14 13:24:03 -07:00
Ryan Uber 7b5fd8a214 command: use meta struct for common options 2015-09-14 13:24:03 -07:00
Ryan Uber bfb60d6a06 command: kill AllAtOnce in job list mode 2015-09-14 13:24:03 -07:00
Ryan Uber 18745e6e68 command: cleanup 2015-09-14 13:24:03 -07:00
Ryan Uber c6fdb6060a command: add node-drain command 2015-09-14 13:24:03 -07:00
Ryan Uber 1183f0f270 command: more cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber c363bc95f5 command: use testutil.TestServer in command tests 2015-09-14 13:24:03 -07:00
Ryan Uber b40d6715f6 command: cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber 578934fb17 command: fix test agent helper 2015-09-14 13:24:03 -07:00
Ryan Uber be3e081dec command: add node-status command 2015-09-14 13:24:03 -07:00
Ryan Uber 3118043a4c command: add agent-join command 2015-09-14 13:24:03 -07:00
Ryan Uber 761aad186a api: return the number of nodes joined 2015-09-14 13:24:03 -07:00
Ryan Uber 8961b910d5 api: fix status type 2015-09-14 13:24:03 -07:00
Ryan Uber 92c2c58a37 command: convert members so we get a descriptive status 2015-09-14 13:24:03 -07:00
Ryan Uber 8053570f18 command: adding agent-members command 2015-09-14 13:24:03 -07:00
Ryan Uber 7cdaf95f4e command: add agent-force-leave command 2015-09-14 13:24:02 -07:00
Ryan Uber fe245396d1 command: tests 2015-09-14 13:24:02 -07:00
Ryan Uber f0ee34651a command: add agent-info command 2015-09-14 13:24:02 -07:00
Ryan Uber b047700788 command: unexport helpers 2015-09-14 13:24:02 -07:00
Ryan Uber 1b026abf08 command: adjustments for status 2015-09-14 13:24:02 -07:00
Ryan Uber a307f9b688 command: basic status command 2015-09-14 13:24:02 -07:00
Ryan Uber 4d5901c1ae command: add helpers 2015-09-14 13:24:02 -07:00
Clint 9958e90632 Merge pull request #37 from hashicorp/vagrant
Add Base Vagrantfile
2015-09-14 10:19:07 -05:00
Clint Shryock 557feaf10b add note about using Vagrant file to the README 2015-09-14 10:18:40 -05:00
Clint Shryock 676a27da10 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 b328eb9933 small update to remove dupe 2015-09-14 10:06:12 -05:00
Ryan Uber 3c855b8c2b Merge pull request #45 from hashicorp/f-api-updates
API has ListStub's
2015-09-13 20:11:13 -07:00