Skip to content

Commit

Permalink
Merge branch 'develop' into fwd-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Senyoret1 authored Mar 15, 2024
2 parents e5b125b + 9777a15 commit 669a1a5
Show file tree
Hide file tree
Showing 2,943 changed files with 722,110 additions and 193,315 deletions.
36 changes: 0 additions & 36 deletions .appveyor.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.USERNAME }}
password: ${{ secrets.TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v3
- name: deploy to docker
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.21.x
- uses: actions/checkout@v3
- name: Install Requirements
run: |
Expand All @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.21.x
- uses: actions/checkout@v3
- name: Install Requirements
run: |
Expand All @@ -48,12 +48,12 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.21.x
- uses: actions/checkout@v3
- name: Install Requirements
shell: pwsh
run: |
Invoke-WebRequest "https://github.com/goreleaser/goreleaser/releases/download/v1.8.3/goreleaser_Windows_x86_64.zip" -o goreleaser.zip
Invoke-WebRequest "https://github.com/goreleaser/goreleaser/releases/download/v1.8.3/goreleaser_Windows_x86_64.zip" -OutFile goreleaser.zip
Expand-Archive goreleaser.zip
choco install make
- name: Releasing
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.21.x
- uses: actions/checkout@v3
- name: Install Requirements
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
make dep
chmod +x ./ci_scripts/create-ip-aliases.sh
./ci_scripts/create-ip-aliases.sh
Expand All @@ -25,11 +25,11 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.21.x
- uses: actions/checkout@v3
- name: Install Requirements
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
make dep
chmod +x ./ci_scripts/create-ip-aliases.sh
./ci_scripts/create-ip-aliases.sh
Expand All @@ -44,12 +44,12 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.21.x
- uses: actions/checkout@v3
- name: Install Requirements
run: |
choco install make
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.1
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
make dep
- name: Testing
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pkg/visor/foo/
/*-server
/*.json
!/dmsghttp-config.json
!/services-config.json
/*.sh
/*.log

Expand Down
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ linters:
- megacheck
- misspell
- nakedret
- depguard
enable-all: false
disable-all: true
presets:
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser-archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-amd64
- skywire-cli-amd64
Expand All @@ -305,6 +306,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-arm64
- skywire-cli-arm64
Expand All @@ -320,6 +322,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-arm
- skywire-cli-arm
Expand Down
1 change: 1 addition & 0 deletions .goreleaser-darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor
- skywire-cli
Expand Down
129 changes: 124 additions & 5 deletions .goreleaser-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,70 @@ before:
- sed -i '/go conn.handleCall(msg)/c\conn.handleCall(msg)' ./vendor/github.com/godbus/dbus/v5/conn.go
builds:

- id: skywire-deployment-amd64
binary: skywire
goos:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=1
- CC=/home/runner/work/skywire/skywire/musl-data/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc
main: ./cmd/skywire-deployment/
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}} -X github.com/skycoin/skywire/pkg/visor.BuildTag={{.Os}}_{{.Arch}}

- id: skywire-deployment-arm64
binary: skywire
goos:
- linux
goarch:
- arm64
env:
- CGO_ENABLED=1
- CC=/home/runner/work/skywire/skywire/musl-data/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
main: ./cmd/skywire-deployment/
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}} -X github.com/skycoin/skywire/pkg/visor.BuildTag={{.Os}}_{{.Arch}}

- id: skywire-deployment-arm
binary: skywire
goos:
- linux
goarch:
- arm
goarm:
- 6
env:
- CGO_ENABLED=1
- CC=/home/runner/work/skywire/skywire/musl-data/arm-linux-musleabi-cross/bin/arm-linux-musleabi-gcc
main: ./cmd/skywire-deployment/
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}} -X github.com/skycoin/skywire/pkg/visor.BuildTag={{.Os}}_{{.Arch}}

- id: skywire-deployment-armhf
binary: skywire
goos:
- linux
goarch:
- arm
goarm:
- 7
env:
- CGO_ENABLED=1
- CC=/home/runner/work/skywire/skywire/musl-data/arm-linux-musleabihf-cross/bin/arm-linux-musleabihf-gcc
main: ./cmd/skywire-deployment/
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}} -X github.com/skycoin/skywire/pkg/visor.BuildTag={{.Os}}_{{.Arch}}

- id: skywire-deployment-riscv64
binary: skywire
goos:
- linux
goarch:
- riscv64
env:
- CGO_ENABLED=1
- CC=/home/runner/work/skywire/skywire/musl-data/riscv64-linux-musl-cross/bin/riscv64-linux-musl-gcc
main: ./cmd/skywire-deployment/
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}} -X github.com/skycoin/skywire/pkg/visor.BuildTag={{.Os}}_{{.Arch}}

- id: skywire-visor-amd64
binary: skywire-visor
goos:
Expand Down Expand Up @@ -198,7 +262,7 @@ builds:
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}}

- id: skychat-riscv64
binary: skychat
binary: apps/skychat
goos:
- linux
goarch:
Expand Down Expand Up @@ -262,7 +326,7 @@ builds:
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}}

- id: skysocks-riscv64
binary: skysocks
binary: apps/skysocks
goos:
- linux
goarch:
Expand Down Expand Up @@ -326,7 +390,7 @@ builds:
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}}

- id: skysocks-client-riscv64
binary: skysocks-client
binary: apps/skysocks-client
goos:
- linux
goarch:
Expand Down Expand Up @@ -390,7 +454,7 @@ builds:
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}}

- id: vpn-server-riscv64
binary: vpn-server
binary: apps/vpn-server
goos:
- linux
goarch:
Expand Down Expand Up @@ -454,7 +518,7 @@ builds:
ldflags: -s -w -linkmode external -extldflags '-static' -buildid= -X github.com/skycoin/skywire-utilities/pkg/buildinfo.version=v{{.Version}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/skywire-utilities/pkg/buildinfo.date={{.Date}}

- id: vpn-client-riscv64
binary: vpn-client
binary: apps/vpn-client
goos:
- linux
goarch:
Expand All @@ -472,6 +536,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-amd64
- skywire-cli-amd64
Expand All @@ -487,6 +552,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-arm64
- skywire-cli-arm64
Expand All @@ -502,6 +568,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-arm
- skywire-cli-arm
Expand All @@ -517,6 +584,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}hf'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-armhf
- skywire-cli-armhf
Expand All @@ -532,6 +600,7 @@ archives:
name_template: 'skywire-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-visor-riscv64
- skywire-cli-riscv64
Expand All @@ -541,6 +610,56 @@ archives:
- vpn-server-riscv64
- vpn-client-riscv64

- id: deployment-amd64
format: tar.gz
wrap_in_directory: false
name_template: 'skywire-deployment-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-deployment-amd64

- id: deployment-arm64
format: tar.gz
wrap_in_directory: false
name_template: 'skywire-deployment-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-deployment-arm64

- id: deployment-arm
format: tar.gz
wrap_in_directory: false
name_template: 'skywire-deployment-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-deployment-arm

- id: deployment-armhf
format: tar.gz
wrap_in_directory: false
name_template: 'skywire-deployment-v{{ .Version }}-{{ .Os }}-{{ .Arch }}hf'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-deployment-armhf

- id: deployment-riscv64
format: tar.gz
wrap_in_directory: false
name_template: 'skywire-deployment-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
files:
- dmsghttp-config.json
- services-config.json
builds:
- skywire-deployment-riscv64

checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
Loading

0 comments on commit 669a1a5

Please sign in to comment.