Paul Bellamy
11931f3ea2
[tests] extract gliderlabs/alpine and aanand/docker-dnsutils into var in
...
config.sh
@bboreham made me do it.
2015-05-22 15:52:36 +01:00
Paul Bellamy
cc82213147
add 'weave launch-proxy --with-ipam' flag
2015-05-22 15:52:36 +01:00
Paul Bellamy
d0320b43f9
realigning the weave help output columns
2015-05-22 10:04:10 +01:00
Paul Bellamy
73071f2c62
cleanup proxy test helpers
2015-05-22 10:04:09 +01:00
Paul Bellamy
c9409c5342
[proxy] Adding basic docs about IPAM integration
2015-05-21 15:37:37 +01:00
Paul Bellamy
46bdd8c67d
Proxy support for IPAM
...
Pass `-e WEAVE_CIDR=` to your container to use IPAM. If IPAM is not
enabled on the weave router, the container will be booted without weave
networking.
I'm not crazy about adding *another* undocumented weave cli command
(ipam-cidr), but it saves the proxy messing around finding container
IPs.
2015-05-21 15:37:37 +01:00
Paul Bellamy
c63d2e531a
Merge pull request #712 from errordeveloper/vagrantfile-more-cleanup
...
Improve readability of Vagrantfile and cleanup this official image
2015-05-20 16:47:28 +01:00
Paul Bellamy
d24e75f76b
extract vagrantfile shared bits
2015-05-20 15:42:08 +01:00
Paul Bellamy
eeaa6c9e2c
use grep in /sys to verify ethwe is up in tests
...
Closes #707 . `ip link show` seems to "lag" the real state. In tests
checking the physical link state is good enough.
2015-05-20 13:36:36 +01:00
Paul Bellamy
369466d3d4
refactor proxy entrypoint rewriting to match docker daemon
...
Closes #709
2015-05-20 11:41:15 +01:00
Paul Bellamy
818e162fff
[proxy] use exec instead of run, to replace weavewait with subprocess
...
Closes #708
2015-05-20 10:35:52 +01:00
Paul Bellamy
610bc46970
proxy should provide reasonable error when execing on a container which doesn't exist
2015-05-19 17:37:23 +01:00
Paul Bellamy
e6b587ea8d
proxy needs to add weavewait to execs as well
...
Bug came up in a test where we are restarting and doing an exec checking
a network interface right away. weavewait is only added if the container
has a WEAVE_CIDR var set, the same as at container creation.
2015-05-19 17:36:53 +01:00
Paul Bellamy
62242cb640
fixup bad golint refactor
2015-05-19 11:46:03 +01:00
Paul Bellamy
fdd0bd3b35
remove usage of backticks in bash script
2015-05-19 11:26:55 +01:00
Paul Bellamy
ee07d645b4
golint cleanup of else block
2015-05-19 10:47:57 +01:00
Paul Bellamy
b71a428369
proxy should be sending error code to client, instead of exiting
2015-05-19 10:34:46 +01:00
Paul Bellamy
6911dc8d38
updating proxy with-dns description to match docs
2015-05-19 10:34:46 +01:00
Paul Bellamy
1e7c82bb58
use busybox instead of ubuntu for proxy image pulling test
...
busybox is smaller. gliderlabs/alpine is even smaller, but is used by
weaveexec, so we can't remove it.
2015-05-19 10:34:46 +01:00
Paul Bellamy
2f8c5d7bd9
proxy interceptors implicitly modify arguments, instead of returning them
2015-05-19 10:34:46 +01:00
Paul Bellamy
ca4b8e6f8e
add proxy support for 'docker restart'
2015-05-19 10:34:46 +01:00
Paul Bellamy
2a120e5565
refactor proxy rawStream handler
2015-05-19 10:34:46 +01:00
Paul Bellamy
6fa0a9d70c
moving weaveproxy docs off 'experimental-features'
2015-05-19 10:34:46 +01:00
Paul Bellamy
55d17ba3bf
separate proxy package into weaveproxy and proxy
2015-05-19 10:34:46 +01:00
Paul Bellamy
bedc20c7c1
extract docker-bridge-ip fetching from proxy into bash script
2015-05-19 10:34:46 +01:00
Paul Bellamy
96a69d2303
Add dns support for the proxy
...
In the proxy, I swapped the 'flag' library for
'code.google.com/p/getopt', which uses double-dash flags.
proxy lets 'weave attach' do dns registration on container start
proxy needs to set DNSSearch if not specified
2015-05-19 10:34:45 +01:00
Paul Bellamy
444b1482fa
add weavewait
...
binocarlos/wait-for-weave is Apache2 licensed, so attribution/etc applies. Thus, we
re-invent the wheel here.
2015-05-19 10:34:45 +01:00
Paul Bellamy
9389001a1d
[docs] Initial version of proxy docs
2015-05-19 10:34:45 +01:00
Paul Bellamy
5a6a67f632
Add integration test for the proxy, using docker-py client
2015-05-19 10:34:45 +01:00
Paul Bellamy
d8e1d0798e
replace test usage of ifconfig with ip link show
2015-05-19 09:48:12 +01:00
Paul Bellamy
defcfa5d26
test *_on helpers should send non-result output to &2, so that asserts work
...
Previously, the result output would include:
Docker on: <command>
result output text
etc...
But this would cause: assert "docker_on ..." to fail
2015-05-16 18:03:21 +01:00
Paul Bellamy
f0578f5f66
forgot to give Overview section an anchor
2015-05-13 14:17:56 +01:00
Paul Bellamy
39f87a27e5
Add ToC to how-it-works docs page
2015-05-13 13:45:06 +01:00
Paul Bellamy
8f1f6741e3
Merge pull request #642 from errordeveloper/post-docs-move
...
Fixes post #612
2015-05-11 17:02:35 +01:00
Paul Bellamy
9c5323ee4f
Merge pull request #612 from errordeveloper/post-docs-move
...
Post docs move
2015-05-08 13:40:35 +01:00
Paul Bellamy
5e5b3ba65e
Merge pull request #638 from weaveworks/circle
...
More CircleCI Improvements
2015-05-08 10:19:18 +01:00
Paul Bellamy
93012a1cfd
Merge pull request #637 from weaveworks/circle
...
Improvements to circle ci integration
2015-05-07 17:32:53 +01:00