2aecdb373d2be1878cb6f9daea980a79c841e982
Release / Release (push) Successful in 11s
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [azure/k8s-lint](https://github.com/azure/k8s-lint) | action | major | `v3.0.1` → `v4.0.0` | --- ### Release Notes <details> <summary>azure/k8s-lint (azure/k8s-lint)</summary> ### [`v4.0.0`](https://github.com/Azure/k8s-lint/releases/tag/v4.0.0) [Compare Source](https://github.com/azure/k8s-lint/compare/v3.0.1...v4.0.0) ##### Changed - [#​189](https://github.com/azure/k8s-lint/issues/189) [Update Node.js runtime from node20 to node24](https://github.com/Azure/k8s-lint/pull/189) - [#​198](https://github.com/azure/k8s-lint/issues/198) [build: migrate action to ESM with esbuild and Vitest](https://github.com/Azure/k8s-lint/pull/198) - **Dependabot - GitHub Actions workflow updates:** bumps to `github/codeql-action`, `actions/setup-node`, and other workflow actions in [#​145](https://github.com/azure/k8s-lint/issues/145), [#​147](https://github.com/azure/k8s-lint/issues/147), [#​148](https://github.com/azure/k8s-lint/issues/148), [#​150](https://github.com/azure/k8s-lint/issues/150), [#​152](https://github.com/azure/k8s-lint/issues/152), [#​156](https://github.com/azure/k8s-lint/issues/156), [#​158](https://github.com/azure/k8s-lint/issues/158), [#​160](https://github.com/azure/k8s-lint/issues/160), [#​167](https://github.com/azure/k8s-lint/issues/167), [#​169](https://github.com/azure/k8s-lint/issues/169), [#​171](https://github.com/azure/k8s-lint/issues/171), [#​173](https://github.com/azure/k8s-lint/issues/173), [#​175](https://github.com/azure/k8s-lint/issues/175), [#​177](https://github.com/azure/k8s-lint/issues/177), [#​179](https://github.com/azure/k8s-lint/issues/179), [#​181](https://github.com/azure/k8s-lint/issues/181), [#​183](https://github.com/azure/k8s-lint/issues/183), [#​185](https://github.com/azure/k8s-lint/issues/185), [#​187](https://github.com/azure/k8s-lint/issues/187), [#​188](https://github.com/azure/k8s-lint/issues/188), [#​193](https://github.com/azure/k8s-lint/issues/193), [#​197](https://github.com/azure/k8s-lint/issues/197) - **Dependabot - npm dependency updates:** `@types/node` ([#​144](https://github.com/azure/k8s-lint/issues/144), [#​146](https://github.com/azure/k8s-lint/issues/146), [#​159](https://github.com/azure/k8s-lint/issues/159), [#​166](https://github.com/azure/k8s-lint/issues/166), [#​174](https://github.com/azure/k8s-lint/issues/174)), `undici` / `@actions/http-client` ([#​184](https://github.com/azure/k8s-lint/issues/184), [#​191](https://github.com/azure/k8s-lint/issues/191)), `jest` ([#​149](https://github.com/azure/k8s-lint/issues/149)), `handlebars` ([#​196](https://github.com/azure/k8s-lint/issues/196)), `picomatch` ([#​195](https://github.com/azure/k8s-lint/issues/195)), `minimatch` ([#​186](https://github.com/azure/k8s-lint/issues/186)), `js-yaml` ([#​163](https://github.com/azure/k8s-lint/issues/163)), `glob` ([#​165](https://github.com/azure/k8s-lint/issues/165)), and grouped npm `actions` updates in [#​151](https://github.com/azure/k8s-lint/issues/151), [#​155](https://github.com/azure/k8s-lint/issues/155), [#​157](https://github.com/azure/k8s-lint/issues/157), [#​164](https://github.com/azure/k8s-lint/issues/164), [#​168](https://github.com/azure/k8s-lint/issues/168), [#​170](https://github.com/azure/k8s-lint/issues/170), [#​172](https://github.com/azure/k8s-lint/issues/172), [#​176](https://github.com/azure/k8s-lint/issues/176), [#​178](https://github.com/azure/k8s-lint/issues/178) </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: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/pulls/54 Reviewed-by: t.behrendt <t.behrendt@noreply.localhost> Co-authored-by: Renovate Bot <renovate@t00n.de> Co-committed-by: Renovate Bot <renovate@t00n.de>
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.yamlexists and whetherk8s/exists - Conditional Execution: Runs Helm steps only when applicable
- Flexible Inputs: Supports custom
k8s_dirandhelmfile_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
Description
Languages
Markdown
100%