Skip to content

Commit

Permalink
Deploy celo's image of ethstats (celo-org#1421)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso authored and celo-ci-bot-user committed Oct 27, 2019
1 parent e153a29 commit 5ae4dc4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ BLOCKSCOUT_DOCKER_IMAGE_TAG="5fba4843b3e78b5ab75d01766214cb24c6a40649"
BLOCKSCOUT_WEB_REPLICAS=3
BLOCKSCOUT_DB_SUFFIX=

ETHSTATS_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/ethstats"
ETHSTATS_DOCKER_IMAGE_TAG="i0ffe524c625ea59e4492dc92c2e638689c36e4b0"

GETH_NODE_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/geth"
# When upgrading change this to latest commit hash from the master of the geth repo
# `geth $ git show | head -n 1`
Expand Down
2 changes: 2 additions & 0 deletions packages/celotool/src/lib/env-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export enum envVar {
CLUSTER_DOMAIN_NAME = 'CLUSTER_DOMAIN_NAME',
ENV_TYPE = 'ENV_TYPE',
EPOCH = 'EPOCH',
ETHSTATS_DOCKER_IMAGE_REPOSITORY = 'ETHSTATS_DOCKER_IMAGE_REPOSITORY',
ETHSTATS_DOCKER_IMAGE_TAG = 'ETHSTATS_DOCKER_IMAGE_TAG',
ETHSTATS_WEBSOCKETSECRET = 'ETHSTATS_WEBSOCKETSECRET',
GETH_ACCOUNT_SECRET = 'GETH_ACCOUNT_SECRET',
GETH_BOOTNODE_DOCKER_IMAGE_REPOSITORY = 'GETH_BOOTNODE_DOCKER_IMAGE_REPOSITORY',
Expand Down
2 changes: 2 additions & 0 deletions packages/celotool/src/lib/ethstats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ function helmParameters() {
`--set domain.name=${fetchEnv(envVar.CLUSTER_DOMAIN_NAME)}`,
`--set ethstats.createSecret=${isVmBased()}`,
`--set ethstats.webSocketSecret="${fetchEnv(envVar.ETHSTATS_WEBSOCKETSECRET)}"`,
`--set ethstats.image.repository=${fetchEnv(envVar.ETHSTATS_DOCKER_IMAGE_REPOSITORY)}`,
`--set ethstats.image.tag=${fetchEnv(envVar.ETHSTATS_DOCKER_IMAGE_TAG)}`,
]
}

Expand Down
4 changes: 2 additions & 2 deletions packages/helm-charts/ethstats/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ nodeSelector: {}

ethstats:
image:
repository: ethereumex/eth-stats-dashboard
tag: v0.0.1
repository: gcr.io/celo-testnet/ethstats
tag: latest
service:
type: NodePort

0 comments on commit 5ae4dc4

Please sign in to comment.