DevOps Guide
This directory contains operational and release management documentation for PromptKit maintainers.
Contents
Section titled “Contents”Repository Management
Section titled “Repository Management”- branch-protection.md - Complete branch protection rules and configuration guide
- branch-protection-quickref.md - Quick reference for working with protected branches
CI/CD & Pipelines
Section titled “CI/CD & Pipelines”- 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
GitHub Actions
Section titled “GitHub Actions”- 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 Management
Section titled “Release Management”- release-automation.md - ⭐ Start here! Automated release tools (local script + GitHub Actions)
- goreleaser-integration.md - Binary builds and GitHub releases with GoReleaser
- release-process.md - Manual step-by-step guide (if automation fails)
- testing-releases-quickstart.md - Quick reference for safely testing the release process
- testing-releases.md - Complete guide to testing releases without polluting git history
Scripts
Section titled “Scripts”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
Workflows
Section titled “Workflows”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
Quick Links
Section titled “Quick Links”Releasing a New Version
Section titled “Releasing a New Version”# 🚀 RECOMMENDED: Automated release./scripts/release.sh v1.0.0
# Or use GitHub Actionsgh workflow run release.yml -f version=v1.0.0Testing a Release
Section titled “Testing a Release”# Safe local test (no git changes)./scripts/test-release.sh arena v0.0.1-testCreating a Real Release (Manual)
Section titled “Creating a Real Release (Manual)”- Review testing-releases-quickstart.md first
- Test thoroughly in a separate repository
- Follow the release-process.md step-by-step guide
For Maintainers
Section titled “For Maintainers”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/.