Skip to content

Commit

Permalink
Update Akash to v0.24.0 (#617)
Browse files Browse the repository at this point in the history
* Update Akash to v0.24.0

* Use go 1.21

* Use debian bullseye

* Allow custom build environment

* Improve arg naming
  • Loading branch information
tombeynon authored Aug 31, 2023
1 parent 3344690 commit 82f2fcc
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- project: agoric
version: agoric-upgrade-7-2
- project: akash
version: v0.22.7
version: v0.24.0
- project: assetmantle
version: v1.0.0
- project: autonomy
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ARG DEBIAN_VERSION=buster
ARG BUILD_IMAGE=default
ARG BUILD_METHOD=source
ARG GOLANG_VERSION=1.18-buster
ARG BASE_IMAGE=golang:${GOLANG_VERSION}
ARG DEBIAN_IMAGE=debian:${DEBIAN_VERSION}

#
# Default build environment for standard Tendermint chains
Expand Down Expand Up @@ -77,7 +79,7 @@ RUN mv $BUILD_PATH/$PROJECT_BIN /bin/$PROJECT_BIN
#
# Default image
#
FROM debian:buster AS default
FROM ${DEBIAN_IMAGE} AS default

ARG PROJECT
ARG PROJECT_BIN=$PROJECT
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tagged with the form `$COSMOS_OMNIBUS_VERSION-$PROJECT-$PROJECT_VERSION`.
|Project|Version|Image| |
|---|---|---|---|
|[agoric](https://github.com/Agoric/ag0)|`agoric-upgrade-7-2`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-agoric-agoric-upgrade-7-2`|[Example](./agoric)|
|[akash](https://github.com/akash-network/node)|`v0.22.7`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7`|[Example](./akash)|
|[akash](https://github.com/akash-network/node)|`v0.24.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0`|[Example](./akash)|
|[assetmantle](https://github.com/AssetMantle/node)|`v1.0.0`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-assetmantle-v1.0.0`|[Example](./assetmantle)|
|[autonomy](https://github.com/AutonomyNetwork/autonomy-chain)|`v1.2.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-autonomy-v1.2.1`|[Example](./autonomy)|
|[bandchain](https://github.com/bandprotocol/chain)|`v2.5.1`|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-bandchain-v2.5.1`|[Example](./bandchain)|
Expand Down
2 changes: 1 addition & 1 deletion _examples/load-balanced-rpc-nodes/node_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
2 changes: 1 addition & 1 deletion _examples/snapshot_backup/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
4 changes: 2 additions & 2 deletions _examples/statesync/snapshot-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=public-node-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand All @@ -26,7 +26,7 @@ services:
# data:
# mount: /root/.akash
node2:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=public-node-2
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
2 changes: 1 addition & 1 deletion _examples/statesync/statesync-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
6 changes: 3 additions & 3 deletions _examples/validator-and-private-sentries/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
validator:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=validator
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down Expand Up @@ -38,7 +38,7 @@ services:
# data:
# mount: /root/.akash
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down Expand Up @@ -68,7 +68,7 @@ services:
# data:
# mount: /root/.akash
node2:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=private_node_2
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
4 changes: 2 additions & 2 deletions _examples/validator-and-public-sentries/sentries-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down Expand Up @@ -32,7 +32,7 @@ services:
# data:
# mount: /root/.akash
node2:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=private_node_2
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
validator:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=validator
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
2 changes: 1 addition & 1 deletion _examples/validator-and-tmkms/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
4 changes: 2 additions & 2 deletions akash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

| | |
|---|---|
|Version|`v0.22.7`|
|Version|`v0.24.0`|
|Binary|`akash`|
|Directory|`.akash`|
|ENV namespace|`AKASH`|
|Repository|`https://github.com/akash-network/node`|
|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7`|
|Image|`ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0`|

## Examples

Expand Down
5 changes: 3 additions & 2 deletions akash/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ services:
context: ../
args:
PROJECT: akash
VERSION: v0.22.7
VERSION: v0.24.0
REPOSITORY: https://github.com/akash-network/node
GOLANG_VERSION: 1.19.2-buster
GOLANG_VERSION: 1.21-bullseye
DEBIAN_VERSION: bullseye
INSTALL_PACKAGES: jq
ports:
- '26656:26656'
Expand Down
2 changes: 1 addition & 1 deletion akash/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.0"

services:
node:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
Expand Down
2 changes: 1 addition & 1 deletion akash/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.4'

services:
node_1:
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.22.7
image: ghcr.io/akash-network/cosmos-omnibus:v0.3.45-akash-v0.24.0
ports:
- '26656:26656'
- '26657:26657'
Expand Down

0 comments on commit 82f2fcc

Please sign in to comment.