Ilya Dmitrichenko
9459d4b739
Add website preview
2017-04-27 12:14:50 +01:00
Bryan Boreham
05d9cf8235
Remove some things we don't want in the v2 plugin image
2017-04-20 16:43:42 +00:00
Bryan Boreham
c59c86c660
Only publish "latest" tag on v2 plugin if explicitly told to
...
For V2 plugin, "latest" means "latest stable release", to make
instructions simple for end-users. So we don't want to overwrite
"latest" with a random build by accident.
2017-04-20 10:43:16 +00:00
Bryan Boreham
54c95c04af
Stop trying to publish the old plugin container
2017-04-13 11:13:24 +00:00
Martynas Pumputis
bdfa06dbe9
Use $(SUDO) for each docker cmd when building net-plugin
2017-04-12 13:05:40 +00:00
Martynas Pumputis
4a708c2a82
Rename prog/plugin-v2 to prog/net-plugin
...
Consensus was to call the plugin-v2 as weaveworks/net-plugin.
2017-04-12 13:05:40 +00:00
Martynas Pumputis
7fc56e54b3
Add plugin_publish target to Makefile
...
"docker plugin" does not support tagging plugin images, therefore
we need to build plugin images two times - one for :latest and
for :$(WEAVE_VERSION).
Pushing of :latest happens only if $UPDATE_LATEST is not false.
2017-04-12 13:05:40 +00:00
Martynas Pumputis
16062ea62d
Rename weaveworks/pluginv2 to weaveworks/net-plugin
2017-04-12 13:05:40 +00:00
Martynas Pumputis
1f42a9d2f9
Merge plugin into weaver
...
This simplifies the following:
- plugin-v2 does not need to start "plugin" as a separate process, thus
Docker is able to properly restart plugin-v2 in a case of any child
process failing.
- No need for weaveplugin container.
plugin is enabled by default when running "weave launch". when starting
only the router, you should pass "--plugin" parameter to enable it.
The env var WEAVE_NO_PLUGIN is no more.
2017-04-12 13:05:40 +00:00
Bryan Boreham
5bbd886e6f
Build a 'v2' Docker plugin
...
Redirect output to specific log files, because there doesn't seem to
be a 'docker logs' for plugins
2017-04-12 13:05:39 +00:00
Bryan Boreham
9810a84475
Merge branch '1.9'
2017-03-16 19:43:50 +00:00
Bryan Boreham
c3c28ea27e
Update CNI library to version 0.5.0
2017-03-16 18:23:20 +00:00
Bryan Boreham
eee3e8d331
touch exes after running build command
...
The executables have dependencies that are not apparent to `go build`;
notably the build container. If Go doesn't see anything is out of date
then it will do nothing, hence touch the file so next time we run
`make` it is up to date.
2017-03-06 11:29:09 +00:00
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