Commit graph

2743 commits

Author SHA1 Message Date
Ryan Uber 086e1d9daa testutil: enable dev mode using a config flag.
This flag is not normally supported in Nomad, but we really need
to use it for testing to lower the timing values for registration
retries et. al. Instead of just enabling it on all tests, we
provide a bool flag in the config, which just makes the test
server pass the extra CLI arg when true.
2015-09-11 21:25:46 -07:00
Ryan Uber 6e10bd8af4 testutil: re-enable dev mode for short timing values 2015-09-11 20:50:08 -07:00
Ryan Uber 6fcec7088e api: correct status leader test 2015-09-11 20:35:13 -07:00
Ryan Uber 1ff724ab25 client: alloc dirs tolerate missing directories 2015-09-11 20:32:55 -07:00
Ryan Uber 635b7c74f9 Merge pull request #39 from hashicorp/f-more-api
Fill missing API endpoint methods
2015-09-11 17:44:25 -07:00
Ryan Uber 987bbe6cd2 Merge pull request #33 from hashicorp/f-network
Network config
2015-09-11 17:43:32 -07:00
Chris Bednarski 9a722fc11e Merge pull request #38 from hashicorp/website
website
2015-09-11 17:41:01 -07:00
Ryan Uber 4334dc56b7 api: use strconv 2015-09-11 17:20:33 -07:00
Chris Bednarski 91194d9337 Update the interface, add UniversalExecutor, add stub for LinuxExecutor 2015-09-11 17:12:48 -07:00
Ryan Uber fb3e3f5b13 api: add status endpoint 2015-09-11 17:02:56 -07:00
captainill dd95fe4de1 website 2015-09-11 17:01:02 -07:00
Ryan Uber b86bc3e73f api: add nodes endpoints 2015-09-11 16:51:18 -07:00
Clint Shryock 59736db9ec Base Vagrantfile 2015-09-11 16:58:16 -05:00
Chris Bednarski f511eeac0e Added stub / spec for executor interface 2015-09-11 12:35:03 -07:00
Chris Bednarski 0cc7ed77cc Merge pull request #35 from hashicorp/b-serfv4
Change serf version to 4 so the entire test suite doesn't fail
2015-09-11 12:34:21 -07:00
Ryan Uber 90f18850a5 agent: add default bind addr and port numbers 2015-09-11 12:19:05 -07:00
Ryan Uber 3b5004f2a4 agent: split out server config parser, add tests 2015-09-11 12:06:42 -07:00
Armon Dadgar 4333b7370b scheduler: recompute scan limit on SetNodes 2015-09-11 12:03:41 -07:00
Armon Dadgar e804567324 scheduler: Adding SetLimit to LimitIterator 2015-09-11 12:01:22 -07:00
Ryan Uber 8d816ec883 agent: allow specifying advertise addrs in ip:port format 2015-09-11 11:27:14 -07:00
Chris Bednarski 78bbad2d8d Remove todo because there is no serf version 5 2015-09-11 11:22:36 -07:00
Chris Bednarski 5afa7e4681 Merge pull request #34 from hashicorp/f-server-logging
Added logging to server startup so we can see where it fails
2015-09-11 11:20:20 -07:00
Ryan Uber 9ce9552a6b agent: test listener from config 2015-09-11 11:10:55 -07:00
Chris Bednarski da93d4a30f Change error to err to be consistent with other usage 2015-09-11 10:26:33 -07:00
Chris Bednarski 39feffd67f Change debug to info 2015-09-11 10:24:52 -07:00
Chris Bednarski 6ea318cacb Change to use the logger instance defined earlier 2015-09-11 10:23:53 -07:00
Chris Bednarski d93459b797 Change serf version to 4 so the entire test suite doesn't fail 2015-09-11 10:21:15 -07:00
Chris Bednarski 3000ef07c1 Added logging to server startup so we can see where it fails 2015-09-11 10:20:36 -07:00
Ryan Uber 3ce09d5c34 Merge pull request #31 from hashicorp/f-client
API client package
2015-09-10 19:21:56 -07:00
Ryan Uber fa614cd3ef agent: adjust tests 2015-09-10 19:04:06 -07:00
Ryan Uber 02564caa70 testutil: test server uses offset ports 2015-09-10 18:57:53 -07:00
Ryan Uber 35580ef9ec agent: use ports/addresses/advertise_addrs for network config 2015-09-10 18:37:42 -07:00
Ryan Uber 936bca5194 agent: addresses and ports are configurable 2015-09-10 17:48:02 -07:00
Ryan Uber feda8114cb Merge pull request #32 from hashicorp/f-config
Config merging
2015-09-10 12:47:39 -07:00
Chris Bednarski f3e48da0f8 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-09-10 11:35:18 -07:00
Chris Bednarski 4f83bc7090 Fix typos 2015-09-10 11:35:03 -07:00
Chris Bednarski 11c79b58a4 Merge pull request #28 from hashicorp/f-docker-resource-constraints
Add docker resource constraints for CPU and Memory
2015-09-10 11:30:24 -07:00
Chris Bednarski cb6a50c723 Merge pull request #23 from hashicorp/f-driver-config
Added config to drivers; needed for docker driver to get the socket endpoint
2015-09-10 11:29:42 -07:00
Ryan Uber b95ed91628 agent: merge telemetry, server, and client configs 2015-09-10 11:25:19 -07:00
Ryan Uber bc683a800e agent: config loading tests 2015-09-09 22:11:48 -07:00
Ryan Uber 79b4db11e0 testutil: server uses dynamic ports 2015-09-09 21:43:11 -07:00
Ryan Uber faf5cc0447 agent: config merge works + tests 2015-09-09 21:42:50 -07:00
Chris Bednarski 2ccad3d6e8 Change panic to a more helpful message 2015-09-09 19:04:06 -07:00
Chris Bednarski 237bf5f68e Merge branch 'f-driver-config' into f-docker-resource-constraints 2015-09-09 18:47:35 -07:00
Chris Bednarski 2a40673a3a Relax Qemu version regexp to accomodate build identifier in the version command 2015-09-09 18:39:40 -07:00
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