Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add production testnet deployment #593

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions deploy/analytics/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-analytics
REPLICAS=1
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=128Mi
RESOURCES_LIMITS_CPU=200m
RESOURCES_REQUESTS_MEMORY=64Mi
RESOURCES_REQUESTS_CPU=100m
SQS_URL=
SQS_AWS_REGION=
P2P_NETWORK=testnet
PPROF_ENABLED=false
AWS_IAM_ROLE=
CACHE_CHANNEL=WORMSCAN:NOTIONAL
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions deploy/api/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-api
PORT=8000
REPLICAS=2
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=30Mi
RESOURCES_LIMITS_CPU=20m
RESOURCES_REQUESTS_MEMORY=15Mi
RESOURCES_REQUESTS_CPU=10m
WORMSCAN_RUNMODE=DEVELOPMENT
WORMSCAN_LOGLEVEL=INFO
WORMSCAN_P2PNETWORK=testnet
WORMSCAN_PPROF_ENABLED=false
HOSTNAME=api.testnet.wormholescan.io
ALB_GROUP_NAME=wormscan-group-production-testing
ALB_SSL_CERT=
WORMSCAN_RATELIMIT_ENABLED=true
WORMSCAN_RATELIMIT_MAX=100
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion deploy/common/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ data:
influxdb-bucket-infinite: {{ .INFLUX_BUCKET_INFINITE }}
influxdb-bucket-30-days: {{ .INFLUX_BUCKET_30_DAYS }}
influxdb-bucket-24-hours: {{ .INFLUX_BUCKET_24_HOURS }}
influx-bucket: {{ .INFLUX_BUCKET }}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ INFLUX_ORGANIZATION=
INFLUX_BUCKET_INFINITE=
INFLUX_BUCKET_30_DAYS=
INFLUX_BUCKET_24_HOURS=
ALERT_API_KEY=
INFLUX_BUCKET=
ALERT_API_KEY=
13 changes: 13 additions & 0 deletions deploy/common/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ENVIRONMENT=production
NAMESPACE=wormscan-testnet
MONGODB_URI=
MONGODB_DATABASE=wormhole
REDIS_URI=
REDIS_PREFIX=production-testnet
INFLUX_URL=
INFLUX_TOKEN=
INFLUX_ORGANIZATION=
INFLUX_BUCKET_INFINITE=
INFLUX_BUCKET_30_DAYS=
INFLUX_BUCKET_24_HOURS=
ALERT_API_KEY=
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ INFLUX_ORGANIZATION=
INFLUX_BUCKET_INFINITE=
INFLUX_BUCKET_30_DAYS=
INFLUX_BUCKET_24_HOURS=
ALERT_API_KEY=
INFLUX_BUCKET=
ALERT_API_KEY=
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ INFLUX_ORGANIZATION=
INFLUX_BUCKET_INFINITE=
INFLUX_BUCKET_30_DAYS=
INFLUX_BUCKET_24_HOURS=
ALERT_API_KEY=
INFLUX_BUCKET=
ALERT_API_KEY=
30 changes: 30 additions & 0 deletions deploy/contract-watcher/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-contract-watcher
REPLICAS=1
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=128Mi
RESOURCES_LIMITS_CPU=20m
RESOURCES_REQUESTS_MEMORY=64Mi
RESOURCES_REQUESTS_CPU=10m
P2P_NETWORK=testnet
PPROF_ENABLED=false
ANKR_URL=
ANKR_REQUESTS_PER_SECOND=10
SOLANA_URL=
SOLANA_REQUESTS_PER_SECOND=2
TERRA_URL=
TERRA_REQUESTS_PER_SECOND=5
APTOS_URL=
APTOS_REQUESTS_PER_SECOND=1
OASIS_URL=
OASIS_REQUESTS_PER_SECOND=1
MOONBEAM_URL=
MOONBEAM_REQUESTS_PER_SECOND=2
CELO_URL=
CELO_REQUESTS_PER_SECOND=20
ARBITRUM_URL=
ARBITRUM_REQUESTS_PER_SECOND=1
OPTIMISM_URL=
OPTIMISM_REQUESTS_PER_SECOND=1
ALERT_ENABLED=false
File renamed without changes.
22 changes: 22 additions & 0 deletions deploy/fly/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-fly
REPLICAS=3
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_CPU=500m
RESOURCES_REQUESTS_MEMORY=128Mi
RESOURCES_REQUESTS_CPU=250m
SQS_URL=
SQS_AWS_REGION=
P2P_NETWORK=testnet
PPROF_ENABLED=false
MAX_HEALTH_TIME_SECONDS=300
AWS_IAM_ROLE=
ALERT_ENABLED=false
METRICS_ENABLED=true
OBSERVATIONS_CHANNEL_SIZE=1000
VAAS_CHANNEL_SIZE=300
HEARTBEATS_CHANNEL_SIZE=50
GOVERNOR_CONFIG_CHANNEL_SIZE=50
GOVERNOR_STATUS_CHANNEL_SIZE=50
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ COINGECKO_URL=https://api.coingecko.com/api/v3
NOTIONAL_CHANNEL=WORMSCAN:NOTIONAL
LOG_LEVEL=INFO
CRONTAB_SCHEDULE=*/5 * * * *
CACHE_PREFIX=mainnet-production
14 changes: 14 additions & 0 deletions deploy/jobs/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-notional-job
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=30Mi
RESOURCES_LIMITS_CPU=20m
RESOURCES_REQUESTS_MEMORY=15Mi
RESOURCES_REQUESTS_CPU=10m
P2P_NETWORK=mainnet
COINGECKO_URL=https://api.coingecko.com/api/v3
NOTIONAL_CHANNEL=WORMSCAN:NOTIONAL
LOG_LEVEL=INFO
CRONTAB_SCHEDULE=*/5 * * * *

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ COINGECKO_URL=https://api.coingecko.com/api/v3
NOTIONAL_CHANNEL=WORMSCAN:NOTIONAL
LOG_LEVEL=INFO
CRONTAB_SCHEDULE=*/5 * * * *
CACHE_PREFIX=mainnet-staging
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ COINGECKO_URL=https://api.coingecko.com/api/v3
NOTIONAL_CHANNEL=WORMSCAN:NOTIONAL
LOG_LEVEL=INFO
CRONTAB_SCHEDULE=*/5 * * * *
CACHE_PREFIX=mainnet-test

