renovate-bot 45dc7056e3
Release / Release (push) Successful in 5s
chore(deps): update actions/checkout action to v6.0.3 (#59)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | patch | `v6.0.2` → `v6.0.3` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v6.0.3`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603)

[Compare Source](https://github.com/actions/checkout/compare/v6.0.2...v6.0.3)

- Fix checkout init for SHA-256 repositories by [@&#8203;yaananth](https://github.com/yaananth) in [#&#8203;2439](https://github.com/actions/checkout/pull/2439)
- fix: expand merge commit SHA regex and add SHA-256 test cases by [@&#8203;yaananth](https://github.com/yaananth) in [#&#8203;2414](https://github.com/actions/checkout/pull/2414)

</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: #59
Reviewed-by: t.behrendt <2+t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
2026-06-13 12:12:07 +02:00
2025-08-12 08:54:44 +02:00
2026-05-26 20:47:53 +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
namespace Override the default namespace (extracted from repository name) "" 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
namespace Override the default namespace (extracted from repository name) "" 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 380 KiB
Languages
Markdown 100%