Skip to content

Fix/e2e swap queue routing#23

Merged
jpthor merged 5 commits intomainfrom
fix/e2e-swap-queue-routing
Jan 22, 2026
Merged

Fix/e2e swap queue routing#23
jpthor merged 5 commits intomainfrom
fix/e2e-swap-queue-routing

Conversation

@jpthor
Copy link
Contributor

@jpthor jpthor commented Jan 22, 2026

No description provided.

jpthor and others added 5 commits January 22, 2026 13:42
Adds comprehensive deployment automation for one-shot K8s deployment:

Scripts added:
- k8s-start.sh: Full deployment with 7-step verification
  - Applies kustomize overlay and secrets
  - Waits for infrastructure (PostgreSQL, Redis, MinIO)
  - Flushes Redis for clean state
  - Verifies MinIO buckets, database seeding, pod health
  - Confirms service HTTP endpoints and queue configuration

- k8s-stop.sh: Graceful shutdown with cleanup

- e2e-test.sh: Automated E2E test
  - Vault import
  - DCA plugin install (4-party TSS)
  - Policy generation (USDC → BTC)
  - Policy add with verification

Documentation updates:
- Updated image versions: DCA server v1.0.84, vcli v1.0.3
- Fixed Quick Start to use actual scripts (removed non-existent create-cluster.sh)
- Added Startup Scripts section documenting k8s-start.sh/k8s-stop.sh
- Updated Makefile commands section

K3s label fix:
- Changed node-role.kubernetes.io/* to node.kubernetes.io/role=*
  (K8s 1.34+ rejects old label format)

One-shot deployment workflow:
  make deploy-secrets && ./infrastructure/scripts/k8s-start.sh
  ./infrastructure/scripts/e2e-test.sh

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Removes internal relay/vultiserver deployment - always uses production
endpoints (api.vultisig.com) for Relay and VultiServer.

Removed:
- k8s/base/relay/ - internal relay deployment
- k8s/base/vultiserver/ - internal FastVault deployment
- k8s/overlays/local/ - local overlay with internal services
- --local flag from k8s-start.sh
- deploy-k8s, deploy-relay, deploy-vultiserver Makefile targets

Deployment now:
- Verifier, DCA Plugin, VCLI from GHCR images
- Relay/VultiServer uses production api.vultisig.com
- Single command: make k8s-start (or make deploy-secrets && ./infrastructure/scripts/k8s-start.sh)

Simplified Makefile:
- k8s-start: Deploy + verify (recommended)
- k8s-stop: Graceful shutdown
- e2e-test: Run full E2E test

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
User prefers running E2E commands manually:
- vcli vault import
- vcli plugin install
- vcli policy generate
- vcli policy add
- kubectl logs for monitoring

Removed:
- infrastructure/scripts/e2e-test.sh
- make e2e-test target

Commands documented in DEPLOYMENT.md Quick Start section.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Dockerfiles for local image building:
- app-recurring (server/worker/scheduler)
- feeplugin
- verifier

K8s manifest fixes:
- Add missing RPC endpoints: zksync, cronos, cosmos, tron, dash, zcash
- Fix vcli to use server-swap.plugin-dca.svc.cluster.local:8082
- Add vcli-config and plugin-endpoints configmaps
- Add imagePullPolicy to tx-indexer

Seed data:
- Add pricing entries with DELETE+INSERT to prevent duplicates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update DEPLOYMENT.md with clearer step-by-step instructions
- Add deploy-notes.md tracking deployment issues
- Add check-availability.sh to verify Hetzner server types
- Update k8s-start.sh with test-vault secret creation
- Fix SSH key path in terraform main.tf
- Update terraform examples with better defaults

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jpthor jpthor merged commit 0db3bac into main Jan 22, 2026
1 check passed
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