Skip to content

DevOps Guide

This directory contains operational and release management documentation for PromptKit maintainers.

  • ci-cd-pipelines.md - Complete documentation of all GitHub Actions workflows
    • CI Pipeline - Automated testing, linting, and quality checks
    • Documentation Pipeline - GitHub Pages deployment
    • Release Test Pipeline - Safe release workflow validation
  • ci-cd-quickref.md - Quick reference for common CI/CD commands and tasks
  • ci-cd-diagrams.md - Visual diagrams of pipeline architecture and flows
  • promptarena-action.md - PromptArena GitHub Action for CI/CD integration
    • Run prompt tests in GitHub workflows
    • Native test reporting integration
    • Multi-platform support
  • packc-action.md - PackC GitHub Action for CI/CD integration
    • Compile prompt packs in GitHub workflows
    • Publish to OCI registries (GHCR, Docker Hub, ECR)
    • Supply chain security with Cosign signing

Release and testing scripts are located in /scripts/:

  • scripts/release.sh - Automated release script (recommended!)
  • scripts/test-release.sh - Local dry-run testing for releases

GitHub Actions workflows:

  • .github/workflows/release.yml - Automated release workflow (recommended!)
  • .github/workflows/release-test.yml - Release testing workflow
  • .github/workflows/ci.yml - Continuous integration
  • .github/workflows/docs.yml - Documentation deployment
Terminal window
# 🚀 RECOMMENDED: Automated release
./scripts/release.sh v1.0.0
# Or use GitHub Actions
gh workflow run release.yml -f version=v1.0.0
Terminal window
# Safe local test (no git changes)
./scripts/test-release.sh arena v0.0.1-test
  1. Review testing-releases-quickstart.md first
  2. Test thoroughly in a separate repository
  3. Follow the release-process.md step-by-step guide

This documentation is primarily for:

  • Repository maintainers preparing releases
  • Contributors working on CI/CD improvements
  • Anyone needing to understand the release workflow

For general development documentation, see /docs/guides/.