This commit is contained in:
parent
167c003387
commit
976636bbc5
19
.drone.yml
19
.drone.yml
@ -39,10 +39,6 @@ steps:
|
|||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: goreleaser/goreleaser:latest
|
image: goreleaser/goreleaser:latest
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
environment:
|
|
||||||
commands:
|
commands:
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
||||||
- make build
|
- make build
|
||||||
@ -55,9 +51,6 @@ steps:
|
|||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:latest
|
image: goreleaser/goreleaser:latest
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
@ -69,15 +62,3 @@ steps:
|
|||||||
- tag
|
- tag
|
||||||
depends_on:
|
depends_on:
|
||||||
- clean
|
- clean
|
||||||
|
|
||||||
services:
|
|
||||||
- name: docker
|
|
||||||
image: docker:dind
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
temp: {}
|
|
||||||
|
28
README.md
28
README.md
@ -1,8 +1,29 @@
|
|||||||
# wg-quicker
|
<p align="center">
|
||||||
|
<img src="./logo.png" width="587" alt="logo">
|
||||||
|
<p align="center"><b>wg-quick like library with batteries included</b></p>
|
||||||
|
</p>
|
||||||
|
|
||||||
[![Build Status](https://gitlab.com/neven-miculinic/wg-quick-go/badges/master/pipeline.svg)](https://gitlab.com/neven-miculinic/wg-quick-go/pipelines) [![GoDoc](https://godoc.org/github.com/nmiculinic/wireguardctrl?status.svg)](https://godoc.org/github.com/nmiculinic/wg-quick-go) [![Go Report Card](https://goreportcard.com/badge/github.com/nmiculinic/wg-quick-go)](https://goreportcard.com/report/github.com/nmiculinic/wg-quick-go)
|
---
|
||||||
|
|
||||||
wg-quick like library in go for embedding
|
This is a friendly fork of [wg-quick-go](https://github.com/nmiculinic/wg-quick-go). It contains everything needed to get a system into a wireguard vpn network. If there is no wireguard kernel modul available, it will spin up the embedded wireguard-go to create a wireguard interface.
|
||||||
|
|
||||||
|
# Badges
|
||||||
|
|
||||||
|
[![Build Status](https://ci.xsfx.dev/api/badges/xsteadfastx/wg-quicker/status.svg)](https://ci.xsfx.dev/xsteadfastx/wg-quicker)
|
||||||
|
[![Go Reference](https://pkg.go.dev/badge/go.xsfx.dev/wg-quicker.svg)](https://pkg.go.dev/go.xsfx.dev/wg-quicker)
|
||||||
|
[![Go Report Card](https://goreportcard.com/badge/go.xsfx.dev/wg-quicker)](https://goreportcard.com/report/go.xsfx.dev/wg-quicker)
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
## Prebuild packages
|
||||||
|
|
||||||
|
Get these on release [page](https://git.xsfx.dev/xsteadfastx/wg-quicker/releases).
|
||||||
|
|
||||||
|
## Compile it for yourself
|
||||||
|
|
||||||
|
- `git clone https://git.xsfx.dev/xsteadfastx/wg-quicker.git`
|
||||||
|
- `cd wg-quicker`
|
||||||
|
- `make build`
|
||||||
|
|
||||||
# Roadmap
|
# Roadmap
|
||||||
|
|
||||||
@ -20,6 +41,7 @@ wg-quick like library in go for embedding
|
|||||||
- [x] MarshallText
|
- [x] MarshallText
|
||||||
- [x] UnmarshallText
|
- [x] UnmarshallText
|
||||||
- [x] Minimal test
|
- [x] Minimal test
|
||||||
|
- [x] Embedded [wireguard-go](https://git.zx2c4.com/wireguard-go/about/)
|
||||||
- [ ] Integration tests ((TODO; have some virtual machines/kvm and wreck havoc :) ))
|
- [ ] Integration tests ((TODO; have some virtual machines/kvm and wreck havoc :) ))
|
||||||
|
|
||||||
# Caveats
|
# Caveats
|
||||||
|
Loading…
Reference in New Issue
Block a user