Skip to content

Implement CI workflow for containerized deployment testing #48

Open
@mattfsourcecode

Description

@mattfsourcecode

A testing workflow must be implemented effectively to verify deployment and pod provisioning, certificate management, and model persistence before any future pull requests will be merged.

Resources

Testing Frameworks

Chart Testing Tools

  • chart-testing - Official tool for testing Helm charts
  • helm - Package manager for Kubernetes

Kubernetes Testing Environments

  • kind - Kubernetes in Docker
  • k3d - Lightweight Kubernetes distribution
  • testcontainers-rs - Rust library for TestContainers

CI Integration Tools

Additional Testing Tools


Containerize Application with Docker

This document outlines the requirements for containerizing the application using Docker to create a production-ready container setup. The components listed below will be added as sub-issues for implementation tracking.

Requirements

  • Multi-stage Dockerfile for production builds
  • Development container with hot-reload
  • Alpine-based image for small footprint
  • Proper security configurations

Development Setup

  • Docker Compose for local development
  • Source code volume mounting
  • Environment variables management
  • Debug/development tools included

Production Setup

  • Minimal final image size
  • Non-root user execution
  • Health check configuration
  • Resource constraints defined

CI/CD Integration

  • Automated builds and testing
  • Image scanning
  • Version tagging strategy
  • Registry push workflow

Documentation Needs

  • Build instructions
  • Development workflow
  • Deployment steps
  • Environment variables list

Build: https://hub.docker.com/_/rust

Runtime: https://console.cloud.google.com/artifacts/docker/distroless/us/gcr.io/cc-debian12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions