blob: 28cb358129c88aa700e1ec76f72e0ca948b3bc5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
---
image: alpine/edge
secrets:
- 5077f4a0-6a32-46e8-aa7c-5be8778d0524
sources:
- [email protected]/~a14m/wireguard-gateway-portal
environment:
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
packages:
- go
- curl
- make
- nodejs
- npm
artifacts:
- wireguard-gateway-portal/dist/wg-portal-linux-amd64
- wireguard-gateway-portal/dist/wg-portal-linux-arm64
- wireguard-gateway-portal/dist/wg-portal-linux-arm
- wireguard-gateway-portal/dist/checksums.txt
tasks:
- setup: |
# This is for not having to cd into the <repo> for each task
echo 'cd wireguard-gateway-portal' >> ~/.buildenv
echo 'export "PATH=/home/build/go/bin:$PATH"' >> ~/.buildenv
- mirror: |
git push --force --mirror [email protected]:a14m/wireguard-gateway-portal.git
- deps: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin
golangci-lint --version
node --version
npm --version
npx --version
- lint: |
make deps
make verify
make lint
- build: |
make build
|