Commit Graph

110 Commits

Author SHA1 Message Date
Leo Antunes 17f7fd1a3a disable CGO explicitly in makefile 2019-11-26 20:58:46 +01:00
Leo Antunes 3ec76fd3ce bump wgctrl
fixes #5
2019-09-30 23:18:02 +02:00
Leo Antunes 014029c6fa bump min go version to 1.13 for trimpath 2019-09-30 23:17:10 +02:00
Leo Antunes a46d8ac18d increase event handling buffer
this should mitigate a timing issue where joining larger clusters would
cause cluster.members() to deadlock.
2019-08-24 20:27:58 +02:00
Leo Antunes 98b85ff318 add test for larger clusters 2019-08-24 19:06:02 +02:00
Leo Antunes f798f2f306 bump memberlist 2019-08-24 17:53:44 +02:00
Leo Antunes aecc352e92 fix state file permissions 2019-08-24 16:51:30 +02:00
Leo Antunes 8327adaf6b
README: remove go mention for bin install
[skip ci]
2019-08-06 21:57:58 +02:00
Leo Antunes 5427aa5e84 retry join instead of failing
this make it easier to bootstrap a cluster and also makes the cluster
more resilient to full-cluster failures or restarts

fixes #6
2019-08-06 21:53:38 +02:00
Leo Antunes 3a401a7942 try some cleanup if iface setup failed 2019-07-29 19:20:53 +02:00
Leo Antunes c6e052c78f add missing error-catching
refs #5
2019-07-29 19:20:25 +02:00
Leo Antunes 2edf641c46 add option for binding to interface
this effectively still bind to an address, but resolves it based on the
interface instead of explicitly.
2019-07-21 23:00:18 +02:00
Leo Antunes 6c5389e683
fix bin path in systemd unit file 2019-07-21 22:23:07 +02:00
Leo Antunes 7fac011a02 README: fix logo [skip ci] 2019-07-14 23:01:58 +02:00
Leo Antunes 39fd10f6e0 add logo [skip ci] 2019-07-14 22:54:49 +02:00
Leo Antunes 7434feba81
tests/e2e: add missing sleep 2019-07-14 14:44:40 +02:00
Leo Antunes 6b4ec4bad9 tests/e2e: add restart check 2019-07-14 13:46:42 +02:00
Leo Antunes af660667f0 add simple systemd unit file
[skip ci]

fixes: #4
2019-07-14 13:34:18 +02:00
Leo Antunes 1c6a1cf527 flesh out README
[skip ci]
2019-07-14 13:32:10 +02:00
Leo Antunes 9523ca624a reuse existing interface instead of erroring out 2019-07-14 12:59:54 +02:00
Leo Antunes 1f15a6d4f2 README: update min go version
[skip ci]
2019-07-13 22:47:02 +02:00
Leo Antunes 36d41326c7 tests/e2e: use build from host 2019-07-13 11:11:43 +02:00
Leo Antunes 93d8e2eb0a tests: fix docker image [skip ci] 2019-07-13 11:05:54 +02:00
Leo Antunes 89cab211bc minor: add comments about WESHER_E2E_TESTS envvar
[skip ci]
2019-07-13 11:01:50 +02:00
Leo Antunes 1c26b706f8 tests: switch docker image to non-alpine [skip ci]
this way we can slightly simplify e2e
2019-07-13 10:52:23 +02:00
Leo Antunes ddfc751b71 Makefile: make cross-building more flexible [skip ci] 2019-07-13 10:52:19 +02:00
Leo Antunes 48cf5ff9dd travis: add name to e2e test job 2019-07-13 07:16:31 +02:00
Leo Antunes 36b5e97936
travis: drop support for 1.11
not supported by wgctrl
2019-07-12 19:46:05 +02:00
Leo Antunes c2d7929f4a add end-to-end tests 2019-07-12 11:08:41 +02:00
Leo Antunes f4e61df211 use wgctrl lib instead of wrapping wg-tools
fixes: #3
2019-07-12 11:08:14 +02:00
Leo Antunes 3559fcf3b3 also skip /etc/hosts on termination if disabled 2019-07-06 22:41:58 +02:00
Leo Antunes 6dce678483 README: fix bit/byte confusion 2019-03-31 23:26:28 +02:00
Leo Antunes af0fe42be5 REAME: add note about possible package drops
refs #3
2019-03-31 23:23:39 +02:00
Leo Antunes af4984f1b1 tests: add wg-quick stub; fix wg with no args 2019-03-30 21:32:03 +01:00
Leo Antunes 3afa581cb7 tests/wg: remove spurious comments 2019-03-30 21:20:49 +01:00
Leo Antunes c8f0d71a54 fix ipv4 overlay assignment 2019-03-29 22:15:17 +01:00
Leo Antunes 944fca4dfd
add IP assignment idempotency test 2019-03-29 20:51:06 +01:00
Leo Antunes e4a22c7ee5 improve build repeatability
still not quite there, but this should make it a bit easier

refs #2
2019-03-29 20:50:08 +01:00
Leo Antunes 78a05ddb5b make build reproducible; add arm builds 2019-03-28 23:18:58 +01:00
Leo Antunes c3c00690b3 travis: add release stage 2019-03-28 22:11:26 +01:00
Leo Antunes b8e729298c change ip assignment to support ipv6 overlay 2019-03-28 20:27:08 +01:00
Leo Antunes c1a3cc33f4 also down iface on shutdown 2019-03-27 22:52:34 +01:00
Leo Antunes 856150866e avoid downing non-existent iface 2019-03-27 22:48:54 +01:00
Leo Antunes 0165b7a504 add --init option for explicit cluster reset 2019-03-27 22:25:14 +01:00
Leo Antunes 694fd4dd86 fix broken IP detection for private-only hosts 2019-03-27 22:23:15 +01:00
Leo Antunes dae7bbe530 README: minor improvements 2019-03-27 21:41:03 +01:00
Leo Antunes b2a7551a53 minor: assignIP → assignOverlayAddr 2019-03-27 21:37:54 +01:00
Leo Antunes abb832d159 be more explicit about --bind-addr 2019-03-27 00:47:23 +01:00
Leo Antunes a8b310bc76 README: fix quickstart option names 2019-03-27 00:47:07 +01:00
Leo Antunes a3e1573160 work around memberlist not listening on public IPs 2019-03-27 00:26:59 +01:00