18 changes: 18 additions & 0 deletions deploy/parser/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-parser
REPLICAS=1
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=30Mi
RESOURCES_LIMITS_CPU=20m
RESOURCES_REQUESTS_MEMORY=15Mi
RESOURCES_REQUESTS_CPU=10m
SQS_URL=
SQS_AWS_REGION=
VAA_PAYLOAD_PARSER_URL=http://wormscan-vaa-payload-parser.wormscan-testnet
VAA_PAYLOAD_PARSER_TIMEOUT=10
P2P_NETWORK=testnet
PPROF_ENABLED=false
AWS_IAM_ROLE=
ALERT_ENABLED=false
METRICS_ENABLED=true
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions deploy/pipeline/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-pipeline
REPLICAS=2
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=30Mi
RESOURCES_LIMITS_CPU=20m
RESOURCES_REQUESTS_MEMORY=15Mi
RESOURCES_REQUESTS_CPU=10m
SNS_URL=
SNS_AWS_REGION=
AWS_IAM_ROLE=
PPROF_ENABLED=true
P2P_NETWORK=testnet
ALERT_ENABLED=false
METRICS_ENABLED=true
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions deploy/spy/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ENVIRONMENT=test
NAMESPACE=wormscan-testnet
NAME=wormscan-spy
PORT=7777
REPLICAS=2
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=30Mi
RESOURCES_LIMITS_CPU=20m
RESOURCES_REQUESTS_MEMORY=16Mi
RESOURCES_REQUESTS_CPU=10m
GRPC_ADDRESS=0.0.0.0:7777
HOSTNAME=spy.prod.testnet.wormscan.io
PPROF_ENABLED=false
File renamed without changes.
File renamed without changes.
79 changes: 79 additions & 0 deletions deploy/tx-tracker/env/production-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
ENVIRONMENT=production-testnet
NAMESPACE=wormscan-testnet
NAME=wormscan-tx-tracker
REPLICAS=1
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=30Mi
RESOURCES_LIMITS_CPU=20m
RESOURCES_REQUESTS_MEMORY=15Mi
RESOURCES_REQUESTS_CPU=10m
SQS_URL=
SQS_AWS_REGION=
AWS_IAM_ROLE=
METRICS_ENABLED=true

