router,discoverd: Fix sync w/ pruned etcds.

Signed-off-by: Michael Elsdörfer <michael@elsdoerfer.com>
Merge pull request #178 from miracle2k/router-etcd-init

router: Fix sync with pruned etcd instances.
discoverd,router: Fix etcd fullsync

The newKeys map is used to determine what keys were
deleted since the last sync.

Closes #187

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
router: Support custom etcd prefix.

Signed-off-by: Michael Elsdörfer <michael@elsdoerfer.com>
Merge pull request #179 from miracle2k/router-custom-prefix

router: Support custom etcd prefix.
util/packer: Add EC2 template

Signed-off-by: Lewis Marshall <lewis@lmars.net>
util/packer: Copy EC2 AMI to eu-west-1

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Support filtering tests on the command line

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #195 from flynn/packer-ec2

util/packer: Add EC2 template
script: Add script to run integration tests against local cluster

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #196 from flynn/script-run-tests

Add script to run integration tests against local cluster
controller: Handle controller crash in scheduler

Signed-off-by: Lewis Marshall <lewis@lmars.net>
controller: Start scheduler jobs with app_name metadata

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Test controller restarts

Signed-off-by: Lewis Marshall <lewis@lmars.net>
controller: Stop the newest jobs when scaling down

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Exit on failure in TestBasic

Signed-off-by: Lewis Marshall <lewis@lmars.net>
bootstrap: Wait for the controller route to respond

Signed-off-by: Lewis Marshall <lewis@lmars.net>