GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@MusaMisto MusaMisto commented May 10, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

Review Change Stack

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Musa Misto
feat: add reusable API CI/CD pipeline for Gateway with comprehensive …
ef893a7
…input options
@coderabbitai

coderabbitai Bot commented May 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Review Change Stack

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

  • omarghatasheh

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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

omarghatasheh
omarghatasheh approved these changes May 10, 2026
View reviewed changes
@omarghatasheh
omarghatasheh merged commit 80a1d29 into main May 10, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@omarghatasheh
omarghatasheh deleted the Updates/workflow branch May 10, 2026 11:38
This was referenced May 10, 2026
chore: update action versions in workflows and actions #59
Merged
chore: upgrade actions/checkout from v4 to v6 and enhance listener co… #61
Merged
@coderabbitai coderabbitai Bot mentioned this pull request May 31, 2026
Remove GITHUB_STEP_SUMMARY writes and clean up workflows #69
Closed
@coderabbitai coderabbitai Bot mentioned this pull request Jun 14, 2026
Harden, generalize, and document the helm-generic deploy action #100
Merged
This was referenced Jun 23, 2026
Resolved Deployment Success Criteria Mismatch, Added README.md to profile. #109
Merged
Fixed Versioning logic #111
Merged
Cert Fix Automated within Reusable Template #112
Merged
Added Cert Issuer Logic Checks for cases #114
Merged
Feat/gateway onboarding #115
Merged
Gateway logic enhancment #116
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Jul 9, 2026
chore: normalize GitHub Actions triggers #128
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@omarghatasheh omarghatasheh omarghatasheh approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

2 participants

@MusaMisto @omarghatasheh
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.