Skip to content

[DO-OPS-217] CI/CD Pipeline Setup and Cloud SQL Optimization - Step 217 #571

@soomtochukwu

Description

@soomtochukwu

CI/CD Pipeline Setup and Cloud SQL Optimization - Step 12

  • Category: DevOps: CI/CD, Docker & Cloud SQL Setup
  • Task ID: DO-OPS-217

Description

This issue is dedicated to the technical deployment, optimization, and auditing of containerized Docker caches, database failover procedures, and GitHub Actions CI/CD workflows for the platform treasury fee deduction, checked math fee division, and split routing flows in Step 12 of the Lance architecture stack. The contributor must analyze existing Dockerfiles to implement multi-stage building techniques, strip diagnostic symbols, and configure optimal layers caching to significantly reduce compilation overhead. Additionally, you must secure environment secrets, set up PostgreSQL unix socket proxies, and verify automated linting (ESLint, Cargo clippy) and unit testing sweeps run successfully on every push event. Proper error-monitoring telemetry and deployment logging configurations must be fully integrated and verified.

Requirements

  • Optimize builder layers in project Dockerfiles to reduce compilation times from scratch.
  • Verify Github secrets and environmental parameters inside the workflow deployment scripts.
  • Configure Cloud SQL proxies or Unix sockets securely inside the backend database initialization.
  • Verify auto-tagging, linting checks, and automated unit testing runs succeed on push events.

Acceptance Criteria

  • Docker multi-stage builds complete successfully with minimal final image footprint.
  • CI/CD pipelines build, test, and deploy the entire stack automatically on main branch merges.
  • Secrets or sensitive variables are completely masked and do not leak into the build logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions