Matthias Radestock
1a4aceea21
make various release script vars overridable
...
and pass SUDO to the `make` invocation
2015-01-08 19:05:25 +00:00
Bryan Boreham
f24edf755f
Add tests for server.go
2015-01-08 18:38:38 +00:00
Bryan Boreham
bd2844d186
Split http-startup code from server-startup
2015-01-08 18:38:38 +00:00
Michael Bridgen
89fa52818c
Account for PTR answers in mdns_client
...
En passant, ResponseA -> the more versatile Response.
2015-01-08 18:30:30 +00:00
Ilya Dmitrichenko
833fcce792
Use WEAVE_PASSWORD environment variable, if no args supplied
2015-01-08 17:08:35 +00:00
Ilya Dmitrichenko
5cbc4fa33d
Make passing of password more readable
2015-01-08 17:08:35 +00:00
Matthias Radestock
6c0218d26a
oops
2015-01-08 17:00:59 +00:00
Michael Bridgen
e9b84c968d
Clean up the mdns_server tests so we can test PTR queries
2015-01-08 15:32:59 +00:00
Michael Bridgen
dd6ca5ab92
Factor out the particulars of looking up A or PTR queries
2015-01-08 15:32:59 +00:00
Michael Bridgen
bf752d2d1f
Implement zone lookup with MDNSCLient
...
This separates Zone into the DB ops and the Lookup ops, and implements
the latter for MDNSClient so it can be used just like the zonedb.
A notable change is that Lookup methods only ever return one result,
while MDNSClient.SendQuery could in theory return multiple results
(though it wouldn't, because no server would supply more than one
result in a response, and it stops waiting after getting one response
..).
ReverseLookupLocal is implemented even though no MDNSServer will
answer at present (hence no test yet).
Lastly, the handler (creating) functions can now be given a list of
Lookup implementations to try in order.
2015-01-08 13:39:33 +00:00
Michael Bridgen
3866bd5e63
Parse reverse address lookup IPs in the Zone
...
.. rather than making clients of the zone do it. At the minute there's
only one call site, but soon there will be more.
2015-01-08 13:39:33 +00:00
Bryan Boreham
71d96eed7d
Merge pull request #320 from errordeveloper/fix_319
...
LGTM. Closes #319
2015-01-07 15:09:04 +00:00
Matthias Radestock
844fd54e18
less willing
2015-01-07 12:20:44 +00:00
Matthias Radestock
4ecd4e727f
rewording of must of the weaveDNS intro
2015-01-07 12:16:16 +00:00
Matthias Radestock
0777a1e3b0
cosmetic: remove trailing whitespace
2015-01-07 11:43:12 +00:00
Bryan Boreham
27f9a380e8
Explain weaveDNS configuration better
2015-01-07 11:34:16 +00:00
Ilya Dmitrichenko
9d48f942f8
Trim spaces in docker inspect format templates ( close #319 )
2015-01-06 15:46:22 +00:00
Matthias Radestock
978dc41e60
note that for app isolation CAP_NET_RAW needs to be dropped
...
See also #316
2015-01-06 09:39:17 +00:00
Matthias Radestock
cce5d2417a
make location of /proc overridable in script
...
useful for running weave inside a container
2015-01-04 13:07:52 +00:00
Matthias Radestock
79b1de5483
add 'sudo' to docker commands in release script
...
overridable with SUDO env var
2015-01-04 09:57:40 +00:00
Matthias Radestock
f4b3a68531
0.8.0 changelog
v0.8.0
2015-01-04 09:32:45 +00:00
Matthias Radestock
ee7a3e48c9
weave setup to download all required docker images
...
Closes #308 .
2015-01-04 09:15:22 +00:00
rade
ba27fd6523
Merge pull request #309 from rade/101_eliminate_dependencies
...
eliminate dependency on ethtool and conntrack on host
Closes #101 .
2015-01-04 08:57:33 +00:00
Matthias Radestock
2d43b92572
display weavetools version
2015-01-02 18:29:52 +00:00
Bryan Boreham
e9469b88af
Add file init.go which was missed from previous refactor
2015-01-02 17:45:16 +00:00
Bryan Boreham
0af9b2cbab
Fix up nameserver tests for previous refactoring
2015-01-02 17:12:21 +00:00
Michael Bridgen
734a3abae8
Merge branch 'pr297'
2015-01-02 16:46:34 +00:00
Matthias Radestock
cd985c1bed
cosmetic: more idiomatic way of figuring out directory
2015-01-02 16:39:02 +00:00
Matthias Radestock
b8e4ad1314
add 'make update' to update dependencies
2015-01-02 16:35:51 +00:00
Matthias Radestock
da3d343f26
tidying: remove 'publish' targer from .PHONY
...
we forgot to do that when removing the target itsel
2015-01-02 16:27:37 +00:00
Matthias Radestock
618de144d9
update changelog entry for 0.7.0 to point out new download locations
2015-01-02 15:43:34 +00:00
Bryan Boreham
82b54aabcd
Move logging, updating and testing utils into common directory
2015-01-02 14:49:49 +00:00
Matthias Radestock
1fc37bf8df
update README
2015-01-01 12:14:11 +00:00
Matthias Radestock
e33885ecca
wire weavetools into release
2015-01-01 11:51:15 +00:00
Matthias Radestock
57e86a8796
update .gitignore
2015-01-01 11:50:51 +00:00
Matthias Radestock
eb628ec84a
invoke ethtool and conntrack from the weavetools image
2015-01-01 01:05:27 +00:00
Matthias Radestock
7b6ea37fea
wire in weavetools image build
...
We use a plain ubuntu container as a build environment for ethtool &
conntrack, so a) we don't require onerous tooling on the build host,
and b) don't pollute the build host with build artefacts. The latter
arise because I can only get conntrack to build by installing its
dependencies 'globally'.
Th dir containing the build script is volume-mounted into the
container, and that is where we also expect to see the result, namely
a 'bin' sub-dir containing two executables.
The weavetools image is then constructed from the 'scratch' image and
contains just that dir.
2015-01-01 00:57:02 +00:00
Matthias Radestock
dd34099e06
machinery to build ethtool and conntrack
2015-01-01 00:54:23 +00:00
Matthias Radestock
5da2219dc8
cosmetic: remove weaver/.gitignore
...
and handle that in the top-level .gitignore instead. Just as we do for weavedns.
2015-01-01 00:49:34 +00:00
Matthias Radestock
fd6f65e28f
correct markdown for changelog
2014-12-30 17:32:23 +00:00
Matthias Radestock
edabd8393d
cosmetic
2014-12-30 17:24:40 +00:00
Michael Bridgen
82423ad466
Merge branch 'pr306_lock_versions'
2014-12-30 17:22:34 +00:00
Michael Bridgen
5f69637f31
Merge branch '34_version_alignment' of https://github.com/rade/weave into pr306_lock_versions
2014-12-30 17:00:08 +00:00
Michael Bridgen
2a1a40c05e
Merge branch 'pr291_improve_testdev'
2014-12-30 16:55:01 +00:00
Matthias Radestock
2481079957
don't include image version when checking for existing containers
...
So we complain with "already running" rather than "Found another
running container" when encountering a 'weave' container running a
different image version. Similarly, we remove stopped 'weave'
containers regardless of version.
Ditto for weavedns.
Which is all how it used to work.
2014-12-30 16:49:41 +00:00
Michael Bridgen
87b3537b54
Merge branch 'improve_dev_and_test_env' of https://github.com/errordeveloper/weave into pr291_improve_testdev
2014-12-30 16:44:32 +00:00
Ilya Dmitrichenko
859878c004
Install latest Go toolchain on vagrant dev vms
2014-12-30 16:28:13 +00:00
Ilya Dmitrichenko
00832dcbb5
Ignore ssh know hosts for test vms
2014-12-30 16:28:03 +00:00
Matthias Radestock
57856a5584
align script and image versions
...
- released weave scripts run their corresponding image versions
- unreleased weave scripts run the 'latest'-tagged image versions
The image version to run can also be specified explicitly by setting
VERSION. Useful for testing, mainly.
2014-12-30 16:20:00 +00:00
Michael Bridgen
d3002384d7
Also push the :latest tags to Dockerhub when publishing
2014-12-30 16:01:10 +00:00