GeezerVison is showing github.com — Add reusable API CI/CD pipeline for Gateway with input options by MusaMisto · Pull Request #57 · simplify9/.github
Conversation
MusaMisto
commented
May 10, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary by CodeRabbit
- New Features
- Added a reusable GitHub Actions workflow that automates semantic versioning, Docker image building, and Helm chart deployment with configurable routing, ingress, and TLS settings.

Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
May 10, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Caution
Review failed
Pull request was closed or merged during review
📝 Walkthrough
Walkthrough
This PR introduces a reusable GitHub Actions workflow that orchestrates semantic versioning, optional NuGet packaging, Docker image build, and Helm deployment. The workflow dynamically generates routing configuration values based on selected routing mode (gateway, ingress, or dual) and deploys Helm charts with computed semantic versions.
Changes
Gateway Helm Workflow Pipeline
| Layer / File(s) |
Summary |
Workflow Contract & Interface .github/workflows/generic-gateway-helm-template.yml |
Defines workflow_call inputs for semantic versioning (major/minor), NuGet packaging/publishing (enabled flag, version, projects, dotnet version), Docker build/registry details, Kubernetes namespace/environment/app/service port configuration, Helm chart repository/name/timeout, routing mode (gateway/ingress/dual) with host/path lists, ingress TLS secrets/annotations, and migration init-job image/secret; declares reusable secrets; exposes outputs for computed version, Docker image tag(s), deployed Helm chart reference, and NuGet version. |
Workflow Environment Setup .github/workflows/generic-gateway-helm-template.yml |
Sets workflow-level CONTAINER_REGISTRY and IMAGE_NAME environment variables derived from inputs with fallback to github.repository. |
Semantic Version Management .github/workflows/generic-gateway-helm-template.yml |
Version job checks out repository, computes semantic version via reusable action using major/minor inputs, and tags computed version to GitHub origin using provided token. |
NuGet Packaging & Publishing .github/workflows/generic-gateway-helm-template.yml |
NuGet job conditionally configures NuGet feeds, computes semantic version, runs dotnet restore/build/test via reusable action, and conditionally invokes pack/push action when package-nuget input is enabled. |
Docker Image Build & Push .github/workflows/generic-gateway-helm-template.yml |
Build job depends on version and optional NuGet jobs, checks out repository, and invokes reusable Docker build/push action with registry/image info, computed semantic version, Dockerfile/context/platforms, and optional NUGET_PACKAGE_PAT build argument. |
Helm Deployment with Dynamic Routing .github/workflows/generic-gateway-helm-template.yml |
Deploy job generates Helm --set values in bash by evaluating routing-mode (lowercased), selecting gateway/ingress/dual configuration, parsing comma/newline-delimited host/path lists, and emitting per-host TLS secret mappings by index; invokes reusable Helm action with --wait, passing fixed set values (image/app/service/environment), generated routing values, and helm-set-values input; outputs final chart reference via GITHUB_OUTPUT. |
Estimated code review effort
🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
- simplify9/.github#16: Adds NuGet packaging inputs and job to a parallel generic Helm workflow template with similar CI orchestration.
Suggested reviewers
Poem
🐰 A gateway blooms with helm so bright,
Version, NuGet, Docker—what a sight!
Routes dance through routing modes so true,
TLS secrets tied to hosts anew,
Deployment awaits with --wait in hand! 🚀
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name |
Status |
Explanation |
| Description Check |
✅ Passed |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
✅ Passed |
The title accurately reflects the main change: adding a reusable CI/CD workflow for Gateway services with configurable input options. |
| Docstring Coverage |
✅ Passed |
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
Updates/workflow
Tip
💬 Introducing Slack Agent: The best way for teams to turn conversations into code.
Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
- Generate code and open pull requests
- Plan features and break down work
- Investigate incidents and troubleshoot customer tickets together
- Automate recurring tasks and respond to alerts with triggers
- Summarize progress and report instantly
Built for teams:
- Shared memory across your entire org—no repeating context
- Per-thread sandboxes to safely plan and execute work
- Governance built-in—scoped access, auditability, and budget controls
One agent for your entire SDLC. Right inside Slack.
👉 Get started
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands and usage tips.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced May 10, 2026
This was referenced Jun 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|