Marc CARRE
c026579cec
Update make lint to cope with latest changes made in build-tools.
2017-02-08 14:15:59 +00:00
Marc CARRE
dd935b7e9e
Provision and destroy test VMs in the background.
...
This should help speed-up the build by provisioning test VMs while we run unit tests, and destroying them while we generate coverage reports.
2017-02-08 14:15:59 +00:00
Marc CARRE
acd16881d9
Add make integration-tests based on Terraform/Ansible.
2017-02-08 14:15:59 +00:00
Bryan Boreham
cb48ebc399
Bump alpine version to 3.5 for arm64
...
Since 3.4 doesn't exist, and the package repo seems ok for ulogd now
2017-02-02 10:43:29 +00:00
Michal Rostecki
8506e57482
Pin alpine container version
...
Alpine 3.5 doesn't provide PCAP plugin with ulogd, so until
we investigate the problem upstream, we need to pin to 3.4
version.
Fixes #2732
2017-02-01 12:05:31 +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
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
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
Lucas Käldström
1a64420e01
Fix duplicate publish target
2017-01-24 17:38:44 +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
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
cfc1fa4fae
Build test runner inside build container for consistency
2017-01-19 10:59:04 +00:00
Bryan Boreham
ebcb7f6108
Use persisted peer name if it matches old-style ID
2017-01-11 13:14:35 +00:00
Adam Harrison
41d127934b
Remove redundant GO15VENDOREXPERIMENT setting
2016-11-14 15:13:19 +00:00
Bryan Boreham
03d9e3db69
weaveutil now depends on plugin code
2016-11-10 17:04:10 +00:00
Bryan Boreham
09628178e4
Weave-kube doesn't need to depend on plugin repo any more
2016-11-03 17:42:39 +00:00
Adam Harrison
19088ba8bc
Import from weave-npc repo
2016-11-02 11:28:59 +00:00
Bryan Boreham
bf74c8f108
Add dependency of weave-kube on launch.sh
2016-11-01 10:46:25 +00:00
Bryan Boreham
7dbee74e85
Add weave-kube image
2016-10-31 10:59:15 +00:00
Bryan Boreham
4e7a3b1805
Add kube-peers program
2016-10-31 10:59:15 +00:00
Bryan Boreham
3c7b244f18
Change image layering - plugin builds on weaver & weaver builds on weaveexec
2016-10-31 10:59:13 +00:00
Bryan Boreham
e50f5c52c5
Make templating of Dockerfiles more generic
2016-10-31 10:56:18 +00:00
Bryan Boreham
baf91658d6
Fix static linking flags
2016-10-28 14:51:26 +01:00
Adam Harrison
cb778a9af5
Improve Dockerfile template substitution
2016-10-27 11:43:41 +01:00
Marc CARRE
3af9732c84
Merge branch '1.7'
2016-10-26 16:49:58 +01:00
Adam Harrison
880b0a883a
Use vendoring when building test runner
2016-10-26 16:09:09 +01:00
Adam Harrison
f8cf7a1054
Ensure Dockerfiles obey DOCKERHUB_USER
2016-10-21 14:45:10 +01:00
Bryan Boreham
38958049f4
Remove -f flag from 'docker tag' commands
...
This flag was deprecated in Docker 1.10 and removed in Docker 1.12.
2016-08-04 17:03:35 +01:00
Bryan Boreham
2face0f318
Publish weavedb container from release script
2016-06-15 15:50:37 +01:00
Bryan Boreham
c380a6f4ee
Improve handling of build container
...
- Only mention the need for it on the one rule where it gets used.
- Don't delete it in `make clean-bin`.
2016-06-06 14:04:33 +01:00
Bryan Boreham
39ba706a9b
Run just one container to build all exes
2016-06-06 11:43:08 +01:00
Bryan Boreham
c6d1adf220
Revert "Do a build before the 'go test'"; it doesn't look like this goes faster after all
...
This reverts commit bd7e5d6921 .
2016-06-05 14:56:05 +01:00
Bryan Boreham
8ff814d976
Plugin and weaveutil depend on networking code
2016-05-26 11:35:10 +00:00
Tom Wilkie
0314a86e03
Autodetect if we talk to docker via tcp in the Makefile
2016-05-04 16:28:28 +01:00
Bryan Boreham
358342aa4f
Use a data volume container for BoltDB files.
...
We provide a very small image to use for this container.
Also we add an empty weavedata.db file to weave image so it doesn't crash when run without volume override
2016-04-13 16:07:55 +01:00
Matthias Radestock
718e93bd23
add coverage to plugin
2016-03-30 17:40:32 +01:00
Matthias Radestock
2c49cd1e0a
refactor: s/DOCKERPLUGIN/PLUGIN
...
since it's also a CNI plugin now
2016-03-30 15:43:55 +01:00
Bryan Boreham
f9615c34dc
CNI IPAM plugin
2016-03-17 12:41:14 +00:00
Bryan Boreham
38c6eb28e8
Add basic infrastructure to use BoltDB for persistence
2016-02-12 18:12:26 +00:00
Matthias Radestock
95a4ca8e3e
Merge branch '1.4'
2016-01-28 17:51:20 +00:00
Matthias Radestock
c6d0149ba6
add missing dependency
...
The plugin image derives from the weaveexec image.
2016-01-28 17:50:26 +00:00
Matthias Radestock
a6aad6dc49
move smoke test dependencies from 'all' to 'testrunner' target
...
That way a plain 'make' works out-of-the-box.
Fixes #1893 .
2016-01-21 13:00:32 +00:00
Peter Bourgon
3767a680e8
Makefile doesn't need to build mesh/*.go anymore
2016-01-15 15:57:01 +01:00