ACALA_BASE_URL=https://acala-dev.aca-dev.network/eth/http
ACALA_REQUESTS_PER_MINUTE=12

ALGORAND_BASE_URL=https://testnet-idx.algonode.cloud
ALGORAND_REQUESTS_PER_MINUTE=12

APTOS_BASE_URL=https://fullnode.testnet.aptoslabs.com/v1
APTOS_REQUESTS_PER_MINUTE=12

ARBITRUM_BASE_URL=https://goerli-rollup.arbitrum.io/rpc
ARBITRUM_REQUESTS_PER_MINUTE=12

AVALANCHE_BASE_URL=https://rpc.ankr.com/avalanche_fuji
AVALANCHE_REQUESTS_PER_MINUTE=12

BASE_BASE_URL=https://base-goerli.public.blastapi.io
BASE_REQUESTS_PER_MINUTE=12

BSC_BASE_URL=https://data-seed-prebsc-1-s1.binance.org:8545
BSC_REQUESTS_PER_MINUTE=12

CELO_BASE_URL=https://alfajores-forno.celo-testnet.org
CELO_REQUESTS_PER_MINUTE=12

ETHEREUM_BASE_URL=https://rpc.ankr.com/eth_goerli
ETHEREUM_REQUESTS_PER_MINUTE=12

FANTOM_BASE_URL=https://rpc.testnet.fantom.network
FANTOM_REQUESTS_PER_MINUTE=12

INJECTIVE_BASE_URL=https://k8s.testnet.tm.injective.network:443
INJECTIVE_REQUESTS_PER_MINUTE=12

KARURA_BASE_URL=https://karura-dev.aca-dev.network/eth/http
KARURA_REQUESTS_PER_MINUTE=12

KLAYTN_BASE_URL=https://api.baobab.klaytn.net:8651
KLAYTN_REQUESTS_PER_MINUTE=12

MOONBEAM_BASE_URL=https://rpc.api.moonbase.moonbeam.network
MOONBEAM_REQUESTS_PER_MINUTE=12

OASIS_BASE_URL=https://testnet.emerald.oasis.dev
OASIS_REQUESTS_PER_MINUTE=12

OPTIMISM_BASE_URL=https://goerli.optimism.io
OPTIMISM_REQUESTS_PER_MINUTE=12

POLYGON_BASE_URL=https://rpc.ankr.com/polygon_mumbai
POLYGON_REQUESTS_PER_MINUTE=12

SOLANA_BASE_URL=https://api.devnet.solana.com
SOLANA_REQUESTS_PER_MINUTE=12

SUI_BASE_URL=https://fullnode.testnet.sui.io:443
SUI_REQUESTS_PER_MINUTE=12

TERRA_BASE_URL=https://bombay-lcd.terra.dev
TERRA_REQUESTS_PER_MINUTE=12

TERRA2_BASE_URL=https://pisco-lcd.terra.dev
TERRA2_REQUESTS_PER_MINUTE=12

XPLA_BASE_URL=https://cube-lcd.xpla.dev:443
XPLA_REQUESTS_PER_MINUTE=12
Loading