904 Commits
Author SHA1 Message Date
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
Michael Bridgen a2fcda9267 Use the download URL for the latest release 2014-12-30 14:49:48 +00:00
Michael Bridgen 8aaf72cbf5 Update changelog for first (0.7.0) release. v0.7.0 2014-12-30 14:36:25 +00:00
Matthias Radestock 2f053161d4 oops 2014-12-30 14:33:48 +00:00
rade c41c6fd8a7 Merge pull request #263 from zettio/versioned_releases
Machinery for versioned releases
2014-12-30 13:22:09 +00:00
Michael Bridgen 29f94fd64f Update the example weave status output 2014-12-30 12:50:46 +00:00
Michael Bridgen 82dfe1cc02 Upload the release artefact to a "latest_release" release
We would like to have a stable URL for the most recently released
script, so that we can mention it in the README and people can use it
in update scripts.

Since GitHub's releases/latest URL redirects, and anyway doesn't work
for downloads, we have to create (possibly delete first) a release
tagged "latest_release" and update it.
2014-12-29 18:28:02 +00:00
Matthias Radestock a0ec8c4daa correctly check whether weavedns is running
and return an error status rather than exit when containers stop just
before an HTTP call, which in turn allows us to make tell_dns properly
ignore weavedns container absences.

Fixes #300
2014-12-29 17:27:39 +00:00
rade d7405bf8d5 Merge pull request #304 from viirya/fix_detach
Support detaching on containers created in container networking mode.
2014-12-29 15:41:03 +00:00
Liang-Chi Hsieh 961b1eb3de Support detaching on containers created in container networking mode. 2014-12-29 23:14:59 +08:00
Matthias Radestock cca0f5fc79 don't allow lightweight tags after all 2014-12-29 14:27:21 +00:00
Matthias Radestock 70eea06de0 more precise detection of weave-attached-ness
Rather than looking for the host end of the veth pair, we look for the
expected interface inside the container. This has the advantage of
detecting weave-attached-ness even when the container is sharing a
network namespace with others.

Closes #303, #302.
2014-12-29 14:14:53 +00:00
Matthias Radestock f9593ac571 ignore release dir 2014-12-29 13:51:45 +00:00
Matthias Radestock 50d94529bf accept lightweight tags 2014-12-29 13:49:46 +00:00
Matthias Radestock d31a4ea331 more idiomatic go build time variable setting
avoiding the use of 'sed'
2014-12-29 13:27:35 +00:00
Matthias Radestock 7c8586b576 nicer error when there is no version tag 2014-12-29 12:27:42 +00:00
Michael Bridgen ec7dc556ed Factor out ask_version and don't exit 1 if it fails 2014-12-29 12:05:38 +00:00
Michael Bridgen 6c2bef5f88 Missed change of command in usage message 2014-12-29 12:05:38 +00:00
Michael Bridgen 314fff0cff No need for make publish 2014-12-29 12:05:38 +00:00
Matthias Radestock 3e1d96995a cosmetic 2014-12-29 12:01:29 +00:00
Matthias Radestock 7cfb79cfc1 close connection when failing to decrypt packets
Since we may never recover from that if nonces got out of sync.

Closes #274.
2014-12-28 19:52:56 +00:00