Skip to content

Commit 32f12de

Browse files
committed
Enabled CI to use solana arm64 image
1 parent bf1e79f commit 32f12de

File tree

2 files changed

+4
-7
lines changed
  • book/src/framework/components/blockchains
  • framework/components/blockchain

2 files changed

+4
-7
lines changed

book/src/framework/components/blockchains/solana.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Since `Solana` doesn't have official image for `arm64` we built it, images we use are:
44
```
5-
amd64 solanalabs/solana:v1.18.26 - used in CI
6-
arm64 f4hrenh9it/solana:latest - used locally
5+
amd64 solanalabs/solana:v1.18.26
6+
arm64 f4hrenh9it/solana:latest - used locally and in CI
77
```
88

99
## Configuration

framework/components/blockchain/solana.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,10 @@ var idJSONRaw = `
3131
`
3232

3333
func defaultSolana(in *Input) {
34-
ci := os.Getenv("CI") == "true"
35-
if in.Image == "" && !ci {
34+
// Use image locally and in CI for arm64
35+
if in.Image == "" {
3636
in.Image = "f4hrenh9it/solana"
3737
}
38-
if in.Image == "" && ci {
39-
in.Image = "anzaxyz/agave:v2.1.13"
40-
}
4138
if in.Port == "" {
4239
in.Port = "8999"
4340
}

0 commit comments

Comments
 (0)