Compare commits

..

17 Commits

Author SHA1 Message Date
t.behrendt bb6706d1a0 refactor!: modernize shared cicd deploy and validate workflows (#49)
Release / Release (push) Successful in 11s
Reviewed-on: #49
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-04-29 19:49:08 +02:00
renovate-bot dc62bc4e6a chore(deps): update azure/k8s-deploy action to v6 (#45)
Release / Release (push) Successful in 10s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [azure/k8s-deploy](https://github.com/azure/k8s-deploy) | action | major | `v5.1.0` → `v6.0.0` |

---

### Release Notes

<details>
<summary>azure/k8s-deploy (azure/k8s-deploy)</summary>

### [`v6.0.0`](https://github.com/Azure/k8s-deploy/releases/tag/v6.0.0)

[Compare Source](https://github.com/azure/k8s-deploy/compare/v5.1.0...v6.0.0)

##### Changed

- [#&#8203;504](https://github.com/azure/k8s-deploy/issues/504) [Update Node.js runtime from node20 to node24](https://github.com/Azure/k8s-deploy/pull/504)
- [#&#8203;500](https://github.com/azure/k8s-deploy/issues/500) [Update action version references in README to latest majors](https://github.com/Azure/k8s-deploy/pull/500)

##### Security

- [#&#8203;506](https://github.com/azure/k8s-deploy/issues/506) [Bump undici from 6.23.0 to 6.24.1](https://github.com/Azure/k8s-deploy/pull/506)
- [#&#8203;513](https://github.com/azure/k8s-deploy/issues/513) [Bump vite from 8.0.3 to 8.0.5](https://github.com/Azure/k8s-deploy/pull/513)
- [#&#8203;509](https://github.com/azure/k8s-deploy/issues/509) [Bump the actions group across 1 directory with 4 updates](https://github.com/Azure/k8s-deploy/pull/509)
- [#&#8203;510](https://github.com/azure/k8s-deploy/issues/510) [Bump the actions group across 1 directory with 2 updates](https://github.com/Azure/k8s-deploy/pull/510)
- [#&#8203;511](https://github.com/azure/k8s-deploy/issues/511) [Bump vitest from 4.1.1 to 4.1.2](https://github.com/Azure/k8s-deploy/pull/511)
- [#&#8203;514](https://github.com/azure/k8s-deploy/issues/514) [Bump the actions group with 2 updates](https://github.com/Azure/k8s-deploy/pull/514)
- [#&#8203;501](https://github.com/azure/k8s-deploy/issues/501) [Bump @&#8203;types/node from 25.3.3 to 25.4.0](https://github.com/Azure/k8s-deploy/pull/501)

</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/45
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-04-28 17:11:14 +02:00
renovate-bot d7d914ca4a chore(deps): update https://gitea.t000-n.de/t.behrendt/actions action to v0.2.3 (#46)
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.2` → `0.2.3` |

---

### Release Notes

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

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

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

</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: #46
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-04-28 17:11:03 +02:00
renovate-bot 5982457d82 chore(deps): update helmfile/helmfile-action action to v2.4.3 (#47)
Release / Release (push) Successful in 20s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [helmfile/helmfile-action](https://github.com/helmfile/helmfile-action) | action | patch | `v2.4.2` → `v2.4.3` |

---

### Release Notes

<details>
<summary>helmfile/helmfile-action (helmfile/helmfile-action)</summary>

### [`v2.4.3`](https://github.com/helmfile/helmfile-action/releases/tag/v2.4.3)

[Compare Source](https://github.com/helmfile/helmfile-action/compare/v2.4.2...v2.4.3)

##### What's Changed

- build(deps-dev): bump [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.58.0 to 8.58.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;670](https://github.com/helmfile/helmfile-action/pull/670)
- build(deps-dev): bump eslint-plugin-jest from 29.15.1 to 29.15.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;673](https://github.com/helmfile/helmfile-action/pull/673)
- build(deps-dev): bump prettier from 3.8.1 to 3.8.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;672](https://github.com/helmfile/helmfile-action/pull/672)
- build(deps-dev): bump [@&#8203;typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) from 8.58.0 to 8.58.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;669](https://github.com/helmfile/helmfile-action/pull/669)
- build(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 25.5.2 to 25.6.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;671](https://github.com/helmfile/helmfile-action/pull/671)
- build(deps-dev): bump globals from 17.4.0 to 17.5.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;674](https://github.com/helmfile/helmfile-action/pull/674)
- build(deps-dev): bump [@&#8203;typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) from 8.58.1 to 8.58.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;676](https://github.com/helmfile/helmfile-action/pull/676)
- build(deps-dev): bump typescript from 6.0.2 to 6.0.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;679](https://github.com/helmfile/helmfile-action/pull/679)
- build(deps-dev): bump [@&#8203;swc/core](https://github.com/swc/core) from 1.15.24 to 1.15.30 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;680](https://github.com/helmfile/helmfile-action/pull/680)
- build(deps-dev): bump prettier from 3.8.2 to 3.8.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;677](https://github.com/helmfile/helmfile-action/pull/677)
- build(deps-dev): bump [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.58.1 to 8.58.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;675](https://github.com/helmfile/helmfile-action/pull/675)

**Full Changelog**: <https://github.com/helmfile/helmfile-action/compare/v2.4.2...v2.4.3>

</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: #47
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-04-28 17:09:07 +02:00
renovate-bot 2d3fc7613a chore(deps): update https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment action to v0.1.32 (#48)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment) | action | patch | `0.1.31` → `0.1.32` |

---

### Release Notes

<details>
<summary>t.behrendt/conventional-semantic-git-tag-increment (https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment)</summary>

### [`v0.1.32`](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment/compare/0.1.31...0.1.32)

[Compare Source](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment/compare/0.1.31...0.1.32)

</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: #48
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-04-28 17:04:11 +02:00
renovate-bot 269cf7adf4 chore(deps): update azure/setup-kubectl action to v5.1.0 (#44)
Release / Release (push) Successful in 11s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [azure/setup-kubectl](https://github.com/azure/setup-kubectl) | action | minor | `v5.0.0` → `v5.1.0` |

---

### Release Notes

<details>
<summary>azure/setup-kubectl (azure/setup-kubectl)</summary>

### [`v5.1.0`](https://github.com/Azure/setup-kubectl/releases/tag/v5.1.0)

[Compare Source](https://github.com/azure/setup-kubectl/compare/v5.0.0...v5.1.0)

##### Changed

- [#&#8203;243](https://github.com/azure/setup-kubectl/issues/243) [Migrate to ESM with esbuild and vitest](https://github.com/Azure/setup-kubectl/pull/243)
  - Replaced `@vercel/ncc` with `esbuild` for ESM bundling
  - Replaced `jest`/`ts-jest` with `vitest` for testing
  - Upgraded `@actions/core` to `^3.0.0`, `@actions/exec` to `^3.0.0`, `@actions/tool-cache` to `^4.0.0`
  - Updated `tsconfig.json` to `NodeNext` module resolution
- Add `npm run build` step to CI unit-tests workflow

##### Security

- [#&#8203;242](https://github.com/azure/setup-kubectl/issues/242) [Bump picomatch](https://github.com/Azure/setup-kubectl/pull/242)
- [#&#8203;244](https://github.com/azure/setup-kubectl/issues/244) [Bump handlebars from 4.7.8 to 4.7.9](https://github.com/Azure/setup-kubectl/pull/244)
- [#&#8203;247](https://github.com/azure/setup-kubectl/issues/247) [Bump vite from 8.0.3 to 8.0.5](https://github.com/Azure/setup-kubectl/pull/247)
- [#&#8203;245](https://github.com/azure/setup-kubectl/issues/245) [Bump github/codeql-action in CI workflows](https://github.com/Azure/setup-kubectl/pull/245)

</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/44
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-04-23 08:15:18 +02:00
renovate-bot af7cbdf12b chore(deps): update https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment action to v0.1.31 (#43)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment) | action | patch | `0.1.30` → `0.1.31` |

---

### Release Notes

<details>
<summary>t.behrendt/conventional-semantic-git-tag-increment (https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment)</summary>

### [`v0.1.31`](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment/compare/0.1.30...0.1.31)

[Compare Source](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment/compare/0.1.30...0.1.31)

</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: #43
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-04-20 08:49:46 +02:00
renovate-bot 86b398278f chore(deps): update helmfile/helmfile-action action to v2.4.2 (#41)
Release / Release (push) Successful in 5s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [helmfile/helmfile-action](https://github.com/helmfile/helmfile-action) | action | patch | `v2.4.1` → `v2.4.2` |

---

### Release Notes

<details>
<summary>helmfile/helmfile-action (helmfile/helmfile-action)</summary>

### [`v2.4.2`](https://github.com/helmfile/helmfile-action/releases/tag/v2.4.2)

[Compare Source](https://github.com/helmfile/helmfile-action/compare/v2.4.1...v2.4.2)

##### What's Changed

- build(deps-dev): bump [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.57.2 to 8.58.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;666](https://github.com/helmfile/helmfile-action/pull/666)
- build(deps-dev): bump [@&#8203;typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) from 8.57.2 to 8.58.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;665](https://github.com/helmfile/helmfile-action/pull/665)
- build(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 25.5.0 to 25.5.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;668](https://github.com/helmfile/helmfile-action/pull/668)
- build(deps-dev): bump [@&#8203;swc/core](https://github.com/swc/core) from 1.15.21 to 1.15.24 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;667](https://github.com/helmfile/helmfile-action/pull/667)

**Full Changelog**: <https://github.com/helmfile/helmfile-action/compare/v2.4.1...v2.4.2>

</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: #41
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-04-16 19:27:00 +02:00
renovate-bot f9ac1e8589 chore(deps): update azure/k8s-set-context action to v5 (#42)
Release / Release (push) Has been cancelled
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [azure/k8s-set-context](https://github.com/azure/k8s-set-context) | action | major | `v4.0.2` → `v5.0.0` |

---

### Release Notes

<details>
<summary>azure/k8s-set-context (azure/k8s-set-context)</summary>

### [`v5.0.0`](https://github.com/Azure/k8s-set-context/releases/tag/v5.0.0)

[Compare Source](https://github.com/azure/k8s-set-context/compare/v4.0.2...v5.0.0)

##### Features

- [#&#8203;227](https://github.com/azure/k8s-set-context/issues/227) Migrate to ESM with esbuild, vitest

##### Runtime and platform

- [#&#8203;222](https://github.com/azure/k8s-set-context/issues/222) Update Node version from 20 to 24

##### Dependabot updates

- [#&#8203;231](https://github.com/azure/k8s-set-context/issues/231) Bump github/codeql-action in /.github/workflows in the actions group
- [#&#8203;230](https://github.com/azure/k8s-set-context/issues/230) Bump typescript in the actions group across 1 directory
- [#&#8203;228](https://github.com/azure/k8s-set-context/issues/228) Bump picomatch
- [#&#8203;226](https://github.com/azure/k8s-set-context/issues/226) Bump github/codeql-action in /.github/workflows in the actions group
- [#&#8203;223](https://github.com/azure/k8s-set-context/issues/223) Bump undici from 6.23.0 to 6.24.0
- [#&#8203;221](https://github.com/azure/k8s-set-context/issues/221) Bump the actions group in /.github/workflows with 2 updates
- [#&#8203;218](https://github.com/azure/k8s-set-context/issues/218) Bump the actions group in /.github/workflows with 2 updates
- [#&#8203;219](https://github.com/azure/k8s-set-context/issues/219) Bump minimatch
- [#&#8203;217](https://github.com/azure/k8s-set-context/issues/217) Bump undici and [@&#8203;actions/http-client](https://github.com/actions/http-client)
- [#&#8203;216](https://github.com/azure/k8s-set-context/issues/216) Bump github/codeql-action in /.github/workflows in the actions group
- [#&#8203;214](https://github.com/azure/k8s-set-context/issues/214) Bump the actions group in /.github/workflows with 2 updates
- [#&#8203;212](https://github.com/azure/k8s-set-context/issues/212) Bump the actions group in /.github/workflows with 2 updates
- [#&#8203;211](https://github.com/azure/k8s-set-context/issues/211) Bump the actions group with 3 updates
- [#&#8203;210](https://github.com/azure/k8s-set-context/issues/210) Bump the actions group with 2 updates
- [#&#8203;208](https://github.com/azure/k8s-set-context/issues/208) Bump [@&#8203;types/node](https://github.com/types/node) from 25.0.2 to 25.0.3 in the actions group
- [#&#8203;209](https://github.com/azure/k8s-set-context/issues/209) Bump github/codeql-action in /.github/workflows in the actions group
- [#&#8203;206](https://github.com/azure/k8s-set-context/issues/206) Bump the actions group with 3 updates
- [#&#8203;207](https://github.com/azure/k8s-set-context/issues/207) Bump github/codeql-action in /.github/workflows in the actions group
- [#&#8203;205](https://github.com/azure/k8s-set-context/issues/205) Bump the actions group in /.github/workflows with 4 updates
- [#&#8203;204](https://github.com/azure/k8s-set-context/issues/204) Bump the actions group with 2 updates
- [#&#8203;202](https://github.com/azure/k8s-set-context/issues/202) Bump the actions group in /.github/workflows with 2 updates
- [#&#8203;203](https://github.com/azure/k8s-set-context/issues/203) Bump prettier from 3.6.2 to 3.7.3 in the actions group
- [#&#8203;201](https://github.com/azure/k8s-set-context/issues/201) Bump glob from 10.4.5 to 10.5.0
- [#&#8203;200](https://github.com/azure/k8s-set-context/issues/200) Bump js-yaml from 3.14.1 to 3.14.2
- [#&#8203;198](https://github.com/azure/k8s-set-context/issues/198) Bump js-yaml from 4.1.0 to 4.1.1
- [#&#8203;199](https://github.com/azure/k8s-set-context/issues/199) Bump the actions group with 2 updates

</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/42
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-04-16 19:26:53 +02:00
renovate-bot 7993842765 chore(deps): update azure/setup-helm action to v5 (#38)
Release / Release (push) Successful in 10s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [azure/setup-helm](https://github.com/azure/setup-helm) | action | major | `v4` → `v5` |

---

### Release Notes

<details>
<summary>azure/setup-helm (azure/setup-helm)</summary>

### [`v5`](https://github.com/azure/setup-helm/compare/v4...v5)

[Compare Source](https://github.com/azure/setup-helm/compare/v4...v5)

</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: #38
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-04-03 15:17:27 +02:00
renovate-bot 9c76b8bfdc chore(deps): update azure/setup-kubectl action to v5 (#40)
Release / Release (push) Successful in 10s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [azure/setup-kubectl](https://github.com/azure/setup-kubectl) | action | major | `v4.0.1` → `v5.0.0` |

---

### Release Notes

<details>
<summary>azure/setup-kubectl (azure/setup-kubectl)</summary>

### [`v5.0.0`](https://github.com/Azure/setup-kubectl/releases/tag/v5.0.0)

[Compare Source](https://github.com/azure/setup-kubectl/compare/v4.0.1...v5.0.0)

##### Changed

- [#&#8203;233](https://github.com/azure/setup-kubectl/issues/233) [Update Node.js runtime from node20 to node24](https://github.com/Azure/setup-kubectl/pull/233)
- [#&#8203;228](https://github.com/azure/setup-kubectl/issues/228) [Replace cdn.dl.k8s.io with dl.k8s.io](https://github.com/Azure/setup-kubectl/pull/228)
- [#&#8203;219](https://github.com/azure/setup-kubectl/issues/219) [Remove download redirects, use cdn.dl.k8s.io domain](https://github.com/Azure/setup-kubectl/pull/219)
- [#&#8203;190](https://github.com/azure/setup-kubectl/issues/190) [Update stableVersionUrl to dl.k8s.io](https://github.com/Azure/setup-kubectl/pull/190)
- [#&#8203;235](https://github.com/azure/setup-kubectl/issues/235) [Bump undici from 6.23.0 to 6.24.1](https://github.com/Azure/setup-kubectl/pull/235)
- [#&#8203;226](https://github.com/azure/setup-kubectl/issues/226) [Bump undici and @&#8203;actions/http-client](https://github.com/Azure/setup-kubectl/pull/226)
- [#&#8203;230](https://github.com/azure/setup-kubectl/issues/230) [Bump minimatch](https://github.com/Azure/setup-kubectl/pull/230)

##### Added

- [#&#8203;172](https://github.com/azure/setup-kubectl/issues/172) [Enhance version handling: auto-resolve kubectl major.minor to latest patch](https://github.com/Azure/setup-kubectl/pull/172)
- [#&#8203;171](https://github.com/azure/setup-kubectl/issues/171) [Add husky precommit check](https://github.com/Azure/setup-kubectl/pull/171)

</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/40
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-04-03 09:10:18 +02:00
renovate-bot f7f5bc1b47 chore(deps): update helmfile/helmfile-action action to v2.4.1 (#39)
Release / Release (push) Successful in 12s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [helmfile/helmfile-action](https://github.com/helmfile/helmfile-action) | action | patch | `v2.4.0` → `v2.4.1` |

---

### Release Notes

<details>
<summary>helmfile/helmfile-action (helmfile/helmfile-action)</summary>

### [`v2.4.1`](https://github.com/helmfile/helmfile-action/releases/tag/v2.4.1)

[Compare Source](https://github.com/helmfile/helmfile-action/compare/v2.4.0...v2.4.1)

##### What's Changed

- build(deps-dev): bump eslint-plugin-jest from 29.15.0 to 29.15.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;664](https://github.com/helmfile/helmfile-action/pull/664)
- build(deps-dev): bump typescript from 5.9.3 to 6.0.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;663](https://github.com/helmfile/helmfile-action/pull/663)

**Full Changelog**: <https://github.com/helmfile/helmfile-action/compare/v2.4.0...v2.4.1>

</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: #39
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-04-03 09:06:28 +02:00
renovate-bot d41aab78cb chore(deps): update https://gitea.t000-n.de/t.behrendt/actions action to v0.2.2 (#35)
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.1` → `0.2.2` |

---

### Release Notes

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

### [`v0.2.2`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.2.1...0.2.2)

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

</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: #35
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-03-28 15:25:05 +01:00
renovate-bot 5331d22579 chore(deps): update https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment action to v0.1.30 (#36)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment) | action | patch | `0.1.29` → `0.1.30` |

---

### Release Notes

<details>
<summary>t.behrendt/conventional-semantic-git-tag-increment (https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment)</summary>

### [`v0.1.30`](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment/compare/0.1.29...0.1.30)

[Compare Source](https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment/compare/0.1.29...0.1.30)

</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: #36
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-03-28 15:24:53 +01:00
renovate-bot c41eeb249e chore(deps): update helmfile/helmfile-action action to v2.4.0 (#37)
Release / Release (push) Successful in 6s
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [helmfile/helmfile-action](https://github.com/helmfile/helmfile-action) | action | minor | `v2.3.1` → `v2.4.0` | `v2.4.1` |

---

### Release Notes

<details>
<summary>helmfile/helmfile-action (helmfile/helmfile-action)</summary>

### [`v2.4.0`](https://github.com/helmfile/helmfile-action/releases/tag/v2.4.0)

[Compare Source](https://github.com/helmfile/helmfile-action/compare/v2.3.1...v2.4.0)

##### What's Changed

- build(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 25.3.3 to 25.3.5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;655](https://github.com/helmfile/helmfile-action/pull/655)
- build(deps-dev): bump [@&#8203;eslint/eslintrc](https://github.com/eslint/eslintrc) from 3.3.4 to 3.3.5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;657](https://github.com/helmfile/helmfile-action/pull/657)
- build(deps-dev): bump [@&#8203;eslint/js](https://github.com/eslint/js) from 9.39.3 to 9.39.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;656](https://github.com/helmfile/helmfile-action/pull/656)
- build(deps-dev): bump jest from 30.2.0 to 30.3.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;659](https://github.com/helmfile/helmfile-action/pull/659)
- Use node24 on runners by [@&#8203;Cardds](https://github.com/Cardds) in [#&#8203;662](https://github.com/helmfile/helmfile-action/pull/662)
- build(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 25.3.5 to 25.5.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;660](https://github.com/helmfile/helmfile-action/pull/660)

##### New Contributors

- [@&#8203;Cardds](https://github.com/Cardds) made their first contribution in [#&#8203;662](https://github.com/helmfile/helmfile-action/pull/662)

**Full Changelog**: <https://github.com/helmfile/helmfile-action/compare/v2.3.1...v2.4.0>

</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: #37
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-03-28 15:24:39 +01:00
renovate-bot c373c34c83 chore(deps): update azure/k8s-deploy action to v5.1.0 (#34)
Release / Release (push) Successful in 33s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [azure/k8s-deploy](https://github.com/azure/k8s-deploy) | action | minor | `v5.0.4` → `v5.1.0` |

---

### Release Notes

<details>
<summary>azure/k8s-deploy (azure/k8s-deploy)</summary>

### [`v5.1.0`](https://github.com/Azure/k8s-deploy/releases/tag/v5.1.0)

[Compare Source](https://github.com/azure/k8s-deploy/compare/v5.0.4...v5.1.0)

##### Added

- [#&#8203;458](https://github.com/azure/k8s-deploy/issues/458) [Ensure error messages display the correct namespace](https://github.com/Azure/k8s-deploy/pull/458)
- [#&#8203;482](https://github.com/azure/k8s-deploy/issues/482) [docker driver](https://github.com/Azure/k8s-deploy/pull/482)
- [#&#8203;492](https://github.com/azure/k8s-deploy/issues/492) [Migrate to esbuild/Vitest and upgrade @&#8203;actions/\* to ESM-only versions](https://github.com/Azure/k8s-deploy/pull/492)
- [#&#8203;498](https://github.com/azure/k8s-deploy/issues/498) [Add typecheck to build script](https://github.com/Azure/k8s-deploy/pull/498)

</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/34
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-03-15 22:02:56 +01:00
renovate-bot 62201e92e5 chore(deps): update https://gitea.t000-n.de/t.behrendt/actions action to v0.2.1 (#32)
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 | minor | `0.1.6` → `0.2.1` |

---

### Release Notes

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

### [`v0.2.1`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.2.0...0.2.1)

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

### [`v0.2.0`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.7...0.2.0)

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

### [`v0.1.7`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.6...0.1.7)

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

</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: #32
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-03-15 22:02:48 +01:00
7 changed files with 96 additions and 253 deletions
@@ -1,19 +0,0 @@
name: Extract chart name from repo name
description: Extracts the chart name from the repo name, based on the convention of helm-<chart-name>
inputs:
repo:
description: The full repository name (e.g., "helm-my-chart")
required: true
outputs:
chart-name:
description: The extracted chart name
value: ${{ steps.extract.outputs.suffix }}
runs:
using: "composite"
steps:
- id: extract
shell: bash
run: |
full_repo="${{ inputs.repo }}"
suffix="${full_repo##*helm-}"
echo "suffix=$suffix" >> $GITHUB_OUTPUT
@@ -1,19 +0,0 @@
name: "Extract namespace from repo name"
description: "Extracts the namespace name from the repo name, based on the convention of k_<namespace-name>"
inputs:
repo:
description: 'The repo name, get it from "github.repository"'
required: true
outputs:
namespace:
description: "The namespace name"
value: ${{ steps.extract.outputs.suffix }}
runs:
using: "composite"
steps:
- id: extract
shell: bash
run: |
full_repo="${{ inputs.repo }}"
suffix="${full_repo##*k_}"
echo "suffix=$suffix" >> $GITHUB_OUTPUT
@@ -3,35 +3,30 @@ name: Deploy
on: on:
workflow_call: workflow_call:
inputs: inputs:
# Optional: Override the default k8s directory path
k8s_dir: k8s_dir:
description: "Path to Kubernetes manifests directory" description: "Override the default k8s directory path (k8s/)"
required: false required: false
default: "k8s/" default: "k8s/"
type: string type: string
# Optional: Override the default helmfile path
helmfile_path: helmfile_path:
description: "Path to helmfile.yaml" description: "Override the default helmfile path (hemfile.yaml)"
required: false required: false
default: "helmfile.yaml" default: "helmfile.yaml"
type: string type: string
# Optional: Skip Helm deployment even if helmfile exists
skip_helm_deployment: skip_helm_deployment:
description: "Skip Helm deployment even if helmfile.yaml exists" description: "Skip Helm deployment even if helmfile.yaml exists"
required: false required: false
default: false default: false
type: boolean type: boolean
# Optional: Custom secrets to create (JSON array of secret objects) skip_shared_secrets_deployment:
custom_secrets: description: "Skip shared secrets deployment (e.g. restic backup secret)"
description: "JSON array of secrets to create. Each secret should have: name, type, data"
required: false required: false
default: "[]" default: false
type: string type: boolean
# Optional: Branch to deploy from helmfile_env:
deploy_branch: description: "Optional JSON object string of environment variables for Helmfile"
description: "Branch to deploy from"
required: false required: false
default: "main" default: "{}"
type: string type: string
jobs: jobs:
@@ -63,48 +58,43 @@ jobs:
echo "No k8s directory found at ${{ inputs.k8s_dir }}" echo "No k8s directory found at ${{ inputs.k8s_dir }}"
fi fi
deploy-shared-secrets:
runs-on: ubuntu-latest
needs: detect-service-type
if: inputs.skip_shared_secrets_deployment != 'true'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set restic backup secret
uses: azure/k8s-create-secret@6e0ba8047235646753f2a3a3b359b4d0006ff218 # v5.0.1
with:
namespace: ${{ steps.namespace.outputs.namespace }}
secret-name: backupsidecar-secret
secret-type: generic
data: |
{
"restic_password": "${{ secrets.RESTIC_PASSWORD }}",
"restic_rest_username": "${{ secrets.RESTIC_REST_USERNAME }}",
"restic_rest_password": "${{ secrets.RESTIC_REST_PASSWORD }}",
"gotify_token": "${{ secrets.GOTIFY_TOKEN }}"
}
deploy-k8s: deploy-k8s:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: detect-service-type needs: detect-service-type
if: needs.detect-service-type.outputs.has_k8s == 'true' if: needs.detect-service-type.outputs.has_k8s == 'true'
steps: steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: - uses: https://gitea.t000-n.de/t.behrendt/k_deploy_actions/.gitea/actions/extract-namespace-from-repo-name@0.0.1
ref: ${{ inputs.deploy_branch }}
- uses: ./.gitea/actions/extract-namespace-from-repo-name
id: namespace id: namespace
with: with:
repo: ${{ github.repository }} repo: ${{ github.repository }}
- uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1 - uses: azure/setup-kubectl@829323503d1be3d00ca8346e5391ca0b07a9ab0d # v5.1.0
- uses: azure/k8s-set-context@ae59a723ba9abe7a9655538854a025448dbab4aa # v4.0.2 - uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0
with: with:
method: kubeconfig method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }} kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Create custom secrets
id: create-secrets
run: |
# Parse custom secrets from input
SECRETS='${{ inputs.custom_secrets }}'
if [ "$SECRETS" != "[]" ]; then
echo "Creating custom secrets..."
echo "$SECRETS" | jq -c '.[]' | while read -r secret; do
SECRET_NAME=$(echo "$secret" | jq -r '.name')
SECRET_TYPE=$(echo "$secret" | jq -r '.type // "generic"')
SECRET_DATA=$(echo "$secret" | jq -r '.data')
echo "Creating secret: $SECRET_NAME (type: $SECRET_TYPE)"
# Create the secret using kubectl
echo "$SECRET_DATA" | kubectl create secret $SECRET_TYPE $SECRET_NAME \
--from-literal=secret.json="$SECRET_DATA" \
--namespace=${{ steps.namespace.outputs.namespace }} \
--dry-run=client -o yaml | kubectl apply -f -
done
else
echo "No custom secrets to create"
fi
- name: Deploy Kubernetes manifests - name: Deploy Kubernetes manifests
uses: azure/k8s-deploy@6f7c489cecd8da05646259d9fa3daae92e095c7b # v5.0.4 uses: azure/k8s-deploy@c7ebd0d5f39477a23f1b5dea0f52e6db04adf28e # v6.0.0
with: with:
action: deploy action: deploy
manifests: "${{ inputs.k8s_dir }}" manifests: "${{ inputs.k8s_dir }}"
@@ -120,45 +110,21 @@ jobs:
inputs.skip_helm_deployment != 'true' inputs.skip_helm_deployment != 'true'
steps: steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: - uses: https://gitea.t000-n.de/t.behrendt/k_deploy_actions/.gitea/actions/extract-namespace-from-repo-name@0.0.1
ref: ${{ inputs.deploy_branch }}
- uses: ./.gitea/actions/extract-namespace-from-repo-name
id: namespace id: namespace
with: with:
repo: ${{ github.repository }} repo: ${{ github.repository }}
- uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1 - uses: azure/setup-kubectl@829323503d1be3d00ca8346e5391ca0b07a9ab0d # v5.1.0
- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4 - uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5
- uses: azure/k8s-set-context@ae59a723ba9abe7a9655538854a025448dbab4aa # v4.0.2 - uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0
with: with:
method: kubeconfig method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }} kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Create custom secrets
id: create-secrets
run: |
# Parse custom secrets from input
SECRETS='${{ inputs.custom_secrets }}'
if [ "$SECRETS" != "[]" ]; then
echo "Creating custom secrets..."
echo "$SECRETS" | jq -c '.[]' | while read -r secret; do
SECRET_NAME=$(echo "$secret" | jq -r '.name')
SECRET_TYPE=$(echo "$secret" | jq -r '.type // "generic"')
SECRET_DATA=$(echo "$secret" | jq -r '.data')
echo "Creating secret: $SECRET_NAME (type: $SECRET_TYPE)"
# Create the secret using kubectl
echo "$SECRET_DATA" | kubectl create secret $SECRET_TYPE $SECRET_NAME \
--from-literal=secret.json="$SECRET_DATA" \
--namespace=${{ steps.namespace.outputs.namespace }} \
--dry-run=client -o yaml | kubectl apply -f -
done
else
echo "No custom secrets to create"
fi
- name: Deploy Helm - name: Deploy Helm
uses: helmfile/helmfile-action@c58e4737b8a69764d8294a70fcbcb0a63573dae9 # v2.3.1 uses: helmfile/helmfile-action@02671705b1dda1dc4b0a4ddd4f9f1ea8f4568c6f # v2.4.3
with: with:
helmfile-args: apply helmfile-args: apply
env: ${{ fromJSON(inputs.helmfile_env) }}
# Summary job that always runs to show what was deployed # Summary job that always runs to show what was deployed
deployment-summary: deployment-summary:
@@ -187,11 +153,3 @@ jobs:
echo "" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY
echo "**Service Type**: ${{ needs.detect-service-type.outputs.has_helmfile == 'true' && 'Helm + Kubernetes' || 'Kubernetes Only' }}" >> $GITHUB_STEP_SUMMARY echo "**Service Type**: ${{ needs.detect-service-type.outputs.has_helmfile == 'true' && 'Helm + Kubernetes' || 'Kubernetes Only' }}" >> $GITHUB_STEP_SUMMARY
# Show custom secrets info
SECRETS='${{ inputs.custom_secrets }}'
if [ "$SECRETS" != "[]" ]; then
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Custom Secrets Created**: $(echo "$SECRETS" | jq length)" >> $GITHUB_STEP_SUMMARY
echo "$SECRETS" | jq -r '.[] | "- " + .name + " (" + (.type // "generic") + ")"' >> $GITHUB_STEP_SUMMARY
fi
+2 -2
View File
@@ -18,10 +18,10 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Increment tag - name: Increment tag
id: tag id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@41b7e04221df8a033bec841d40a097b76e5f67ff # 0.1.29 uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@ef0c23189db33220a73022d8c29a27709d0df440 # 0.1.32
with: with:
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag - name: Push tag
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@c988c26746e621504d69739382e4a19f4ace5120 # 0.1.6 uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@47a1c635cfc76cfb4eeee3db0d0b89bf19007c7a # 0.2.3
with: with:
tag: ${{ steps.tag.outputs.new-tag }} tag: ${{ steps.tag.outputs.new-tag }}
@@ -18,6 +18,11 @@ on:
required: false required: false
default: false default: false
type: boolean type: boolean
helmfile_env:
description: "Optional JSON object string of environment variables for Helmfile"
required: false
default: "{}"
type: string
jobs: jobs:
detect-service-type: detect-service-type:
@@ -54,12 +59,12 @@ jobs:
if: needs.detect-service-type.outputs.has_k8s == 'true' if: needs.detect-service-type.outputs.has_k8s == 'true'
steps: steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.gitea/actions/extract-namespace-from-repo-name - uses: https://gitea.t000-n.de/t.behrendt/k_deploy_actions/.gitea/actions/extract-namespace-from-repo-name@0.0.1
id: namespace id: namespace
with: with:
repo: ${{ github.repository }} repo: ${{ github.repository }}
- uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1 - uses: azure/setup-kubectl@829323503d1be3d00ca8346e5391ca0b07a9ab0d # v5.1.0
- uses: azure/k8s-set-context@ae59a723ba9abe7a9655538854a025448dbab4aa # v4.0.2 - uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0
with: with:
method: kubeconfig method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }} kubeconfig: ${{ secrets.KUBECONFIG }}
@@ -79,20 +84,21 @@ jobs:
inputs.skip_helm_validation != 'true' inputs.skip_helm_validation != 'true'
steps: steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.gitea/actions/extract-namespace-from-repo-name - uses: https://gitea.t000-n.de/t.behrendt/k_deploy_actions/.gitea/actions/extract-namespace-from-repo-name@0.0.1
id: namespace id: namespace
with: with:
repo: ${{ github.repository }} repo: ${{ github.repository }}
- uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # v4.0.1 - uses: azure/setup-kubectl@829323503d1be3d00ca8346e5391ca0b07a9ab0d # v5.1.0
- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4 - uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5
- uses: azure/k8s-set-context@ae59a723ba9abe7a9655538854a025448dbab4aa # v4.0.2 - uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0
with: with:
method: kubeconfig method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }} kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Validate Helm - name: Validate Helm
uses: helmfile/helmfile-action@c58e4737b8a69764d8294a70fcbcb0a63573dae9 # v2.3.1 uses: helmfile/helmfile-action@02671705b1dda1dc4b0a4ddd4f9f1ea8f4568c6f # v2.4.3
with: with:
helmfile-args: diff helmfile-args: diff
env: ${{ fromJSON(inputs.helmfile_env) }}
# Summary job that always runs to show what was validated # Summary job that always runs to show what was validated
ci-summary: ci-summary:
+38 -118
View File
@@ -1,79 +1,75 @@
> [!WARNING] # Reusable CI/CD Workflows for k\_ Services
> Repo is currently not in use and not tested.
> We are waiting for proper shared workflow UI support in gitea. Otherwise errors are hard to identify.
> Follow https://github.com/go-gitea/gitea/issues/24604
# Reusable CI Workflow for Kubernetes 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.
This directory contains a reusable CI workflow that automatically detects and validates your Kubernetes services, whether they use Helm + Kubernetes or just Kubernetes manifests.
## Features ## Features
- **Automatic Detection**: Automatically detects if your service uses Helm (helmfile.yaml) or just Kubernetes manifests - **Reusable CI and CD**: Separate reusable workflows for validation and deployment
- **Conditional Validation**: Only runs Helm validation when helmfile.yaml exists - **Automatic Detection**: Detects whether `helmfile.yaml` exists and whether `k8s/` exists
- **Flexible Paths**: Configurable paths for k8s directory and helmfile - **Conditional Execution**: Runs Helm steps only when applicable
- **Comprehensive Validation**: Validates both Kubernetes manifests and Helm charts - **Flexible Inputs**: Supports custom `k8s_dir` and `helmfile_path`
- **CI Summary**: Provides a clear summary of what was validated
## Usage ## Usage
### Basic Usage (Recommended) ### Basic CI Usage
Simply call the workflow without any parameters - it will automatically detect your service type: Call the reusable CI workflow:
```yaml ```yaml
jobs: jobs:
ci: ci:
uses: ./.gitea/workflows/ci.yaml uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/workflows/ci.yaml@main
secrets: inherit
``` ```
### Advanced Usage with Custom Paths ### Basic CD Usage
If your service uses non-standard directory names: Call the reusable CD workflow:
```yaml
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
```yaml ```yaml
jobs: jobs:
ci: ci:
uses: ./.gitea/workflows/ci.yaml uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/workflows/ci.yaml@main
with: with:
k8s_dir: "kubernetes/" k8s_dir: "kubernetes/"
helmfile_path: "helm/helmfile.yaml" helmfile_path: "helm/helmfile.yaml"
```
### Force Skip Helm Validation
If you want to skip Helm validation even when helmfile.yaml exists:
```yaml
jobs:
ci:
uses: ./.gitea/workflows/ci.yaml
with:
skip_helm_validation: true skip_helm_validation: true
secrets: inherit
``` ```
## Input Parameters ## Inputs
### CI (`.gitea/workflows/ci.yaml`)
| Parameter | Description | Default | Required | | Parameter | Description | Default | Required |
| ---------------------- | -------------------------------------------- | --------------- | -------- | | ---------------------- | -------------------------------------------- | --------------- | -------- |
| `k8s_dir` | Path to Kubernetes manifests directory | `k8s/` | No | | `k8s_dir` | Path to Kubernetes manifests directory | `k8s/` | No |
| `helmfile_path` | Path to helmfile.yaml | `helmfile.yaml` | No | | `helmfile_path` | Path to helmfile.yaml | `helmfile.yaml` | No |
| `skip_helm_validation` | Skip Helm validation even if helmfile exists | `false` | 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 ## Directory Structure Requirements
### For Kubernetes-only services: ### Full example structure (Helm + Kubernetes):
```
your-service/
├── k8s/
│ ├── deployment.yaml
│ ├── service.yaml
│ └── ...
└── .gitea/workflows/your-workflow.yaml
```
### For Helm + Kubernetes services:
``` ```
your-service/ your-service/
@@ -84,79 +80,3 @@ your-service/
├── helmfile.yaml ├── helmfile.yaml
└── .gitea/workflows/your-workflow.yaml └── .gitea/workflows/your-workflow.yaml
``` ```
## What Gets Validated
### Always (if k8s/ directory exists):
- Kubernetes manifest validation using `kubectl --dry-run`
- Namespace extraction from repository name
- Basic Kubernetes syntax and schema validation
### Conditionally (if helmfile.yaml exists and Helm validation not skipped):
- Helm chart validation using `helmfile diff`
- Kubernetes manifests in Helm context
- Helm-specific configurations and values
## Example Workflows
See `example-usage.yaml` for complete examples of how to use this workflow in different scenarios.
## Available Actions
### Extract Chart Name from Repository Name
The `extract-chart-name-from-repo-name` action extracts the chart name from repository names following the `helm-<chart-name>` convention.
#### Usage
```yaml
- name: Extract chart name
uses: ./.gitea/actions/extract-chart-name-from-repo-name
with:
repo: ${{ github.repository_name }} # e.g., "helm-my-service"
```
#### Inputs
| Parameter | Description | Required |
| --------- | ------------------------------------------------ | -------- |
| `repo` | The full repository name (e.g., "helm-my-chart") | Yes |
#### Outputs
| Output | Description |
| ------------ | ---------------------------------------------------------------- |
| `chart-name` | The extracted chart name (e.g., "my-chart" from "helm-my-chart") |
#### Example
For a repository named `helm-user-service`, this action will extract `user-service` as the chart name.
## Dependencies
This workflow requires:
- `./.gitea/actions/extract-namespace-from-repo-name` action
- `./.gitea/actions/extract-chart-name-from-repo-name` action
- `KUBECONFIG` secret configured in your repository
- Access to your Kubernetes cluster
## Troubleshooting
### Helm validation skipped unexpectedly
- Check if `helmfile.yaml` exists in the expected location
- Verify the `skip_helm_validation` parameter is not set to `true`
- Ensure the file path is correct if using custom paths
### Kubernetes validation skipped
- Verify the `k8s/` directory (or custom path) exists
- Check the directory contains valid Kubernetes manifests
### Permission issues
- Ensure the `KUBECONFIG` secret is properly configured
- Verify the workflow has access to your Kubernetes cluster
+1 -4
View File
@@ -1,7 +1,4 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "extends": ["local>t.behrendt/renovate-configs:action"]
"local>t.behrendt/renovate-configs:common",
"local>t.behrendt/renovate-configs:action"
]
} }