Bryan Boreham
929167366a
Don't fail if only half the system IDs are blank
2017-01-19 15:57:21 +00: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
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
Adam Harrison
7659ea21c7
Merge branch '1.8'
...
Fixes #2693 .
2017-01-09 16:24:08 +00:00
Adam Harrison
4e740736e7
Merge pull request #2697 from weaveworks/issues/2693-npc-log-instructions
...
Fix instructions to view npc logs when >1 pod exists
2017-01-09 16:23:42 +00:00
Adam Harrison
4f44d9e25a
Merge branch '1.8'
...
Fixes #2719 .
2017-01-09 15:49:29 +00:00
Adam Harrison
2ae2d52289
Merge pull request #2722 from weaveworks/issues/2719-delete-pods
...
Warn not to delete all Weave Net pods
2017-01-09 15:48:48 +00:00
Adam Harrison
635191970f
Merge pull request #2688 from weaveworks/issues/2684-exec-weaver
...
Exec weaver from weave-kube launch rather than running in background
2017-01-09 15:24:19 +00:00
Bryan Boreham
e370443a3f
Merge pull request #2699 from weaveworks/2647-parallelise-sanity-checks
...
Parallelise sanity checks in order to speed them up.
2017-01-09 12:57:44 +00:00
Bryan Boreham
738ff2b65f
Update tools submodule to avoid breaking on missing Docker mflag
2017-01-09 12:50:18 +00:00
Bryan Boreham
cef8c908d0
Merge pull request #2704 from weaveworks/2647-parallelise-setup
...
Parallelise setup.sh's individual tasks.
2017-01-09 12:30:53 +00:00
Marc CARRE
edc0cdbc10
Sanity checks' output is now redirected to $CIRCLE_ARTIFACTS directly when running smoke tests in CircleCI.
...
Previously sanity checks' output was redirected to /tmp and then copied to $CIRCLE_ARTIFACTS, which is more "moving pieces".
2017-01-09 12:25:29 +00:00
Marc CARRE
89e116961c
Now measure time spent in setup.
2017-01-09 12:03:13 +00:00
Marc CARRE
71180f97e7
Parallelise setup.sh.
2017-01-09 12:03:09 +00:00
Adam Harrison
be8d9d88d8
Merge pull request #2724 from weaveworks/2647-remove-dependency-on-jq
...
Removed dependency on jq in test #175 .
2017-01-09 10:59:52 +00:00
Bryan Boreham
35de3720e9
Merge pull request #2698 from weaveworks/2647-find-relative-dir
...
Finding and running tests no longer depends on current directory.
2017-01-09 10:34:07 +00:00
Marc CARRE
4a7e2054db
Removed dependency on jq in test #175 .
...
If the machine coordinating the test runs does not have jq, then test #175 fails with:
> test #1 "weave_on test-0.lon1.weave-net report | jq -r '.Router.Targets[] | tostring' | sort" failed:
> expected "test-1.lon1.weave-net
> test-2.lon1.weave-net"
> got nothing
This change completely removes the dependency on jq to make the test more robust and avoid potential confusion.
2017-01-09 10:16:05 +00:00
Marc CARRE
fe75047988
weave-daemonset.yaml is now referred to using relative paths.
2017-01-09 10:08:38 +00:00
Marc CARRE
f73fb5307f
Redirect sanity checks' output to temporary files (and archive them as artifact files under CircleCLI).
...
This should make it easier to find and access relevant debugging information without polluting STDOUT and without any risk of log interleaving. See also:
- https://weaveworks.slack.com/archives/net/p1482154505001192
- https://weaveworks.slack.com/archives/net/p1482254780001493
2017-01-09 09:17:45 +00:00
Marc CARRE
172597a68d
Now measure time spent in sanity checks.
2017-01-09 09:17:45 +00:00
Marc CARRE
f05169e457
Initialise pids before using it, to avoid potential issues with previously set values.
2017-01-09 09:17:45 +00:00
Marc CARRE
b171497466
Ensure sanity checks exit early in case of a ping failure.
2017-01-09 09:17:45 +00:00
Marc CARRE
61375fb785
Format ping output as one line.
2017-01-09 09:17:45 +00:00
Marc CARRE
04cc4edf26
Parallelise sanity checks in order to speed them up.
2017-01-09 09:17:45 +00:00
Marc CARRE
0101a12fba
Undo 0dff07dc8b since current directory is already changed on previous line.
2017-01-09 09:16:53 +00:00
Marc CARRE
e094fb1547
DOCKER_CERT_PATH is now set using a relative path.
2017-01-09 09:16:53 +00:00
Marc CARRE
e0a44a901a
Tests now source dependencies using relative paths (previously breaking make depending on current directory).
2017-01-09 09:16:53 +00:00
Marc CARRE
d4f9abeefd
Finding tests no longer depends on current directory.
2017-01-09 09:16:53 +00:00
Bryan Boreham
0338d4595b
Fix instructions to view npc logs when >1 pod exists
2017-01-06 11:24:20 +00:00
Bryan Boreham
7328c3fe86
Comment about full build on first push
2017-01-06 10:54:13 +00:00
Bryan Boreham
bf288ff6f5
Warn not to delete all Weave Net pods
2017-01-06 10:30:46 +00:00
Marc Carré
ef4c4024bc
Merge pull request #2720 from weaveworks/2647-fix-test-150
...
Fix ordering bug in test #150 .
2017-01-05 15:29:58 +00:00
Marc CARRE
6f24cca4b1
Fix ordering bug in test #150 .
...
Test hard-codes a string containing '\n' and then expects echo
to interpret it as a newline, which it does not without the -e option.
This fixes flaky test runs like the below:
>>> Running /root/src/github.com/weaveworks/weave/test/150_connect_forget_2_test.sh on [138.68.153.213 138.68.149.186]
>>> Test /root/src/github.com/weaveworks/weave/test/150_connect_forget_2_test.sh finished after 12.4 secs with error: exit status 1
test #5 "direct_peers 138.68.149.186 | sort" failed:
expected "138.68.153.213\n138.68.149.186"
got "138.68.149.186\n138.68.153.213"
2017-01-05 15:02:16 +00:00
Bryan Boreham
bf59a003bb
Exec weaver from weave-kube launch rather than running in background
...
So we only have one process running inside the container after all
set-up is finished
2017-01-04 15:00:52 +00:00
Bryan Boreham
2298a40327
Fix bug which was killing all smoke-tests
...
- only fail if there is no secret password
2017-01-04 14:53:43 +00:00
Adam Harrison
61d22bb8b4
Merge pull request #2686 from weaveworks/issues/2580-allow-ips
...
Allow docker bridge to have more than one IP address
2017-01-04 14:35:48 +00:00
Adam Harrison
eb3bbff883
Merge pull request #2708 from weaveworks/weave-kube-mounts
...
Mount /etc under a different path for weave-kube
2017-01-04 10:15:54 +00:00
Adam Harrison
03c1379d1b
Merge pull request #2716 from liubog2008/fix
...
fix a bug of updating network policy
2017-01-03 17:44:58 +00:00