Skip to content

Commit 49abf0c

Browse files
committed
feat: network upgrade v0.38.0
refs akash-network/AEP#4 Signed-off-by: Artur Troian <[email protected]>
1 parent 42debb1 commit 49abf0c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3772
-1354
lines changed

.github/repo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github.com/akash-network/node

.github/workflows/tests.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,22 @@ jobs:
182182
network-upgrade-names:
183183
runs-on: upgrade-tester
184184
steps:
185+
- name: Cleanup build folder
186+
run: |
187+
sudo rm -rf ./* || true
188+
sudo rm -rf ./.??* || true
185189
- uses: actions/checkout@v4
186190
- run: git fetch --prune --unshallow
187191
- name: Detect required Go version
188192
run: |
189193
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//')
190194
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV
195+
- name: 'Setup jq'
196+
uses: dcarbone/install-jq-action@v3
197+
- name: Setup npm
198+
uses: actions/setup-node@v4
199+
with:
200+
node-version: 18
191201
- uses: actions/setup-go@v5
192202
with:
193203
go-version: "${{ env.GOVERSION }}"
@@ -209,12 +219,22 @@ jobs:
209219
network-upgrade:
210220
runs-on: upgrade-tester
211221
steps:
222+
- name: Cleanup build folder
223+
run: |
224+
sudo rm -rf ./* || true
225+
sudo rm -rf ./.??* || true
212226
- uses: actions/checkout@v4
213227
- run: git fetch --prune --unshallow
214228
- name: Detect required Go version
215229
run: |
216230
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//')
217231
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV
232+
- name: 'Setup jq'
233+
uses: dcarbone/install-jq-action@v3
234+
- name: Setup npm
235+
uses: actions/setup-node@v4
236+
with:
237+
node-version: 18
218238
- uses: actions/setup-go@v5
219239
with:
220240
go-version: "${{ env.GOVERSION }}"
@@ -237,6 +257,7 @@ jobs:
237257
name: validators-logs
238258
path: |
239259
.cache/run/upgrade/validators/logs/*.log
260+
include-hidden-files: true
240261

241262
dispatch-release:
242263
runs-on: ubuntu-latest

.goreleaser-docker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
version: 2
33
project_name: node
4+
dist: ./.cache/goreleaser/docker
45
env:
56
- GO111MODULE=on
67
- CGO_ENABLED=1

.goreleaser-test-bins.yaml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
---
2+
project_name: node
3+
version: 2
4+
dist: ./.cache/goreleaser/test-bins
5+
env:
6+
- GO111MODULE=on
7+
- CGO_ENABLED=1
8+
builds:
9+
- id: akash-darwin-amd64
10+
binary: akash
11+
main: ./cmd/akash
12+
goarch:
13+
- amd64
14+
goos:
15+
- darwin
16+
env:
17+
- CC=o64-clang
18+
- CXX=o64-clang++
19+
flags:
20+
- "-mod={{ .Env.MOD }}"
21+
- "-tags={{ .Env.BUILD_TAGS }}"
22+
- -trimpath
23+
ldflags:
24+
- "{{ .Env.BUILD_VARS }}"
25+
- "{{ .Env.STRIP_FLAGS }}"
26+
- "-linkmode={{ .Env.LINKMODE }}"
27+
- id: akash-darwin-arm64
28+
binary: akash
29+
main: ./cmd/akash
30+
goarch:
31+
- arm64
32+
goos:
33+
- darwin
34+
env:
35+
- CC=oa64-clang
36+
- CXX=oa64-clang++
37+
flags:
38+
- "-mod={{ .Env.MOD }}"
39+
- "-tags={{ .Env.BUILD_TAGS }}"
40+
- -trimpath
41+
ldflags:
42+
- "{{ .Env.BUILD_VARS }}"
43+
- "{{ .Env.STRIP_FLAGS }}"
44+
- "-linkmode={{ .Env.LINKMODE }}"
45+
- id: akash-linux-amd64
46+
binary: akash
47+
main: ./cmd/akash
48+
env:
49+
- CC=x86_64-linux-gnu-gcc
50+
- CXX=x86_64-linux-gnu-g++
51+
goarch:
52+
- amd64
53+
goos:
54+
- linux
55+
flags:
56+
- "-mod={{ .Env.MOD }}"
57+
- "-tags={{ .Env.BUILD_TAGS }}"
58+
- -trimpath
59+
ldflags:
60+
- "{{ .Env.BUILD_VARS }}"
61+
- "{{ .Env.STRIP_FLAGS }}"
62+
- "-linkmode={{ .Env.LINKMODE }}"
63+
- -extldflags "-lc -lrt -lpthread --static"
64+
- id: akash-linux-arm64
65+
binary: akash
66+
main: ./cmd/akash
67+
goarch:
68+
- arm64
69+
goos:
70+
- linux
71+
env:
72+
- CC=aarch64-linux-gnu-gcc
73+
- CXX=aarch64-linux-gnu-g++
74+
flags:
75+
- "-mod={{ .Env.MOD }}"
76+
- "-tags={{ .Env.BUILD_TAGS }}"
77+
- -trimpath
78+
ldflags:
79+
- "{{ .Env.BUILD_VARS }}"
80+
- "{{ .Env.STRIP_FLAGS }}"
81+
- "-linkmode={{ .Env.LINKMODE }}"
82+
- -extldflags "-lc -lrt -lpthread --static"
83+
universal_binaries:
84+
- id: akash-darwin-universal
85+
ids:
86+
- akash-darwin-amd64
87+
- akash-darwin-arm64
88+
replace: true
89+
name_template: "akash"
90+
91+
archives:
92+
- id: wo/version
93+
builds:
94+
- akash-darwin-universal
95+
- akash-linux-amd64
96+
- akash-linux-arm64
97+
name_template: "akash_{{ .Os }}_{{ .Arch }}"
98+
wrap_in_directory: false
99+
formats:
100+
- zip
101+
files:
102+
- none*

.goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ archives:
115115
- akash-windows-amd64
116116
name_template: "akash_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
117117
wrap_in_directory: false
118-
format: zip
118+
formats:
119+
- zip
119120
files:
120121
- none*
121122
- id: wo/version
@@ -126,7 +127,8 @@ archives:
126127
- akash-windows-amd64
127128
name_template: "akash_{{ .Os }}_{{ .Arch }}"
128129
wrap_in_directory: false
129-
format: zip
130+
formats:
131+
- zip
130132
files:
131133
- none*
132134

0 commit comments

Comments
 (0)