Skip to content

Commit

Permalink
Merge pull request #572 from holographxyz/develop
Browse files Browse the repository at this point in the history
Release/012-Blondie-v3-testnet
  • Loading branch information
sogoiii authored Aug 30, 2023
2 parents 8c32f58 + 292707a commit 9d84af2
Show file tree
Hide file tree
Showing 16 changed files with 1,016 additions and 439 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/cicd_develop_staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ env:
STG_COMMON_NAMESPACE: develop
#
#######################################
STG_HOLOGRAPH_INDEXER_HELM_CHART_VERSION: 0.1.1
STG_HOLOGRAPH_INDEXER_HELM_CHART_VERSION: 0.1.3
INDEXER_RELEASE_NAME: indexer-dev # format -> [release_name]-indexer-[env]
#
STG_HOLOGRAPH_OPERATOR_HELM_CHART_VERSION: 0.0.72
STG_HOLOGRAPH_OPERATOR_HELM_CHART_VERSION: 0.0.76
OPERATOR_RELEASE_NAME: operator-dev # format -> [release_name]-operator-[env]
#######################################
#
Expand All @@ -51,7 +51,8 @@ env:
indexer_dev_optimismTestnetGoerli_rpc_url: ${{ secrets.INDEXER_DEV_OPTIMISM_GOERLI_RPC_URL }}
indexer_dev_arbitrumTestnetGoerli_rpc_url: ${{ secrets.INDEXER_DEV_ARBITRUM_GOERLI_RPC_URL }}
indexer_dev_binanceTestnet_rpc_url: ${{ secrets.INDEXER_DEV_BSC_TESTNET_RPC_URL }}
indexer_dev_mantleTestnet_rpc_url: "https://rpc.testnet.mantle.xyz" #TODO
indexer_dev_mantleTestnet_rpc_url: "https://rpc.testnet.mantle.xyz"
indexer_dev_zoraTestnet_rpc_url: "https://testnet.rpc.zora.energy"
#
indexer_dev_private_key: ${{ secrets.INDEXER_DEV_PRIVATE_KEY }}
indexer_dev_address: ${{ secrets.INDEXER_DEV_ADDRESS }}
Expand All @@ -62,7 +63,8 @@ env:
operator_dev_optimismTestnetGoerli_rpc_url: ${{ secrets.OPERATOR_DEV_OPTIMISM_GOERLI_RPC_URL }}
operator_dev_arbitrumTestnetGoerli_rpc_url: ${{ secrets.OPERATOR_DEV_ARBITRUM_GOERLI_RPC_URL }}
operator_dev_binanceTestnet_rpc_url: ${{ secrets.OPERATOR_DEV_BSC_TESTNET_RPC_URL }}
operator_dev_mantleTestnet_rpc_url: "https://rpc.testnet.mantle.xyz" #TODO
operator_dev_mantleTestnet_rpc_url: "https://rpc.testnet.mantle.xyz"
operator_dev_zoraTestnet_rpc_url: "https://testnet.rpc.zora.energy"
#
operator_dev_private_key: ${{ secrets.OPERATOR_DEV_PRIVATE_KEY }}
operator_dev_address: ${{ secrets.OPERATOR_DEV_ADDRESS }}
Expand Down Expand Up @@ -182,6 +184,7 @@ jobs:
ENABLE_PROCESS_BLOCK_RANGE_optimism: 'true'
ENABLE_PROCESS_BLOCK_RANGE_binance: 'true'
ENABLE_PROCESS_BLOCK_RANGE_mantle: 'true'
ENABLE_PROCESS_BLOCK_RANGE_zora: 'true'
ENABLE_PROCESS_BLOCK_RANGE_avalanche: 'true'
ENABLE_PROCESS_BLOCK_RANGE_ethereum: 'true'
ENABLE_PROCESS_BLOCK_RANGE_polygon: 'true'
Expand All @@ -193,6 +196,7 @@ jobs:
POLYGON_NETWORK: 'mumbai'
BINANCE_NETWORK: 'binanceSmartChainTestnet'
MANTLE_NETWORK: 'mantleTestnet'
ZORA_NETWORK: 'zoraTestnetGoerli'
with:
eks_cluster: ${{ env.CLUSTER_NAME }}
command: |-
Expand Down Expand Up @@ -220,6 +224,7 @@ jobs:
--set POLYGON_NETWORK="${POLYGON_NETWORK}" \
--set BINANCE_NETWORK="${BINANCE_NETWORK}" \
--set MANTLE_NETWORK="${MANTLE_NETWORK}" \
--set ZORA_NETWORK="${ZORA_NETWORK}" \
\
--set ENABLE_UNSAFE="${ENABLE_UNSAFE}" \
--set UPDATE_BLOCK_HEIGHT=$UPDATE_BLOCK_HEIGHT \
Expand All @@ -231,6 +236,7 @@ jobs:
--set ENABLE_PROCESS_BLOCK_RANGE.ethereum=$ENABLE_PROCESS_BLOCK_RANGE_ethereum \
--set ENABLE_PROCESS_BLOCK_RANGE.polygon=$ENABLE_PROCESS_BLOCK_RANGE_polygon \
--set ENABLE_PROCESS_BLOCK_RANGE.mantle=$ENABLE_PROCESS_BLOCK_RANGE_mantle \
--set ENABLE_PROCESS_BLOCK_RANGE.zora=$ENABLE_PROCESS_BLOCK_RANGE_zora \
\
--set dev_rpc_config_values.avalancheTestnet_rpc_url=${{ env.indexer_dev_avalancheTestnet_rpc_url }} \
--set dev_rpc_config_values.polygonTestnet_rpc_url=${{ env.indexer_dev_polygonTestnet_rpc_url }} \
Expand All @@ -239,6 +245,7 @@ jobs:
--set dev_rpc_config_values.arbitrumTestnetGoerli_rpc_url=${{ env.indexer_dev_arbitrumTestnetGoerli_rpc_url }} \
--set dev_rpc_config_values.binanceTestnet_rpc_url=${{ env.indexer_dev_binanceTestnet_rpc_url }} \
--set dev_rpc_config_values.mantleTestnet_rpc_url=${{ env.indexer_dev_mantleTestnet_rpc_url }} \
--set dev_rpc_config_values.zoraTestnet_rpc_url=${{ env.indexer_dev_zoraTestnet_rpc_url }} \
\
--set dev_rpc_config_values.private_key=${{ env.indexer_dev_private_key }} \
--set dev_rpc_config_values.address=${{ env.indexer_dev_address }} \
Expand Down Expand Up @@ -279,6 +286,10 @@ jobs:
--set resources.mantle.requests.cpu=300m \
--set resources.mantle.requests.memory=500Mi \
\
--set resources.zora.limits.memory=520Mi \
--set resources.zora.requests.cpu=300m \
--set resources.zora.requests.memory=500Mi \
\
--set sqs.SQS_USER_AWS_ACCESS_KEY_ID=${{ env.SQS_USER_AWS_ACCESS_KEY_ID }} \
--set sqs.SQS_USER_AWS_SECRET_ACCESS_KEY=${{ env.SQS_USER_AWS_SECRET_ACCESS_KEY }} \
--set sqs.SQS_ENDPOINT=${{ env.DEV_SQS_ENDPOINT }} \
Expand Down Expand Up @@ -326,6 +337,7 @@ jobs:
ENABLE_PROCESS_BLOCK_RANGE_optimism: 'true'
ENABLE_PROCESS_BLOCK_RANGE_binance: 'true'
ENABLE_PROCESS_BLOCK_RANGE_mantle: 'true'
ENABLE_PROCESS_BLOCK_RANGE_zora: 'true'
ENABLE_PROCESS_BLOCK_RANGE_avalanche: 'true'
ENABLE_PROCESS_BLOCK_RANGE_ethereum: 'true'
ENABLE_PROCESS_BLOCK_RANGE_polygon: 'true'
Expand All @@ -337,6 +349,7 @@ jobs:
ARBITRUM_NETWORK: 'arbitrumTestnetGoerli'
BINANCE_NETWORK: 'binanceSmartChainTestnet'
MANTLE_NETWORK: 'mantleTestnet'
ZORA_NETWORK: 'zoraTestnetGoerli'
with:
eks_cluster: ${{ env.CLUSTER_NAME }}
command: |-
Expand Down Expand Up @@ -366,6 +379,7 @@ jobs:
--set ENABLE_PROCESS_BLOCK_RANGE.ethereum=$ENABLE_PROCESS_BLOCK_RANGE_ethereum \
--set ENABLE_PROCESS_BLOCK_RANGE.polygon=$ENABLE_PROCESS_BLOCK_RANGE_polygon \
--set ENABLE_PROCESS_BLOCK_RANGE.mantle=$ENABLE_PROCESS_BLOCK_RANGE_mantle \
--set ENABLE_PROCESS_BLOCK_RANGE.zora=$ENABLE_PROCESS_BLOCK_RANGE_zora \
\
--set AVALANCHE_NETWORK=$AVALANCHE_NETWORK \
--set POLYGON_NETWORK=$POLYGON_NETWORK \
Expand All @@ -374,6 +388,7 @@ jobs:
--set ARBITRUM_NETWORK=$ARBITRUM_NETWORK \
--set BINANCE_NETWORK=$BINANCE_NETWORK \
--set MANTLE_NETWORK=$MANTLE_NETWORK \
--set ZORA_NETWORK=$ZORA_NETWORK \
\
--set dev_rpc_config_values.avalancheTestnet_rpc_url=${{ env.operator_dev_avalancheTestnet_rpc_url }} \
--set dev_rpc_config_values.polygonTestnet_rpc_url=${{ env.operator_dev_polygonTestnet_rpc_url }} \
Expand All @@ -382,6 +397,7 @@ jobs:
--set dev_rpc_config_values.arbitrumTestnetGoerli_rpc_url=${{ env.operator_dev_arbitrumTestnetGoerli_rpc_url }} \
--set dev_rpc_config_values.binanceTestnet_rpc_url=${{ env.operator_dev_binanceTestnet_rpc_url }} \
--set dev_rpc_config_values.mantleTestnet_rpc_url=${{ env.operator_dev_mantleTestnet_rpc_url }} \
--set dev_rpc_config_values.zoraTestnet_rpc_url=${{ env.operator_dev_zoraTestnet_rpc_url }} \
\
--set dev_rpc_config_values.private_key=${{ env.operator_dev_private_key }} \
--set dev_rpc_config_values.address=${{ env.operator_dev_address }} \
Expand Down Expand Up @@ -417,6 +433,10 @@ jobs:
--set resources.mantle.requests.cpu=100m \
--set resources.mantle.requests.memory=300Mi \
\
--set resources.zora.limits.memory=500Mi \
--set resources.zora.requests.cpu=100m \
--set resources.zora.requests.memory=300Mi \
\
--set datadog_tags.env=${{ env.CLUSTER_NAME }} \
--set datadog_tags.service=$RELEASE_NAME \
--set datadog_tags.version=$RELEASE_NAME-${{ env.STG_HOLOGRAPH_OPERATOR_HELM_CHART_VERSION }} \
Expand Down
32 changes: 26 additions & 6 deletions .github/workflows/cicd_mainnet_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ env:
indexer_mainnet_optimism_rpc_url: ${{ secrets.INDEXER_MAINNET_OPTIMISM_RPC_URL }}
indexer_mainnet_arbitrum_rpc_url: ${{ secrets.INDEXER_MAINNET_ARBITRUM_RPC_URL }}
indexer_mainnet_binance_rpc_url: ${{ secrets.INDEXER_MAINNET_BINANCE_RPC_URL }}
indexer_mainnet_mantle_rpc_url: "http://rpc.mantle.xyz/" #TODO
indexer_mainnet_mantle_rpc_url: "http://rpc.mantle.xyz/"
indexer_mainnet_zora_rpc_url: "https://rpc.zora.energy"
#
indexer_mainnet_private_key: ${{ secrets.INDEXER_MAINNET_PRIVATE_KEY }}
indexer_mainnet_address: ${{ secrets.INDEXER_MAINNET_ADDRESS }}
Expand All @@ -54,7 +55,8 @@ env:
operator_mainnet_optimism_rpc_url: ${{ secrets.OPERATOR_MAINNET_OPTIMISM_RPC_URL }}
operator_mainnet_arbitrum_rpc_url: ${{ secrets.OPERATOR_MAINNET_ARBITRUM_RPC_URL }}
operator_mainnet_binance_rpc_url: ${{ secrets.OPERATOR_MAINNET_BINANCE_RPC_URL }}
operator_mainnet_mantle_rpc_url: "http://rpc.mantle.xyz/" #TODO
operator_mainnet_mantle_rpc_url: "http://rpc.mantle.xyz/"
operator_mainnet_zora_rpc_url: "https://rpc.zora.energy"
#
operator_mainnet_private_key: ${{ secrets.OPERATOR_MAINNET_PRIVATE_KEY }}
operator_mainnet_address: ${{ secrets.OPERATOR_MAINNET_ADDRESS }}
Expand All @@ -66,10 +68,10 @@ env:
MAINNET_SQS_QUEUE_URL: 'https://sqs.us-west-2.amazonaws.com/177635894328/mainnet-indexer-processor'

