Skip to content

feat(bedrock): unified keeper ECS scaffolding and deploy CI#20

Merged
abs2023 merged 1 commit into
devfrom
fix/col-mar-keeper-infra
May 26, 2026
Merged

feat(bedrock): unified keeper ECS scaffolding and deploy CI#20
abs2023 merged 1 commit into
devfrom
fix/col-mar-keeper-infra

Conversation

@abs2023
Copy link
Copy Markdown
Contributor

@abs2023 abs2023 commented May 26, 2026

Summary

  • Add Terraform for a single unified margin keeper on the shared ecs-derivatives-marketplace-* cluster (svc-col-mar-keeper-*, keeper.{env}.hashpower.exchange, port 3000).
  • Extend GitHub Actions IAM with ecs-update-col-mar-keeper so deploy-keeper.yml can register task defs and update the service.
  • Replace the merged dual-service deploy-keeper.yml with one deploy job that injects the full keeper env block from GitHub Variables/Secrets (aligned with deploy-col-mar-mm.yml).
  • Fix keeper-test.yml sibling checkout paths for integration tests.
  • Enable keeper_service.create = true in dev only; stg/lmn remain false until those environments are configured.

Prerequisite: legacy derivatives-marketplace perps keeper destroyed (perpskeeper_service.create = false) so keeper.* DNS is free.

Test plan

  • terragrunt apply on dev (keeper ECS shell + IAM applied)
  • GitHub dev environment vars/secrets configured (LIQUIDATOR_PRIVATE_KEY, addresses, DRY_RUN=true)
  • Merge and run Deploy Collateral Margin Keeper on dev
  • Verify https://keeper.dev.hashpower.exchange/health and CloudWatch /ecs/col-mar-keeper-dev
  • Confirm dry-run logs, then set DRY_RUN=false for live liquidations

Made with Cursor

Add 06_col_mar_keeper_svc.tf (single svc-col-mar-keeper-* on the shared
derivatives ECS cluster, keeper.{env}.hashpower.exchange). Extend GitHub
Actions IAM and dev tfvars (stg/lmn off until GH envs are ready).

Replace the merged dual-service deploy-keeper.yml with a single-service
workflow that injects the full keeper env block from GitHub Variables and
Secrets. Fix keeper-test.yml sibling checkout paths for integration tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@abs2023 abs2023 merged commit 6ff00d6 into dev May 26, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant