From 1bc1adab46077804a06b3c5feed4d03b4290b17f Mon Sep 17 00:00:00 2001 From: Anmol Date: Wed, 30 Aug 2023 15:36:07 +0530 Subject: [PATCH] chore: default images update (#197) * update docker images to use ghcr.io instead of anmol1696 docker repos * update default relayer image to latest one * update default images of registry and exposer * update entrypoint for exposer * add entrypoint cmd for registry * update simapp exposer image --- charts/devnet/defaults.yaml | 2 +- charts/devnet/templates/chains/cosmos/genesis.yaml | 6 +++--- charts/devnet/templates/chains/cosmos/validator.yaml | 6 +++--- charts/devnet/templates/registry.yaml | 1 + charts/devnet/values.yaml | 4 ++-- tests/e2e/configs/simapp.yaml | 1 - tests/e2e/configs/two-chain.yaml | 4 ++-- tests/smoke/ci/simapp.yaml | 1 - 8 files changed, 12 insertions(+), 13 deletions(-) diff --git a/charts/devnet/defaults.yaml b/charts/devnet/defaults.yaml index 8e5683a0..fbfe5511 100644 --- a/charts/devnet/defaults.yaml +++ b/charts/devnet/defaults.yaml @@ -282,7 +282,7 @@ defaultRelayers: ts-relayer: image: ghcr.io/cosmology-tech/starship/ts-relayer:0.9.0 hermes: - image: ghcr.io/cosmology-tech/starship/hermes:1.5.1 + image: ghcr.io/cosmology-tech/starship/hermes:1.6.0 config: global: log_level: "info" diff --git a/charts/devnet/templates/chains/cosmos/genesis.yaml b/charts/devnet/templates/chains/cosmos/genesis.yaml index d76a6e1e..c8e40889 100644 --- a/charts/devnet/templates/chains/cosmos/genesis.yaml +++ b/charts/devnet/templates/chains/cosmos/genesis.yaml @@ -17,7 +17,7 @@ {{ $image := $chain.image }} {{- if $toBuild }} -{{ $image = "anmol1696/runner:latest" }} +{{ $image = "ghcr.io/cosmology-tech/starship/runner:latest" }} {{- end }} --- apiVersion: apps/v1 @@ -50,7 +50,7 @@ spec: initContainers: {{- if $toBuild }} - name: init-build-images - image: anmol1696/builder:latest + image: ghcr.io/cosmology-tech/starship/builder:latest imagePullPolicy: IfNotPresent command: - bash @@ -169,7 +169,7 @@ spec: value: /configs/keys.json - name: EXPOSER_PRIV_VAL_FILE value: {{ $chain.home }}/config/priv_validator_key.json - command: [ "/app/exposer/exposer" ] + command: [ "exposer" ] resources: {{- include "getResourceObject" $.Values.exposer.resources | trim | nindent 12 }} volumeMounts: - mountPath: {{ $chain.home }} diff --git a/charts/devnet/templates/chains/cosmos/validator.yaml b/charts/devnet/templates/chains/cosmos/validator.yaml index 5461cc68..bc9418d0 100644 --- a/charts/devnet/templates/chains/cosmos/validator.yaml +++ b/charts/devnet/templates/chains/cosmos/validator.yaml @@ -13,7 +13,7 @@ {{ $image := $chain.image }} {{- if $toBuild }} -{{ $image = "anmol1696/runner:latest" }} +{{ $image = "ghcr.io/cosmology-tech/starship/runner:latest" }} {{- end }} {{ $initParams := dict "chains" (list $chain.name) "port" $.Values.exposer.ports.rest "context" $ }} @@ -48,7 +48,7 @@ spec: initContainers: {{- if $toBuild }} - name: init-build-images - image: anmol1696/builder:latest + image: ghcr.io/cosmology-tech/starship/builder:latest imagePullPolicy: IfNotPresent command: - bash @@ -217,7 +217,7 @@ spec: value: /configs/keys.json - name: EXPOSER_PRIV_VAL_FILE value: {{ $chain.home }}/config/priv_validator_key.json - command: [ "/app/exposer/exposer" ] + command: [ "exposer" ] resources: {{- include "getResourceObject" $.Values.exposer.resources | trim | nindent 12 }} volumeMounts: - mountPath: {{ $chain.home }} diff --git a/charts/devnet/templates/registry.yaml b/charts/devnet/templates/registry.yaml index 4ad281e8..065fb9dd 100644 --- a/charts/devnet/templates/registry.yaml +++ b/charts/devnet/templates/registry.yaml @@ -70,6 +70,7 @@ spec: value: "/configs" - name: REGISTRY_CHAIN_CLIENT_EXPOSERS value: "{{ include "devnet.chains.exposer.addrs" . }}" + command: [ "registry" ] resources: {{- include "getResourceObject" .Values.registry.resources | indent 12 }} volumeMounts: diff --git a/charts/devnet/values.yaml b/charts/devnet/values.yaml index e244a532..9567770e 100644 --- a/charts/devnet/values.yaml +++ b/charts/devnet/values.yaml @@ -22,7 +22,7 @@ resources: memory: "100M" exposer: - image: ghcr.io/cosmology-tech/starship/exposer:20230617-eea58bd + image: ghcr.io/cosmology-tech/starship/exposer:20230830-b3c162c ports: rest: 8081 resources: @@ -219,7 +219,7 @@ explorer: registry: enabled: false - image: ghcr.io/cosmology-tech/starship/registry:20230614-7173db2 + image: ghcr.io/cosmology-tech/starship/registry:20230829-eaeeb62 ports: rest: 6060 grpc: 7070 diff --git a/tests/e2e/configs/simapp.yaml b/tests/e2e/configs/simapp.yaml index 834dbd0b..57c54287 100644 --- a/tests/e2e/configs/simapp.yaml +++ b/tests/e2e/configs/simapp.yaml @@ -28,7 +28,6 @@ registry: memory: "100M" exposer: - image: ghcr.io/cosmology-tech/starship/exposer:20230808-2333929 resources: cpu: "0.1" memory: "100M" diff --git a/tests/e2e/configs/two-chain.yaml b/tests/e2e/configs/two-chain.yaml index 97b5dffd..38654de2 100644 --- a/tests/e2e/configs/two-chain.yaml +++ b/tests/e2e/configs/two-chain.yaml @@ -9,7 +9,7 @@ chains: faucet: 8001 - name: cosmoshub-4 type: cosmos - image: anmol1696/gaia:v10.0.1 + image: ghcr.io/cosmology-tech/starship/gaia:v10.0.1 numValidators: 2 ports: rest: 1317 @@ -20,7 +20,7 @@ chains: relayers: - name: osmos-cosmos type: hermes - image: anmol1696/hermes:1.6.0 # todo: replace this with ghcr.io image after merge + image: ghcr.io/cosmology-tech/starship/hermes:1.6.0 # todo: replace this with ghcr.io image after merge replicas: 1 chains: - osmosis-1 diff --git a/tests/smoke/ci/simapp.yaml b/tests/smoke/ci/simapp.yaml index b512bc4c..67d4607f 100644 --- a/tests/smoke/ci/simapp.yaml +++ b/tests/smoke/ci/simapp.yaml @@ -29,7 +29,6 @@ registry: memory: "100M" exposer: - image: ghcr.io/cosmology-tech/starship/exposer:20230808-2333929 resources: cpu: "0.1" memory: "100M"