Commit Graph

52 Commits

Author SHA1 Message Date
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
Leo Antunes 5cb251dbda README: be explicit about go version dep 2019-03-27 00:26:37 +01:00
Leo Antunes d0615ab7d5 minor README improvements 2019-03-26 23:44:22 +01:00
Leo Antunes 29ab726117 fix some linting 2019-03-26 23:41:17 +01:00
Leo Antunes 823b134c80 add travis setup 2019-03-26 23:32:36 +01:00
Leo Antunes 27172a170c flesh out README 2019-03-26 23:32:36 +01:00
Leo Antunes 407bfbfb7e add version flag 2019-03-26 23:32:36 +01:00
Leo Antunes e89a7141e5 add hosts file support 2019-03-26 23:32:36 +01:00
Leo Antunes b1ff41c523 simplify option names 2019-03-26 23:32:36 +01:00