10 Commits

Author SHA1 Message Date
6443a09f38 chore: set basic definitions up 2026-05-20 16:58:38 +02:00
40d5d7f0a6 chore(deps): update dependency pnpm to v11 (#145)
Some checks failed
changelog / changelog (push) Has been cancelled
check-and-test / check-and-test (push) Has been cancelled
Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/145
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-14 16:08:43 +00:00
6aa2e6ba61 chore(deps): update commitlint/commitlint docker tag to v20.5.3 (#140)
Some checks failed
changelog / changelog (push) Has been cancelled
check-and-test / check-and-test (push) Has been cancelled
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [commitlint/commitlint](https://github.com/conventional-changelog/commitlint) | container | patch | `20.5.2` → `20.5.3` |

---

### Release Notes

<details>
<summary>conventional-changelog/commitlint (commitlint/commitlint)</summary>

### [`v20.5.3`](https://github.com/conventional-changelog/commitlint/blob/HEAD/CHANGELOG.md#2053-2026-04-30)

[Compare Source](https://github.com/conventional-changelog/commitlint/compare/v20.5.2...v20.5.3)

**Note:** Version bump only for package [@&#8203;commitlint/root](https://github.com/commitlint/root)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Only on Sunday and Saturday (`* * * * 0,6`)
- Automerge
  - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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 [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE2MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJraW5kL2RlcGVuZGVuY3kiXX0=-->

Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/140
Reviewed-by: DaanSelen <135789+daanselen@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-04 06:54:36 +00:00
cbe726badd chore(deps): update workflow dependencies (minor & patch) (#138)
Some checks failed
changelog / changelog (push) Has been cancelled
check-and-test / check-and-test (push) Has been cancelled
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [commitlint/commitlint](https://github.com/conventional-changelog/commitlint) | container | patch | `20.5.1` → `20.5.2` |
| [docker.io/thegeeklab/git-sv](https://github.com/thegeeklab/git-sv) | container | minor | `2.0.11` → `2.1.0` |

---

### Release Notes

<details>
<summary>conventional-changelog/commitlint (commitlint/commitlint)</summary>

### [`v20.5.2`](https://github.com/conventional-changelog/commitlint/blob/HEAD/CHANGELOG.md#2052-2026-04-25)

[Compare Source](https://github.com/conventional-changelog/commitlint/compare/v20.5.1...v20.5.2)

##### Bug Fixes

- update dependency global-directory to v5 ([#&#8203;4698](https://github.com/conventional-changelog/commitlint/issues/4698)) ([a8b6224](a8b622497b))

</details>

<details>
<summary>thegeeklab/git-sv (docker.io/thegeeklab/git-sv)</summary>

### [`v2.1.0`](https://github.com/thegeeklab/git-sv/releases/tag/v2.1.0)

[Compare Source](https://github.com/thegeeklab/git-sv/compare/v2.0.11...v2.1.0)

#### v2.1.0 (2026-04-24)

##### Features

- add `--force` flag to tag subcommand ([#&#8203;308](https://github.com/thegeeklab/git-sv/issues/308)) ([`a75a19d`](https://github.com/thegeeklab/git-sv/commit/a75a19d))

##### Bug Fixes

- **deps:** update module github.com/go-git/go-git/v5 to v5.18.0 \[security] ([#&#8203;305](https://github.com/thegeeklab/git-sv/issues/305)) ([`f4262f4`](https://github.com/thegeeklab/git-sv/commit/f4262f4))
- **deps:** update module github.com/rs/zerolog to v1.35.1 ([#&#8203;307](https://github.com/thegeeklab/git-sv/issues/307)) ([`21cbde0`](https://github.com/thegeeklab/git-sv/commit/21cbde0))
- **deps:** update module github.com/go-git/go-git/v5 to v5.17.2 ([#&#8203;299](https://github.com/thegeeklab/git-sv/issues/299)) ([`995a15b`](https://github.com/thegeeklab/git-sv/commit/995a15b))
- **deps:** update module github.com/urfave/cli/v3 to v3.8.0 ([#&#8203;298](https://github.com/thegeeklab/git-sv/issues/298)) ([`7979f3e`](https://github.com/thegeeklab/git-sv/commit/7979f3e))
- **deps:** update module github.com/go-git/go-git/v5 to v5.17.1 ([#&#8203;241](https://github.com/thegeeklab/git-sv/issues/241)) ([`1493b53`](https://github.com/thegeeklab/git-sv/commit/1493b53))

##### Others

- **docker:** update docker.io/library/alpine:3.23 docker digest to [`5b10f43`](https://github.com/thegeeklab/git-sv/commit/5b10f43) ([#&#8203;302](https://github.com/thegeeklab/git-sv/issues/302)) ([`6f0a618`](https://github.com/thegeeklab/git-sv/commit/6f0a618))
- **deps:** update golang patch version ([#&#8203;301](https://github.com/thegeeklab/git-sv/issues/301)) ([`a5f9b09`](https://github.com/thegeeklab/git-sv/commit/a5f9b09))
- **docker:** update docker.io/library/golang:1.26.1 docker digest to [`cd78d88`](https://github.com/thegeeklab/git-sv/commit/cd78d88) ([#&#8203;300](https://github.com/thegeeklab/git-sv/issues/300)) ([`446cb83`](https://github.com/thegeeklab/git-sv/commit/446cb83))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Only on Sunday and Saturday (`* * * * 0,6`)
- Automerge
  - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

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

---

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

---------

Co-authored-by: DaanSelen <135789+daanselen@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/138
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-26 13:56:19 +00:00
fd1d5d7316 chore: update readme 2026-04-26 15:52:10 +02:00
cc5849b71a chore(deps): bump act_runner
Some checks failed
changelog / changelog (push) Has been cancelled
check-and-test / check-and-test (push) Has been cancelled
2026-04-24 13:36:56 +02:00
2301e22e32 feat: add unittest for storageClass and minor correction in helpers
Some checks failed
changelog / changelog (push) Has been cancelled
check-and-test / check-and-test (push) Has been cancelled
credits go to: @benmonty
2026-04-23 09:01:42 +02:00
137b52a2d4 fix: combination of 132 & 133
Some checks failed
changelog / changelog (push) Has been cancelled
check-and-test / check-and-test (push) Has been cancelled
2026-04-17 14:43:03 +02:00
33ed630130 chore(deps): update lockfiles (#131)
Some checks failed
changelog / changelog (push) Has been cancelled
check-and-test / check-and-test (push) Has been cancelled
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency versions.

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMTYiLCJ1cGRhdGVkSW5WZXIiOiI0My4xMTAuMTYiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImtpbmQvZGVwZW5kZW5jeSJdfQ==-->

Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/131
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-13 07:56:11 +00:00
c08bc84370 fix: #132 2026-04-13 09:53:33 +02:00
8 changed files with 31 additions and 9 deletions

View File

@ -8,7 +8,7 @@ on:
jobs:
changelog:
runs-on: ubuntu-latest
container: docker.io/thegeeklab/git-sv:2.0.11
container: docker.io/thegeeklab/git-sv:2.1.0
steps:
- name: install tools
run: |

View File

@ -11,7 +11,7 @@ on:
jobs:
check-and-test:
runs-on: ubuntu-latest
container: commitlint/commitlint:20.5.1
container: commitlint/commitlint:20.5.3
steps:
- uses: actions/checkout@v6
- name: check PR title

View File

@ -25,7 +25,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 10
version: 11
- uses: actions/checkout@v6
- name: install chart dependencies
run: helm dependency build

View File

@ -75,7 +75,7 @@ If `.Values.statefulset.dind.rootless: true` is set, then the following will be
| `statefulset.persistence.size` | Size for persistence to store act runner data | `1Gi` |
| `statefulset.actRunner.registry` | image registry, e.g. gcr.io,docker.io | `docker.gitea.com` |
| `statefulset.actRunner.repository` | The Gitea act runner image | `act_runner` |
| `statefulset.actRunner.tag` | The Gitea act runner tag | `0.3.1` |
| `statefulset.actRunner.tag` | The Gitea act runner tag | `0.4.1` |
| `statefulset.actRunner.digest` | Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest` | `""` |
| `statefulset.actRunner.pullPolicy` | The Gitea act runner pullPolicy | `IfNotPresent` |
| `statefulset.actRunner.fullOverride` | Completely overrides the image registry, path/image, tag and digest. | `""` |

View File

@ -45,8 +45,18 @@ Storage Class
{{- define "gitea.actions.persistence.storageClass" -}}
{{- $storageClass := default (tpl ( default "" .Values.global.storageClass) .) }}
{{- if $storageClass }}
storageClassName: {{ $storageClass | quote }}
{{- end }}
storageClassName: {{ $storageClass | quote }}
{{- end -}}
{{- end -}}
{{/*
Resource definitions
*/}}
{{- define "gitea.actions.runner.resources" -}}
{{- end -}}
{{- define "gitea.actions.dind.resources" -}}
{{- end -}}
{{/*

View File

@ -193,9 +193,7 @@ spec:
name: data-act-runner
spec:
accessModes: [ "ReadWriteOnce" ]
{{- if .Values.global.storageClass }}
{{- include "gitea.actions.persistence.storageClass" . | indent 8 }}
{{- end }}
resources:
requests:
storage: {{ .Values.statefulset.persistence.size }}

View File

@ -211,6 +211,18 @@ tests:
- equal:
path: spec.template.spec.runtimeClassName
value: "my-runtime-class-name"
- it: should render storageClass correctly
template: templates/statefulset.yaml
set:
enabled: true
global:
storageClass: "test-storageclass"
asserts:
- hasDocuments:
count: 1
- equal:
path: spec.volumeClaimTemplates[0].spec.storageClassName
value: "test-storageclass"
#
## ACT_RUNNER

View File

@ -71,10 +71,11 @@ statefulset:
actRunner:
registry: "docker.gitea.com"
repository: act_runner
tag: 0.3.1
tag: 0.4.1
digest: ""
pullPolicy: IfNotPresent
fullOverride: ""
resources: {}
extraVolumeMounts: []
extraEnvs:
[]
@ -104,6 +105,7 @@ statefulset:
digest: ""
pullPolicy: IfNotPresent
fullOverride: ""
resources: {}
extraVolumeMounts: []
# If the container keeps crashing in your environment, you might have to add the `DOCKER_IPTABLES_LEGACY` environment variable.