Skip to content

Commit

Permalink
chore: deploy nano-testnet-dev environment (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
luislhl authored Nov 25, 2024
1 parent b522f7c commit 9378aef
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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&region=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]

Expand Down

0 comments on commit 9378aef

Please sign in to comment.