#######################################
MAINNET_HOLO_INDEXER_HELM_CHART_VERSION: 0.1.1
MAINNET_HOLO_INDEXER_HELM_CHART_VERSION: 0.1.3
INDEXER_RELEASE_NAME: blondie-indexer-mainnet # format -> [release_name]-indexer-[env]
#
MAINNET_HOLO_OPERATOR_HELM_CHART_VERSION: 0.0.72
MAINNET_HOLO_OPERATOR_HELM_CHART_VERSION: 0.0.76
OPERATOR_RELEASE_NAME: blondie-operator-mainnet # format -> [release_name]-operator-[env]
#######################################

Expand Down Expand Up @@ -189,6 +191,7 @@ jobs:
ENABLE_PROCESS_BLOCK_RANGE_optimism: 'true'
ENABLE_PROCESS_BLOCK_RANGE_binance: 'true'
ENABLE_PROCESS_BLOCK_RANGE_mantle: 'true'
ENABLE_PROCESS_BLOCK_RANGE_zora: 'true'
ENABLE_PROCESS_BLOCK_RANGE_avalanche: 'true'
ENABLE_PROCESS_BLOCK_RANGE_ethereum: 'true'
ENABLE_PROCESS_BLOCK_RANGE_polygon: 'true'
Expand All @@ -200,6 +203,7 @@ jobs:
POLYGON_NETWORK: 'polygon'
BINANCE_NETWORK: 'binanceSmartChain'
MANTLE_NETWORK: 'mantle'
ZORA_NETWORK: 'zora'
with:
eks_cluster: ${{ env.CLUSTER_NAME }}
command: |-
Expand Down Expand Up @@ -227,17 +231,19 @@ jobs:
--set POLYGON_NETWORK="${POLYGON_NETWORK}" \
--set BINANCE_NETWORK="${BINANCE_NETWORK}" \
--set MANTLE_NETWORK="${MANTLE_NETWORK}" \
--set ZORA_NETWORK="${ZORA_NETWORK}" \
\
--set ENABLE_UNSAFE="${ENABLE_UNSAFE}" \
--set UPDATE_BLOCK_HEIGHT=$UPDATE_BLOCK_HEIGHT \
\
--set ENABLE_PROCESS_BLOCK_RANGE.arbitrum=$ENABLE_PROCESS_BLOCK_RANGE_arbitrum \
--set ENABLE_PROCESS_BLOCK_RANGE.binance=$ENABLE_PROCESS_BLOCK_RANGE_binance \
--set ENABLE_PROCESS_BLOCK_RANGE.mantle=$ENABLE_PROCESS_BLOCK_RANGE_mantle \
--set ENABLE_PROCESS_BLOCK_RANGE.avalanche=$ENABLE_PROCESS_BLOCK_RANGE_avalanche \
--set ENABLE_PROCESS_BLOCK_RANGE.optimism=$ENABLE_PROCESS_BLOCK_RANGE_optimism \
--set ENABLE_PROCESS_BLOCK_RANGE.ethereum=$ENABLE_PROCESS_BLOCK_RANGE_ethereum \
--set ENABLE_PROCESS_BLOCK_RANGE.polygon=$ENABLE_PROCESS_BLOCK_RANGE_polygon \
--set ENABLE_PROCESS_BLOCK_RANGE.mantle=$ENABLE_PROCESS_BLOCK_RANGE_mantle \
--set ENABLE_PROCESS_BLOCK_RANGE.zora=$ENABLE_PROCESS_BLOCK_RANGE_zora \
\
--set mainnet_rpc_config_values.avalanche_rpc_url=${{ env.indexer_mainnet_avalanche_rpc_url }} \
--set mainnet_rpc_config_values.polygon_rpc_url=${{ env.indexer_mainnet_polygon_rpc_url }} \
Expand All @@ -246,6 +252,7 @@ jobs:
--set mainnet_rpc_config_values.arbitrum_rpc_url=${{ env.indexer_mainnet_arbitrum_rpc_url }} \
--set mainnet_rpc_config_values.binance_rpc_url=${{ env.indexer_mainnet_binance_rpc_url }} \
--set mainnet_rpc_config_values.mantle_rpc_url=${{ env.indexer_mainnet_mantle_rpc_url }} \
--set mainnet_rpc_config_values.zora_rpc_url=${{ env.indexer_mainnet_zora_rpc_url }} \
\
--set mainnet_rpc_config_values.private_key=${{ env.indexer_mainnet_private_key }} \
--set mainnet_rpc_config_values.address=${{ env.indexer_mainnet_address }} \
Expand Down Expand Up @@ -286,6 +293,10 @@ jobs:
--set resources.mantle.requests.cpu=950m \
--set resources.mantle.requests.memory=2000Mi \
\
--set resources.zora.limits.memory=2048Mi \
--set resources.zora.requests.cpu=950m \
--set resources.zora.requests.memory=2000Mi \
\
--set sqs.SQS_USER_AWS_ACCESS_KEY_ID=${{ env.SQS_USER_AWS_ACCESS_KEY_ID }} \
--set sqs.SQS_USER_AWS_SECRET_ACCESS_KEY=${{ env.SQS_USER_AWS_SECRET_ACCESS_KEY }} \
--set sqs.SQS_ENDPOINT=${{ env.MAINNET_SQS_ENDPOINT }} \
Expand Down Expand Up @@ -333,6 +344,7 @@ jobs:
ENABLE_PROCESS_BLOCK_RANGE_optimism: 'true'
ENABLE_PROCESS_BLOCK_RANGE_binance: 'true'
ENABLE_PROCESS_BLOCK_RANGE_mantle: 'true'
ENABLE_PROCESS_BLOCK_RANGE_zora: 'true'
ENABLE_PROCESS_BLOCK_RANGE_avalanche: 'true'
ENABLE_PROCESS_BLOCK_RANGE_ethereum: 'true'
ENABLE_PROCESS_BLOCK_RANGE_polygon: 'true'
Expand All @@ -344,6 +356,7 @@ jobs:
ARBITRUM_NETWORK: 'arbitrumOne'
BINANCE_NETWORK: 'binanceSmartChain'
MANTLE_NETWORK: 'mantle'
ZORA_NETWORK: 'zora'
with:
eks_cluster: ${{ env.CLUSTER_NAME }}
command: |-
Expand All @@ -368,11 +381,12 @@ jobs:
\
--set ENABLE_PROCESS_BLOCK_RANGE.arbitrum=$ENABLE_PROCESS_BLOCK_RANGE_arbitrum \
--set ENABLE_PROCESS_BLOCK_RANGE.binance=$ENABLE_PROCESS_BLOCK_RANGE_binance \
--set ENABLE_PROCESS_BLOCK_RANGE.mantle=$ENABLE_PROCESS_BLOCK_RANGE_mantle \
--set ENABLE_PROCESS_BLOCK_RANGE.avalanche=$ENABLE_PROCESS_BLOCK_RANGE_avalanche \
--set ENABLE_PROCESS_BLOCK_RANGE.optimism=$ENABLE_PROCESS_BLOCK_RANGE_optimism \
--set ENABLE_PROCESS_BLOCK_RANGE.ethereum=$ENABLE_PROCESS_BLOCK_RANGE_ethereum \
--set ENABLE_PROCESS_BLOCK_RANGE.polygon=$ENABLE_PROCESS_BLOCK_RANGE_polygon \
--set ENABLE_PROCESS_BLOCK_RANGE.mantle=$ENABLE_PROCESS_BLOCK_RANGE_mantle \
--set ENABLE_PROCESS_BLOCK_RANGE.zora=$ENABLE_PROCESS_BLOCK_RANGE_zora \
\
--set AVALANCHE_NETWORK=$AVALANCHE_NETWORK \
--set POLYGON_NETWORK=$POLYGON_NETWORK \
Expand All @@ -381,6 +395,7 @@ jobs:
--set ARBITRUM_NETWORK=$ARBITRUM_NETWORK \
--set BINANCE_NETWORK=$BINANCE_NETWORK \
--set MANTLE_NETWORK=$MANTLE_NETWORK \
--set ZORA_NETWORK=$ZORA_NETWORK \
\
--set mainnet_rpc_config_values.avalanche_rpc_url=${{ env.operator_mainnet_avalanche_rpc_url }} \
--set mainnet_rpc_config_values.polygon_rpc_url=${{ env.operator_mainnet_polygon_rpc_url }} \
Expand All @@ -389,6 +404,7 @@ jobs:
--set mainnet_rpc_config_values.arbitrum_rpc_url=${{ env.operator_mainnet_arbitrum_rpc_url }} \
--set mainnet_rpc_config_values.binance_rpc_url=${{ env.operator_mainnet_binance_rpc_url }} \
--set mainnet_rpc_config_values.mantle_rpc_url=${{ env.operator_mainnet_mantle_rpc_url }} \
--set mainnet_rpc_config_values.zora_rpc_url=${{ env.operator_mainnet_zora_rpc_url }} \
\
--set mainnet_rpc_config_values.private_key=${{ env.operator_mainnet_private_key }} \
--set mainnet_rpc_config_values.address=${{ env.operator_mainnet_address }} \
Expand Down Expand Up @@ -424,6 +440,10 @@ jobs:
--set resources.mantle.requests.cpu=300m \
--set resources.mantle.requests.memory=800Mi \
\
--set resources.zora.limits.memory=820Mi \
--set resources.zora.requests.cpu=300m \
--set resources.zora.requests.memory=800Mi \
\
--set datadog_tags.env=${{ env.CLUSTER_NAME }} \
--set datadog_tags.service=$RELEASE_NAME \
--set datadog_tags.version=$RELEASE_NAME-${{ env.MAINNET_HOLO_OPERATOR_HELM_CHART_VERSION }} \
Expand Down
Loading

0 comments on commit 9d84af2

Please sign in to comment.