Commit Graph

118 Commits

Author SHA1 Message Date
Leo Antunes 563224d9db README: fix mention of assumed install path
fixes #17
2020-01-12 19:29:06 +01:00
dependabot-preview[bot] ac671e1fea Bump github.com/mattn/go-isatty from 0.0.10 to 0.0.11
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.10 to 0.0.11.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.10...v0.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 08:28:06 +01:00
dependabot-preview[bot] 801c79bf0c Bump github.com/mattn/go-isatty from 0.0.9 to 0.0.10
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.9 to 0.0.10.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.9...v0.0.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-04 17:34:39 +01:00
dependabot-preview[bot] b03a206cd0 Bump github.com/hashicorp/memberlist from 0.1.4 to 0.1.5
Bumps [github.com/hashicorp/memberlist](https://github.com/hashicorp/memberlist) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/hashicorp/memberlist/releases)
- [Commits](https://github.com/hashicorp/memberlist/compare/v0.1.4...v0.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-04 17:23:40 +01:00
Leo Antunes c2dd31a00f Makefile: also display calculated checksums 2019-11-26 21:40:51 +01:00
Leo Antunes 8fd046fd7b travis: use newer go version for -trimpath fixes 2019-11-26 21:37:41 +01:00
Leo Antunes b36e279fd7 README: mention reproducible builds 2019-11-26 21:36:04 +01:00
Leo Antunes 74b37a3945 Makefile: remove go BuildID
The GOROOT is used to calculate the buildID, which may change depending
on OS/environment/etc. Removing it, together with -trimpath, should make
the build fully reproducible.
2019-11-26 21:15:23 +01:00
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