Skip to content

Add local image build scripts and testing setup#37

Merged
JoshuaAFerguson merged 1 commit into
mainfrom
claude/local-build-scripts-01S4GWAE58YuQ2nZ81a6myoB
Nov 16, 2025
Merged

Add local image build scripts and testing setup#37
JoshuaAFerguson merged 1 commit into
mainfrom
claude/local-build-scripts-01S4GWAE58YuQ2nZ81a6myoB

Conversation

@JoshuaAFerguson

Copy link
Copy Markdown
Member

Add comprehensive scripts for local development and testing workflow:

  • local-build.sh: Build all Docker images locally with version tagging

    • Supports building individual components (controller, api, ui)
    • Includes build arguments for versioning and git commit info
    • Color-coded output and error handling
  • local-deploy.sh: Deploy to local Kubernetes using Helm

    • Automatically checks for required images
    • Creates namespace and applies CRDs
    • Waits for pods to be ready
    • Provides access instructions for UI and API
    • Supports customization via environment variables
  • local-teardown.sh: Complete cleanup and teardown

    • Uninstalls Helm release
    • Deletes namespace and all resources
    • Removes CRDs
    • Cleans up Docker images and containers
    • Optional build cache cleanup
    • Safety confirmation prompt
  • LOCAL_TESTING.md: Comprehensive guide

    • Quick start instructions
    • Complete development cycle workflow
    • Troubleshooting section
    • Advanced usage examples
    • Script reference documentation

These scripts enable a complete local testing cycle:

  1. Build images locally
  2. Deploy to local cluster
  3. Test changes
  4. Teardown and clean up artifacts
  5. Repeat as needed

All scripts include:

  • Prerequisite checking
  • Error handling
  • Color-coded output
  • Detailed logging
  • Configurable via environment variables

Add comprehensive scripts for local development and testing workflow:

- local-build.sh: Build all Docker images locally with version tagging
  * Supports building individual components (controller, api, ui)
  * Includes build arguments for versioning and git commit info
  * Color-coded output and error handling

- local-deploy.sh: Deploy to local Kubernetes using Helm
  * Automatically checks for required images
  * Creates namespace and applies CRDs
  * Waits for pods to be ready
  * Provides access instructions for UI and API
  * Supports customization via environment variables

- local-teardown.sh: Complete cleanup and teardown
  * Uninstalls Helm release
  * Deletes namespace and all resources
  * Removes CRDs
  * Cleans up Docker images and containers
  * Optional build cache cleanup
  * Safety confirmation prompt

- LOCAL_TESTING.md: Comprehensive guide
  * Quick start instructions
  * Complete development cycle workflow
  * Troubleshooting section
  * Advanced usage examples
  * Script reference documentation

These scripts enable a complete local testing cycle:
1. Build images locally
2. Deploy to local cluster
3. Test changes
4. Teardown and clean up artifacts
5. Repeat as needed

All scripts include:
- Prerequisite checking
- Error handling
- Color-coded output
- Detailed logging
- Configurable via environment variables
@JoshuaAFerguson JoshuaAFerguson merged commit 9414ddc into main Nov 16, 2025
9 of 23 checks passed
@JoshuaAFerguson JoshuaAFerguson deleted the claude/local-build-scripts-01S4GWAE58YuQ2nZ81a6myoB branch November 16, 2025 09:37
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.

2 participants