renovate-bot 84e1bf7e51 chore(deps): update https://gitea.t000-n.de/t.behrendt/actions action to v0.2.4 (#55)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [https://gitea.t000-n.de/t.behrendt/actions](https://gitea.t000-n.de/t.behrendt/actions) | action | patch | `0.2.3` → `0.2.4` |

---

### Release Notes

<details>
<summary>t.behrendt/actions (https://gitea.t000-n.de/t.behrendt/actions)</summary>

### [`v0.2.4`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.2.3...0.2.4)

[Compare Source](https://gitea.t000-n.de/t.behrendt/actions/compare/0.2.3...0.2.4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImFjdGlvbiIsImRlcHMiXX0=-->

Reviewed-on: #55
Reviewed-by: t.behrendt <t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
2026-05-13 22:35:30 +02:00
2025-08-12 08:54:44 +02:00

Reusable CI/CD Workflows for k_ Services

This repository contains reusable CI and CD workflows that automatically detect Kubernetes service type (Kubernetes-only vs Helm + Kubernetes) and execute the relevant steps.

Features

  • Reusable CI and CD: Separate reusable workflows for validation and deployment
  • Automatic Detection: Detects whether helmfile.yaml exists and whether k8s/ exists
  • Conditional Execution: Runs Helm steps only when applicable
  • Flexible Inputs: Supports custom k8s_dir and helmfile_path

Usage

Basic CI Usage

Call the reusable CI workflow:

jobs:
  ci:
    uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/workflows/ci.yaml@main
    secrets: inherit

Basic CD Usage

Call the reusable CD workflow:

jobs:
  deploy:
    uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/workflows/cd.yaml@main
    secrets: inherit

Advanced Usage with Custom Paths and Flags

jobs:
  ci:
    uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/workflows/ci.yaml@main
    with:
      k8s_dir: "kubernetes/"
      helmfile_path: "helm/helmfile.yaml"
      skip_helm_validation: true
    secrets: inherit

Inputs

CI (.gitea/workflows/ci.yaml)

Parameter Description Default Required
k8s_dir Path to Kubernetes manifests directory k8s/ No
helmfile_path Path to helmfile.yaml helmfile.yaml No
skip_helm_validation Skip Helm validation even if helmfile exists false No
helmfile_env JSON object string passed as env to helmfile {} No

CD (.gitea/workflows/cd.yaml)

Parameter Description Default Required
k8s_dir Path to Kubernetes manifests directory k8s/ No
helmfile_path Path to helmfile.yaml helmfile.yaml No
skip_helm_deployment Skip Helm deployment even if helmfile exists false No
skip_shared_secrets_deployment Skip shared secrets deployment false No
helmfile_env JSON object string passed as env to helmfile {} No

Directory Structure Requirements

Full example structure (Helm + Kubernetes):

your-service/
├── k8s/
│   ├── deployment.yaml
│   ├── service.yaml
│   └── ...
├── helmfile.yaml
└── .gitea/workflows/your-workflow.yaml
S
Description
No description provided
Readme 246 KiB
Languages
Markdown 100%