From 0e18757b8393357fc66426c5ee23da4ccf760e74 Mon Sep 17 00:00:00 2001 From: Anmol Date: Fri, 24 May 2024 14:21:56 +0530 Subject: [PATCH] chore: update examples to v2 (#450) * update package.json * set cli version to 2.0.0 * update examples to v2 --- examples/cosmos-simapp-multi/Makefile | 2 +- examples/cosmos-simapp-multi/configs/devnet-20.yaml | 4 ++-- examples/cosmos-simapp-multi/configs/devnet-30.yaml | 4 ++-- .../cosmos-simapp-multi/configs/local-custom.yaml | 4 ++-- examples/cosmos-simapp-multi/configs/local.yaml | 4 ++-- examples/getting-started/Makefile | 2 +- examples/getting-started/README.md | 2 ++ examples/getting-started/configs/starship.yaml | 8 ++++---- examples/getting-started/configs/tiny-starship.yaml | 8 ++++---- examples/injective/Makefile | 2 +- examples/injective/configs/ci.yaml | 8 ++++---- examples/injective/configs/devnet.yaml | 8 ++++---- examples/injective/configs/local.yaml | 8 ++++---- examples/mesh-security/custom-values.yaml | 8 ++++---- examples/mesh-security/local-values.yaml | 8 ++++---- examples/multi-chain/Makefile | 2 +- examples/multi-chain/configs/osmo-juno-cosmos.yaml | 12 ++++++------ examples/multi-chain/configs/terra.yaml | 4 ++-- examples/neutron/Makefile | 2 +- examples/neutron/configs/ci.yaml | 8 ++++---- examples/neutron/configs/devnet.yaml | 8 ++++---- examples/neutron/configs/local.yaml | 8 ++++---- 22 files changed, 63 insertions(+), 61 deletions(-) diff --git a/examples/cosmos-simapp-multi/Makefile b/examples/cosmos-simapp-multi/Makefile index 181d2e617..592984cf1 100644 --- a/examples/cosmos-simapp-multi/Makefile +++ b/examples/cosmos-simapp-multi/Makefile @@ -3,7 +3,7 @@ FILE = configs/local.yaml HELM_REPO = starship HELM_CHART = devnet -HELM_VERSION = v0.1.36 +HELM_VERSION = v0.2.1 ############################################################################### ### All commands ### diff --git a/examples/cosmos-simapp-multi/configs/devnet-20.yaml b/examples/cosmos-simapp-multi/configs/devnet-20.yaml index 307dbc5b5..1703330be 100644 --- a/examples/cosmos-simapp-multi/configs/devnet-20.yaml +++ b/examples/cosmos-simapp-multi/configs/devnet-20.yaml @@ -1,6 +1,6 @@ chains: - - name: simapp - type: simapp + - id: simapp + name: simapp image: ghcr.io/cosmology-tech/starship/simapp:v0.47.3 numValidators: 20 ports: diff --git a/examples/cosmos-simapp-multi/configs/devnet-30.yaml b/examples/cosmos-simapp-multi/configs/devnet-30.yaml index 16146b122..e1d68407b 100644 --- a/examples/cosmos-simapp-multi/configs/devnet-30.yaml +++ b/examples/cosmos-simapp-multi/configs/devnet-30.yaml @@ -1,6 +1,6 @@ chains: - - name: simapp - type: simapp + - id: simapp + name: simapp image: ghcr.io/cosmology-tech/starship/simapp:v0.47.3 numValidators: 30 ports: diff --git a/examples/cosmos-simapp-multi/configs/local-custom.yaml b/examples/cosmos-simapp-multi/configs/local-custom.yaml index ea6cd88f2..9b4f509fe 100644 --- a/examples/cosmos-simapp-multi/configs/local-custom.yaml +++ b/examples/cosmos-simapp-multi/configs/local-custom.yaml @@ -1,6 +1,6 @@ chains: - - name: simapp - type: custom + - id: simapp + name: custom image: ghcr.io/cosmology-tech/starship/simapp:v0.47.3 numValidators: 2 home: /root/.simapp diff --git a/examples/cosmos-simapp-multi/configs/local.yaml b/examples/cosmos-simapp-multi/configs/local.yaml index c8c2a314f..24364c451 100644 --- a/examples/cosmos-simapp-multi/configs/local.yaml +++ b/examples/cosmos-simapp-multi/configs/local.yaml @@ -1,6 +1,6 @@ chains: - - name: simapp - type: simapp + - id: simapp + name: simapp image: ghcr.io/cosmos/simapp:latest numValidators: 2 ports: diff --git a/examples/getting-started/Makefile b/examples/getting-started/Makefile index 39fa94b56..c705836e3 100644 --- a/examples/getting-started/Makefile +++ b/examples/getting-started/Makefile @@ -4,7 +4,7 @@ TINY_FILE = configs/tiny-starship.yaml HELM_REPO = starship HELM_CHART = devnet -HELM_VERSION = v0.1.46 +HELM_VERSION = v0.2.1 ############################################################################### ### All commands ### diff --git a/examples/getting-started/README.md b/examples/getting-started/README.md index 2fbdd7ea8..8a80ee9d3 100644 --- a/examples/getting-started/README.md +++ b/examples/getting-started/README.md @@ -34,6 +34,8 @@ make setup-deps Additionally, you would also need `docker` to be running on your machine as well. ## Spin up a cluster (if you don't have one already) +Recommend to use Docker Desktop for Mac/Windows or Minikube for Linux. + Optional step to setup a cluster with kind, if you already have a cluster running, you can skip this step. ```bash make setup-kind diff --git a/examples/getting-started/configs/starship.yaml b/examples/getting-started/configs/starship.yaml index 40b697459..b4a6f1743 100644 --- a/examples/getting-started/configs/starship.yaml +++ b/examples/getting-started/configs/starship.yaml @@ -1,12 +1,12 @@ chains: - - name: osmosis-1 - type: osmosis + - id: osmosis-1 + name: osmosis numValidators: 1 ports: rest: 1313 rpc: 26653 - - name: gaia-1 - type: cosmos + - id: gaia-1 + name: cosmoshub numValidators: 1 ports: rest: 1317 diff --git a/examples/getting-started/configs/tiny-starship.yaml b/examples/getting-started/configs/tiny-starship.yaml index bede1271a..a240dd3ef 100644 --- a/examples/getting-started/configs/tiny-starship.yaml +++ b/examples/getting-started/configs/tiny-starship.yaml @@ -1,6 +1,6 @@ chains: - - name: osmosis-1 - type: osmosis + - id: osmosis-1 + name: osmosis numValidators: 1 ports: rest: 1313 @@ -8,8 +8,8 @@ chains: resources: cpu: "0.3" memory: "300M" - - name: gaia-1 - type: cosmos + - id: gaia-1 + name: cosmoshub numValidators: 1 ports: rest: 1317 diff --git a/examples/injective/Makefile b/examples/injective/Makefile index 048bcf2a5..50fadb7e1 100644 --- a/examples/injective/Makefile +++ b/examples/injective/Makefile @@ -3,7 +3,7 @@ FILE = configs/local.yaml HELM_REPO = starship HELM_CHART = devnet -HELM_VERSION = v0.1.47 +HELM_VERSION = v0.2.1 ############################################################################### ### Helm Charts ### diff --git a/examples/injective/configs/ci.yaml b/examples/injective/configs/ci.yaml index da1832e70..58ccc295e 100644 --- a/examples/injective/configs/ci.yaml +++ b/examples/injective/configs/ci.yaml @@ -1,6 +1,6 @@ chains: - - name: injective-1 - type: injective + - id: injective-1 + name: injective numValidators: 1 resources: cpu: "0.2" @@ -16,8 +16,8 @@ chains: rpc: 26653 exposer: 38083 faucet: 8003 - - name: cosmoshub-4 - type: cosmos + - id: cosmoshub-4 + name: cosmoshub numValidators: 1 resources: cpu: "0.2" diff --git a/examples/injective/configs/devnet.yaml b/examples/injective/configs/devnet.yaml index cd7fdc453..4c85716c2 100644 --- a/examples/injective/configs/devnet.yaml +++ b/examples/injective/configs/devnet.yaml @@ -1,6 +1,6 @@ chains: - - name: injective-1 - type: injective + - id: injective-1 + name: injective numValidators: 4 faucet: type: starship @@ -9,8 +9,8 @@ chains: rpc: 26653 exposer: 38083 faucet: 8003 - - name: cosmoshub-4 - type: cosmos + - id: cosmoshub-4 + name: cosmoshub numValidators: 4 ports: rest: 1317 diff --git a/examples/injective/configs/local.yaml b/examples/injective/configs/local.yaml index 962ea1378..bd4532a8b 100644 --- a/examples/injective/configs/local.yaml +++ b/examples/injective/configs/local.yaml @@ -1,6 +1,6 @@ chains: - - name: injective-1 - type: injective + - id: injective-1 + name: injective numValidators: 2 faucet: type: starship @@ -9,8 +9,8 @@ chains: rpc: 26653 exposer: 38083 faucet: 8003 - - name: cosmoshub-4 - type: cosmos + - id: cosmoshub-4 + name: cosmoshub numValidators: 1 ports: rest: 1317 diff --git a/examples/mesh-security/custom-values.yaml b/examples/mesh-security/custom-values.yaml index 37a6eda31..609e40218 100644 --- a/examples/mesh-security/custom-values.yaml +++ b/examples/mesh-security/custom-values.yaml @@ -1,14 +1,14 @@ # Example values.yaml file will will create 2 chains with 4 validators, # a ts-relayer between them and the explorer chains: - - name: osmosis-1 - type: osmosis + - id: osmosis-1 + name: osmosis numValidators: 4 ports: rest: 1313 rpc: 26653 - - name: wasmd - type: wasmd + - id: wasmd + name: wasmd numValidators: 4 ports: rpc: 26659 diff --git a/examples/mesh-security/local-values.yaml b/examples/mesh-security/local-values.yaml index c79ddf542..e4070fd79 100644 --- a/examples/mesh-security/local-values.yaml +++ b/examples/mesh-security/local-values.yaml @@ -1,12 +1,12 @@ chains: - - name: osmosis-1 - type: osmosis + - id: osmosis-1 + name: osmosis numValidators: 1 ports: rest: 1313 rpc: 26653 - - name: wasmd - type: wasmd + - id: wasmd + name: wasmd numValidators: 1 ports: rpc: 26659 diff --git a/examples/multi-chain/Makefile b/examples/multi-chain/Makefile index 00c494bfb..9c77418e4 100644 --- a/examples/multi-chain/Makefile +++ b/examples/multi-chain/Makefile @@ -3,7 +3,7 @@ FILE = configs/starship.yaml HELM_REPO = starship HELM_CHART = devnet -HELM_VERSION = v0.1.47-rc0 +HELM_VERSION = v0.2.1 ############################################################################### ### All commands ### diff --git a/examples/multi-chain/configs/osmo-juno-cosmos.yaml b/examples/multi-chain/configs/osmo-juno-cosmos.yaml index fb20ea640..17ed36aaf 100644 --- a/examples/multi-chain/configs/osmo-juno-cosmos.yaml +++ b/examples/multi-chain/configs/osmo-juno-cosmos.yaml @@ -1,20 +1,20 @@ # Example values.yaml file will create 2 chains with 4 validators, # a ts-relayer between them and the explorer chains: - - name: osmosis-1 - type: osmosis + - id: osmosis-1 + name: osmosis numValidators: 1 ports: rest: 1313 rpc: 26653 - - name: juno-1 - type: juno + - id: juno-1 + name: juno numValidators: 1 ports: rest: 1315 rpc: 26655 - - name: cosmoshub-1 - type: cosmos + - id: cosmoshub-1 + name: cosmoshub numValidators: 1 ports: rest: 1317 diff --git a/examples/multi-chain/configs/terra.yaml b/examples/multi-chain/configs/terra.yaml index 43512fbd1..e9e8b9af9 100644 --- a/examples/multi-chain/configs/terra.yaml +++ b/examples/multi-chain/configs/terra.yaml @@ -1,6 +1,6 @@ chains: - - name: terra-1 - type: custom + - id: terra-1 + name: custom numValidators: 2 image: ghcr.io/cfkelly18/starship-terra:latest home: /root/.terra diff --git a/examples/neutron/Makefile b/examples/neutron/Makefile index b71f30758..9d31fefc4 100644 --- a/examples/neutron/Makefile +++ b/examples/neutron/Makefile @@ -3,7 +3,7 @@ FILE = configs/local.yaml HELM_REPO = starship HELM_CHART = devnet -HELM_VERSION = v0.1.47 +HELM_VERSION = v0.2.1 ############################################################################### ### Helm Charts ### diff --git a/examples/neutron/configs/ci.yaml b/examples/neutron/configs/ci.yaml index 64a8f3146..574517b8b 100644 --- a/examples/neutron/configs/ci.yaml +++ b/examples/neutron/configs/ci.yaml @@ -1,6 +1,6 @@ chains: - - name: neutron-1 - type: neutron + - id: neutron-1 + name: neutron numValidators: 1 faucet: enabled: false @@ -13,8 +13,8 @@ chains: resources: cpu: "0.2" memory: "200M" - - name: cosmoshub-4 - type: cosmos + - id: cosmoshub-4 + name: cosmoshub numValidators: 1 faucet: type: cosmjs diff --git a/examples/neutron/configs/devnet.yaml b/examples/neutron/configs/devnet.yaml index bbca26f1b..0a4f7fe50 100644 --- a/examples/neutron/configs/devnet.yaml +++ b/examples/neutron/configs/devnet.yaml @@ -1,6 +1,6 @@ chains: - - name: neutron-1 - type: neutron + - id: neutron-1 + name: neutron numValidators: 1 faucet: enabled: false @@ -8,8 +8,8 @@ chains: rest: 1313 rpc: 26653 exposer: 38083 - - name: cosmoshub-4 - type: cosmos + - id: cosmoshub-4 + name: cosmoshub numValidators: 4 ports: rest: 1317 diff --git a/examples/neutron/configs/local.yaml b/examples/neutron/configs/local.yaml index 795a0cad7..cbd065f87 100644 --- a/examples/neutron/configs/local.yaml +++ b/examples/neutron/configs/local.yaml @@ -1,6 +1,6 @@ chains: - - name: neutron-1 - type: neutron + - id: neutron-1 + name: neutron numValidators: 1 faucet: enabled: false @@ -10,8 +10,8 @@ chains: rest: 1313 rpc: 26653 exposer: 38083 - - name: cosmoshub-4 - type: cosmos + - id: cosmoshub-4 + name: cosmoshub numValidators: 1 ports: rest: 1317