Skip to content

Commit

Permalink
feat: network upgrade v0.38.0
Browse files Browse the repository at this point in the history
refs akash-network/AEP#4

Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Feb 28, 2025
1 parent 42debb1 commit 49abf0c
Show file tree
Hide file tree
Showing 65 changed files with 3,772 additions and 1,354 deletions.
1 change: 1 addition & 0 deletions .github/repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github.com/akash-network/node
21 changes: 21 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,22 @@ jobs:
network-upgrade-names:
runs-on: upgrade-tester
steps:
- name: Cleanup build folder
run: |
sudo rm -rf ./* || true
sudo rm -rf ./.??* || true
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow
- name: Detect required Go version
run: |
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//')
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV
- name: 'Setup jq'
uses: dcarbone/install-jq-action@v3
- name: Setup npm
uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/setup-go@v5
with:
go-version: "${{ env.GOVERSION }}"
Expand All @@ -209,12 +219,22 @@ jobs:
network-upgrade:
runs-on: upgrade-tester
steps:
- name: Cleanup build folder
run: |
sudo rm -rf ./* || true
sudo rm -rf ./.??* || true
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow
- name: Detect required Go version
run: |
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//')
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV
- name: 'Setup jq'
uses: dcarbone/install-jq-action@v3
- name: Setup npm
uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/setup-go@v5
with:
go-version: "${{ env.GOVERSION }}"
Expand All @@ -237,6 +257,7 @@ jobs:
name: validators-logs
path: |
.cache/run/upgrade/validators/logs/*.log
include-hidden-files: true

dispatch-release:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .goreleaser-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
version: 2
project_name: node
dist: ./.cache/goreleaser/docker
env:
- GO111MODULE=on
- CGO_ENABLED=1
Expand Down
102 changes: 102 additions & 0 deletions .goreleaser-test-bins.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
project_name: node
version: 2
dist: ./.cache/goreleaser/test-bins
env:
- GO111MODULE=on
- CGO_ENABLED=1
builds:
- id: akash-darwin-amd64
binary: akash
main: ./cmd/akash
goarch:
- amd64
goos:
- darwin
env:
- CC=o64-clang
- CXX=o64-clang++
flags:
- "-mod={{ .Env.MOD }}"
- "-tags={{ .Env.BUILD_TAGS }}"
- -trimpath
ldflags:
- "{{ .Env.BUILD_VARS }}"
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
- id: akash-darwin-arm64
binary: akash
main: ./cmd/akash
goarch:
- arm64
goos:
- darwin
env:
- CC=oa64-clang
- CXX=oa64-clang++
flags:
- "-mod={{ .Env.MOD }}"
- "-tags={{ .Env.BUILD_TAGS }}"
- -trimpath
ldflags:
- "{{ .Env.BUILD_VARS }}"
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
- id: akash-linux-amd64
binary: akash
main: ./cmd/akash
env:
- CC=x86_64-linux-gnu-gcc
- CXX=x86_64-linux-gnu-g++
goarch:
- amd64
goos:
- linux
flags:
- "-mod={{ .Env.MOD }}"
- "-tags={{ .Env.BUILD_TAGS }}"
- -trimpath
ldflags:
- "{{ .Env.BUILD_VARS }}"
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
- -extldflags "-lc -lrt -lpthread --static"
- id: akash-linux-arm64
binary: akash
main: ./cmd/akash
goarch:
- arm64
goos:
- linux
env:
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
flags:
- "-mod={{ .Env.MOD }}"
- "-tags={{ .Env.BUILD_TAGS }}"
- -trimpath
ldflags:
- "{{ .Env.BUILD_VARS }}"
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
- -extldflags "-lc -lrt -lpthread --static"
universal_binaries:
- id: akash-darwin-universal
ids:
- akash-darwin-amd64
- akash-darwin-arm64
replace: true
name_template: "akash"

archives:
- id: wo/version
builds:
- akash-darwin-universal
- akash-linux-amd64
- akash-linux-arm64
name_template: "akash_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
formats:
- zip
files:
- none*
6 changes: 4 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ archives:
- akash-windows-amd64
name_template: "akash_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
format: zip
formats:
- zip
files:
- none*
- id: wo/version
Expand All @@ -126,7 +127,8 @@ archives:
- akash-windows-amd64
name_template: "akash_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
format: zip
formats:
- zip
files:
- none*

Expand Down
Loading

0 comments on commit 49abf0c

Please sign in to comment.