Skip to content

Commit

Permalink
chore: default images update (#197)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Anmol1696 authored Aug 30, 2023
1 parent b3c162c commit 1bc1ada
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/devnet/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions charts/devnet/templates/chains/cosmos/genesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions charts/devnet/templates/chains/cosmos/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" $ }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions charts/devnet/templates/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions charts/devnet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/configs/simapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ registry:
memory: "100M"

exposer:
image: ghcr.io/cosmology-tech/starship/exposer:20230808-2333929
resources:
cpu: "0.1"
memory: "100M"
4 changes: 2 additions & 2 deletions tests/e2e/configs/two-chain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/smoke/ci/simapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ registry:
memory: "100M"

exposer:
image: ghcr.io/cosmology-tech/starship/exposer:20230808-2333929
resources:
cpu: "0.1"
memory: "100M"

0 comments on commit 1bc1ada

Please sign in to comment.