Marc CARRE
ee659d4033
Replace weave/common/mflagext with common/mflagext.
...
Removes duplication between weave and common and reduces the amount of sources to compile.
2017-01-31 10:49:29 +00:00
Marc CARRE
8f9b2a36c0
Remove dep. on docker and use mflag from common.
...
This reduces the number of dependencies, and avoids having docker as a vendored dependency, which should speed the build up.
2017-01-31 10:30:12 +00:00
Marc CARRE
77e6c6f886
Upgrade to latest 'common' and 'build-tools'.
...
If building against the latest 'build-tools', you would typically get:
tools/runner/runner.go:18:2: cannot find package github.com/weaveworks/common/mflag
This change fixes the issue by upgrading both dependencies.
2017-01-30 18:05:58 +00:00
Adam Harrison
8a5a15d5e9
Merge pull request #2753 from weaveworks/mv-signal-to-common
...
Move signal handling loop to common.
2017-01-30 12:38:23 +00:00
Bryan Boreham
bcc8c73f59
Fix build of manifest_tool in 'make publish'
2017-01-30 11:02:11 +00:00
Bryan Boreham
e22c6375c9
Fix build of manifest_tool
2017-01-27 18:09:22 +00:00
Marc Carré
22ae0d200c
Merge pull request #2752 from weaveworks/makefile-cleanup
...
Makefile cleanup after multiarch merge
2017-01-27 16:51:44 +00:00
Bryan Boreham
7231bd00f8
Remove .weavedb.uptodate file when we remove the weavedb image in 'make clean-bin'
2017-01-27 16:26:05 +00:00
Tom Wilkie
590a151bde
Move signal handling loop to common.
2017-01-26 17:55:19 +00:00
Martynas Pumputis
f5dfefef75
Merge pull request #2749 from weaveworks/shfmt-ignore
...
Upgrade Weave Net to latest version of build-tools, skipping bash scripts when lint-ing.
2017-01-26 10:55:36 +00:00
Marc CARRE
8e6cb5e24d
Print files we currently do not lint.
...
Makes what the build does explicitly and helps for potential debugging.
Also reminds us that we are skipping these files, so that we ultimately shfmt them and stop lint-ignoring them.
2017-01-25 17:14:48 +00:00
Marc CARRE
ed629d420d
Pass additional options to ./tools/test to revert to previous behaviour.
...
Previous commit upgrades Weave Net to the latest version of `build-tools`.
However, `./tools/test`'s default behaviour has changed, so we need to explicitly pass new options/arguments, in order to keep it behaving like before fd568682c3 .
2017-01-25 17:14:05 +00:00
Marc CARRE
fd568682c3
Upgrade Weave Net to latest version of build-tools, skipping bash scripts when lint-ing.
...
Lint-ing all of Weave Net is currently not desirable because:
* it would create conflicts on many branches,
* it would pollute the git history,
* etc.
and because `lint` currently lints all files except `./vendor`, this breaks Weave Net's build.
As a result, Weave Net is not using the latest commit in `build-tools`'s `master` branch, which is also source of problems:
* it limits standardisation of projects across Weaveworks,
* it limits the ability to use the latest features of `build-tools`,
* it complexifies merging changes in `build-tools` (e.g. #53 and weaveworks/weave#2694 for weaveworks/weave#2647 ),
* etc.
This change:
* brings Weave Net to the latest version of `build-tools` (which now supports `.lintignore` files),
* adds such a `.lintignore` file to skip all bash scripts (in order to avoid breaking the build).
`GLOB`s in `.lintignore` can then, over time and as scripts are `shfmt`-ed, be relaxed and maybe even removed.
2017-01-25 16:50:32 +00:00
Bryan Boreham
dbb9849b8c
Remove whitespace from blank lines and comment lines
...
Principally because emacs complains about it, but also to remove the
overhead of firing up a shell process to ignore a comment in a recipe
2017-01-25 14:20:54 +00:00
Bryan Boreham
776af44782
Make manifest-tool using weave build container
2017-01-25 14:18:55 +00:00
Bryan Boreham
69dacd0594
Restrict CircleCI publishing to AMD64
2017-01-25 10:52:53 +00:00
Bryan Boreham
f17a2a00b1
Merge pull request #2713 from luxaslabs/multiarch
...
Make Weave Net multi-architecture
2017-01-24 18:07:32 +00:00
Lucas Käldström
1a64420e01
Fix duplicate publish target
2017-01-24 17:38:44 +02:00
Bryan Boreham
49b9a2c8df
Bump Docker to 1.10
2017-01-24 17:28:08 +02:00
Bryan Boreham
6c251417d5
Update 'docker inspect weavedb' format for Docker 1.10
2017-01-24 17:27:53 +02:00
Lucas Käldström
8c0c38c8b3
Add manifest-tool as a submodule
2017-01-24 17:27:30 +02:00
Lucas Käldström
29eee4e858
Fixing review feedback, adding checksums, etc
2017-01-24 17:24:04 +02:00
Lucas Käldström
454c6f713d
Make Weave Net multi-architecture and add support for ARM and ARM 64-bit
2017-01-24 17:23:00 +02:00
Marc Carré
dd715e18ec
Merge pull request #2743 from weaveworks/fix-uuid
...
Don't fail if only half the system IDs are blank
2017-01-23 15:00:06 +00:00
Bryan Boreham
c1023eaf18
Hard-code repository name for weavebuild container
...
so we don't create a new one when testing publish to different DOCKERHUB_USER
2017-01-20 14:55:10 +00:00
Bryan Boreham
b091f59311
Merge pull request #2734 from Compositional/master
...
Add partial support for non-FHS host systems
2017-01-20 14:45:33 +00:00
Marc Carré
f98ad822e3
Merge pull request #2740 from weaveworks/issues/2738-dedupe-surrogate
...
Update mesh lib to break cycle of old gossip
2017-01-20 12:36:08 +00:00
Bryan Boreham
917c1ddbad
Update mesh lib to break cycle of old gossip
2017-01-20 12:05:55 +00:00
Marc Carré
d81d2f691d
Merge pull request #2742 from weaveworks/build-improvements
...
Build improvements
2017-01-20 11:26:18 +00:00
Bryan Boreham
1ad118a38f
Merge branch '1.8'
2017-01-20 09:45:13 +00:00
Bryan Boreham
9d1648cee7
Merge pull request #2741 from weaveworks/document-mtu-with-weave-kube
...
Document WEAVE_MTU in weave-kube config options
2017-01-20 09:40:57 +00:00
Bryan Boreham
929167366a
Don't fail if only half the system IDs are blank
2017-01-19 15:57:21 +00:00
Bryan Boreham
353ccf5e6c
Move build to 'dependencies' section
...
This means we don't spend time trying to run other tests if the build failed.
2017-01-19 10:59:16 +00:00
Bryan Boreham
cfc1fa4fae
Build test runner inside build container for consistency
2017-01-19 10:59:04 +00:00
Robert Hensing
d881f47088
Add partial support for non-FHS host systems
...
Fixes weaveworks/weave#2733 partially, where <host>/etc/resolv.conf is not a
symlink
2017-01-18 23:28:49 +01:00
Bryan Boreham
84013c4452
Merge pull request #2735 from weaveworks/issues/2732-pin-alpine-version
...
Pin alpine container version
2017-01-18 16:49:04 +00:00
Adam Harrison
d9dc1a988c
Document WEAVE_MTU in weave-kube config options
2017-01-18 15:11:41 +00:00
Marc CARRE
5fd14348aa
Fix broken link to 'Building Weave Net' documentation.
2017-01-17 17:49:17 +00:00
Adam Harrison
57a250a20b
Pin alpine container version
2017-01-16 12:27:53 +00:00
Adam Harrison
81add75258
Merge pull request #2711 from weaveworks/issues/2427-unique-ids
...
Better machine unique IDs
2017-01-13 09:40:18 +00:00
Bryan Boreham
0145282a10
Merge pull request #2728 from weaveworks/issues/2653-ulogd-pdeathsig
...
SIGKILL ulogd on weave-npc exit
2017-01-11 17:31:18 +00:00
Adam Harrison
ae0cb5d483
SIGKILL ulogd on weave-npc exit
2017-01-11 14:12:01 +00:00
Bryan Boreham
e7eeecd762
Smoke test for peer names
2017-01-11 13:14:35 +00:00
Bryan Boreham
7d308a4ac5
Wire weaveutil unique-id into weave script
...
Also ensure the right host directories are mounted when create-bridge
is called from either the weave script or weave-kube.
2017-01-11 13:14:35 +00:00
Bryan Boreham
ebcb7f6108
Use persisted peer name if it matches old-style ID
2017-01-11 13:14:35 +00:00
Bryan Boreham
e03c7b1b7c
Allow opening persistence file read-only
2017-01-11 13:13:19 +00:00
Bryan Boreham
70a20b4d26
Generate peer name / mac address in Go
2017-01-11 13:12:30 +00:00
Bryan Boreham
d143470d77
Refactor: extract db filename to a constant
2017-01-11 13:05:25 +00:00
Bryan Boreham
30d6639a98
Refactor: move peer name identifier to DB package
2017-01-11 13:05:25 +00:00
Adam Harrison
92cfd3b4f9
Merge pull request #2725 from weaveworks/update-tools
...
Update tools submodule to avoid breaking on missing Docker mflag
2017-01-09 17:09:53 +00:00