From 9378aefb99da6bc93218f9bcfd504e1d1711a890 Mon Sep 17 00:00:00 2001 From: Luis Helder Date: Mon, 25 Nov 2024 15:36:32 -0300 Subject: [PATCH] chore: deploy nano-testnet-dev environment (#354) --- .github/workflows/deploy.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 73df2d0..3930d9c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -124,6 +124,35 @@ jobs: healthcheck_elasticsearch_enabled: true healthcheck_redis_enabled: true + # XXX: We've deployed this as a perfect copy of the nano-testnet environment, just to change the CORS regex + deploy-nano-testnet-dev: + needs: [init, dependencies] + + if: ${{ needs.init.outputs.environment == 'nano-testnet-dev' }} + + uses: ./.github/workflows/deploy-reusable.yml + with: + aws_region: eu-central-1 + aws_iam_role: arn:aws:iam::471112952246:role/ExplorerServiceGitHubActionsRole + aws_secret_arn: arn:aws:secretsmanager:eu-central-1:471112952246:secret:ExplorerService/nano-testnet-MWxHpF + serverless_stage: nano-dev + # XXX: Some env vars come from the secret https://eu-central-1.console.aws.amazon.com/secretsmanager/secret?name=ExplorerService%2Fnano-testnet®ion=eu-central-1 + api_port: 3001 + hathor_core_url: https://hathorplay.nano-testnet.hathor.network + hathor_nodes: https://node1.nano-testnet.hathor.network + redis_key_prefix: hathor-explorer-service-nano-testnet + redis_port: 6379 + redis_db: 1 + metadata_bucket: hathor-explorer-metadata-nano-testnet + cors_allowed_regex: .* + elastic_index: nano-testnet-token + elastic_tx_index: nano-testnet-tx + elastic_token_balances_index: nano-testnet-token-balance + healthcheck_hathor_core_enabled: true + healthcheck_wallet_service_db_enabled: true + healthcheck_elasticsearch_enabled: true + healthcheck_redis_enabled: true + deploy-nano-testnet: needs: [init, dependencies]