This repository demonstrates a CI/CD pipeline designed for Go (Golang) microservices, with a focus on automation and agentic workflows. It contains examples and templates showing how to build, test, lint, containerize, and deploy Go services using automated pipelines and intelligent agents to orchestrate tasks.
- Provide a reproducible CI/CD pipeline for Go microservices.
- Showcase automated build, test, lint, and container image workflows.
- Demonstrate agentic automation patterns for orchestrating pipeline steps and releases.
- Serve as a learning reference and starting point for production-grade pipelines.
- Build and test Go microservices (go build, go test).
- Static analysis and linting (golangci-lint or go vet as examples).
- Container image build and push (Docker / BuildKit).
- Deployment job templates (Kubernetes manifests / Helm examples).
- Agentic automation examples: scripted agents/workflows that run, monitor, and react to pipeline outcomes (e.g., auto-rollbacks, release tagging, notifications).
- Go 1.20+ installed
- Docker or another container runtime
- A CI runner (GitHub Actions, GitLab CI, Jenkins, etc.) configured to run pipelines
- Clone the repo: git clone
- Inspect pipeline definitions under the
.github/workflows/orci/directory. - Run unit tests locally: go test ./...
- Build a container locally: docker build -t myservice:dev ./service
- /service - example Go microservice(s)
- /ci - pipeline templates and helper scripts
- /.github/workflows - (optional) GitHub Actions workflows
- /deploy - Kubernetes / Helm manifests
This project includes patterns for using small "agents" (scripts or orchestrators) that perform automation tasks: triggering builds, monitoring test results, creating releases, and notifying teams. These patterns can be adapted to integrate with chatops, incident responders, or automated canary rollouts.
Contributions welcome. Please open issues or PRs with improvements to pipeline steps, examples for additional CI systems, or better agent patterns.
Specify your license here (e.g., MIT).