Francesco Cogno
23298a72c4
Fixed version in README
2021-11-03 11:41:59 +01:00
Francesco Cogno
72d3f7393e
Escape friendly name double quote ( #84 )
...
* escape friendly name
* Updated README
2021-11-03 11:36:05 +01:00
Francesco Cogno
5b709b19f1
Ability to use env vars ( #83 )
...
* clippy
* exported variables
* docs
* updated deps
* typo
* version in docs
* better docs
2021-11-03 11:14:14 +01:00
Quentin McGaw
6222d71685
Fix Docker build badge in readme ( #75 )
2021-11-03 11:00:53 +01:00
Quentin McGaw
6678669dfb
Maintenance: remove microbadger CI hook ( #76 )
2021-11-03 11:00:31 +01:00
Quentin McGaw
d8237c8b7c
Docker: upgrade Alpine to 3.14 ( #67 )
2021-10-14 09:13:00 -07:00
Francesco Cogno
62fe64e1c0
swapped clippy dep version from * to 0.0.3
2021-08-06 09:50:53 +02:00
Quentin McGaw
638b9d1c33
CI fixes: dockerhub description and linting ( #68 )
...
- Github workflow: upgrade `peter-evans/dockerhub-description` to `v2.4.3`
- Dockerfile: fix: lint stage not running, changed from `ENTRYPOINT` to `RUN`
- Dockerfile: fix: install clippy for build platform
2021-07-17 12:40:58 -07:00
Quentin McGaw
5752476184
VSCode Rust development container ( #71 )
2021-07-17 11:49:23 -07:00
Quentin McGaw
d18c045c98
Docker: use tini as init system ( #72 )
2021-07-16 15:14:02 +02:00
Quentin McGaw
2bc7ea9e06
Readme development section ( #70 )
2021-07-16 15:12:30 +02:00
Quentin McGaw
8f44776745
Linting with Clippy ( #69 )
...
* Dockerfile: add test stage with cargo test entrypoint
* Workflows: merge all in docker.yml
- Run cargo test in docker.yml workflow
- Manage PRs, releases, branches and latest altogether with variables
* Workflows: update dockerhub description
* Add clippy linting
2021-07-16 15:11:51 +02:00
Quentin McGaw
45472a35b1
Readme simplifications and improvements ( #65 )
...
- Split setup section in three subsections:
1. Pre built binaries, empty for now, with a subscribe link to #59
2. Docker with simplified step-by-step instructions
- Add Docker tagged images information
3. Rust with simplified step-by-step instructions
- Fix `<switch>` not showing in tables
- Add syntax highlighting to code blocks
- Highlight Docker image cross cpu compatibility, as many users crave for this for their ARM devices
- Precise docker build only work on amd64/686 CPUs
- Clear up rustc version required to build
2021-07-08 10:57:40 -07:00
Francesco Cogno
9d37840b83
Implemented support for multiple peer files ( #64 )
2021-07-08 11:06:41 +02:00
Quentin McGaw
3a74f8b5b0
Multi arch Dockerfile and CI ( #63 )
...
* Modify Dockerfile
- Use rustup from Docker image
- Give up on cross compilation (ring issue)
- Remove useless duplicate cargo install step
- No need to specify target as it is built statically for the docker platform targeted
- Shorten binary path output for shorter COPY
* Github Actions to build for all ARM as well
* Remove unneded musl-dev
* Adapt build for all platforms
- Use Debian based Rust for compilation
- Cross compile on build platform
- Compile static binaries using musl
- Set variables correctly for all Docker supported platforms
- Note: ppc64le, s390x and riscv64 do not support the Rust standard lib
- Persist target platform variables through files
- Define linkers in .cargo/config
- Cache dependencies properly for target platform
- Scratch stage to test the binary for target platform
* Add 386 arch to CI
* Use buildkit for docker build
* Only build for amd64 on branches
* Fix dependencies caching
* Split dependencies fetching and compilation
* Documentation
* Build for all architectures on branch
* Add STATIC build argument
* Documentation
2021-07-08 09:17:51 +02:00
Francesco Cogno
a07a3d0170
Support for friendly_json comment ( #55 )
...
* upgrading deps
* tst
* fixed tests
* Json exposed as strings
* fixed double quote
* bumped version
* corrected semantic version bump
* updated README
2021-03-25 14:17:41 +01:00
Francesco Cogno
33c5372b41
locked Cargo.lock
2021-01-10 11:11:21 +01:00
Francesco Cogno
32990c69ab
Update README.md
2021-01-10 11:09:28 +01:00
Francesco Cogno
1494e30b3b
Merge pull request #53 from MindFlavor/issue_52/friendly_names_comment
...
Bugfix: comments no longer remove friendly names
2021-01-10 11:07:16 +01:00
Francesco Cogno
4584bd6e50
Bugfix: comments no longer remove friendly names
2021-01-10 11:03:48 +01:00
Maxim Kuleshov
abd25e81db
Fix incorrect escape in sudoers file ( #51 )
2021-01-02 15:59:08 -05:00
Quentin McGaw
98d6a4df6d
Docker non root running user using sudoers and sudo ( #49 )
...
Docker container runs with a non root user which has sudo access to run `wg` only. Fixes #27
2020-10-13 08:07:40 -04:00
Quentin McGaw
3c27991831
Readme docker ( #46 )
...
* Add Docker badges
* Use pre-built docker image for running it
* Docker image build instructions
2020-10-13 08:06:12 -04:00
Quentin McGaw
eea9b11c85
Remove linux/386 platform from buildx ( #47 )
2020-10-12 17:33:01 -04:00
Francesco Cogno
512ac9e891
Added support for sudo
2020-10-11 20:44:11 +02:00
Francesco Cogno
38b55fca32
Merge pull request #45 from MindFlavor/issue/27/sudo_wg_optional
...
Added optional sudo to wg command
2020-10-11 20:38:56 +02:00
Francesco Cogno
73e0b12c22
added missing startup flag
2020-10-11 16:48:08 +02:00
Francesco Cogno
fa739c423c
Added optional sudo
2020-10-11 16:40:10 +02:00
Francesco Cogno
e77a3e26ee
Support for # key values in comment (friendly_name at the moment) ( #44 )
...
* Draft support for friendly_name
* updated version and readme
2020-10-11 16:21:51 +02:00
Francesco Cogno
d65b8f5862
Update README.md
2020-10-05 09:07:30 +02:00
Francesco Cogno
c514ec7f05
Merge pull request #42 from qdm12/ci-docker
...
Fix latest buildx workflow
2020-09-23 18:01:29 +02:00
Quentin McGaw
50e9bdf596
Fix latest buildx workflow
2020-09-23 07:29:33 -04:00
Francesco Cogno
988f536a35
Merge pull request #41 from qdm12/ci-docker
...
Docker CI
2020-09-18 14:59:53 +02:00
Quentin McGaw
f055d0a656
Docker Hub description sync
2020-08-31 20:53:11 -04:00
Quentin McGaw
610fcd1e0d
Buildx tagged Docker build on releases/tags
2020-08-31 20:53:00 -04:00
Quentin McGaw
4a13a26869
Buildx latest on master branch changes
2020-08-31 20:52:50 -04:00
Quentin McGaw
e9e0690a88
Buildx tagged Docker build on branches
2020-08-31 20:52:37 -04:00
Quentin McGaw
970783e903
Simple Docker build on master pull request
2020-08-31 20:52:12 -04:00
Francesco Cogno
392c80eb1b
Merge pull request #39 from qdm12/master
...
Dockerize the app!
2020-08-17 13:24:52 +02:00
Quentin McGaw
01b7e16de0
Readme instructions to use with Docker
2020-08-09 18:06:48 -04:00
Quentin McGaw
98c251bba8
Run as root to access wg
2020-08-09 18:06:23 -04:00
Quentin McGaw
5cd14e0aa7
Add Dockerfile and itself to .dockerignore
2020-08-09 18:06:11 -04:00
Quentin McGaw
0f3dcfc57a
Dockerfile
2020-08-09 17:49:13 -04:00
Francesco Cogno
5e9848dbba
Switch from Travis to GitHub actions ( #33 )
...
* github action badge added
* Update README.md
* removed travis file
2020-05-10 16:00:42 +02:00
Francesco Cogno
4e3083bf85
Merge pull request #32 from MindFlavor/issue/29/parsing_case_insensitive
...
Parse case insensitive
2020-05-10 15:47:46 +02:00
Francesco Cogno
ec967e7f9d
Parse case insensitive
2020-05-10 15:40:45 +02:00
Francesco Cogno
f04208a810
Added github action
2020-05-09 16:54:48 +02:00
Francesco Cogno
52740036bf
Multiple interfaces from command line support ( #31 )
2020-05-09 16:48:52 +02:00
Francesco Cogno
2013f8b5af
Split interface name from peer configuration file ( #26 )
...
Split interface name from peer configuration file
2020-04-07 10:20:19 +02:00
Francesco Cogno
f2a11f0c3c
updated deps
2020-03-24 11:58:33 +01:00