Commit graph

654 commits

Author SHA1 Message Date
Renovate Bot
890356bae8
ci(deps): pin actions/setup-node action to 8f152de 2023-12-08 13:29:53 +00:00
Renovate Bot
a9ad89db66 ci(deps): update actions/checkout action to v4.1.1 (#243)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/243
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2023-12-08 13:20:09 +00:00
Michael Kriese
59b7449de9
chore(renovate): fix enabled managers 2023-12-08 13:45:09 +01:00
root
25f9a22372 chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.6.0 2023-12-08 10:12:02 +00:00
Michael Kriese
9dbeeadb68 ci(deps): update dependency helm to v3.13.2 (#240)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/240
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-12-08 09:31:39 +00:00
Michael Kriese
a99bc00d3e
build: use actions env for git release 2023-12-08 10:01:45 +01:00
Michael Kriese
34c05f6ad0
ci: fix input 2023-12-08 09:50:38 +01:00
Michael Kriese
649c1f6c41 ci(deps): update kindest/node docker tag to v1.25.11 (#238)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/238
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-12-08 08:31:32 +00:00
Michael Kriese
cd242aca12 ci(deps): update dependency kubectl to v1.28.4 (#237)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/237
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-12-08 07:43:41 +00:00
Michael Kriese
b0f7f95f7f
build: fix release 2023-12-08 08:06:41 +01:00
Michael Kriese
6f5ac63f4e ci: fix publish
Signed-off-by: Michael Kriese <viceice@noreply.codeberg.org>
2023-12-07 17:41:43 +00:00
Michael Kriese
3a1928c788 ci: switch to actions (#234)
- closes #89

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/234
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-07 15:56:12 +00:00
Michael Kriese
a8c4af66f5
ci: run e2e on tag 2023-12-07 16:07:58 +01:00
Michael Kriese
e27183085b
fix: ignore more files from chart 2023-12-07 16:02:25 +01:00
Michael Kriese
4a37911835 fix(deps): update helm release postgresql-ha to v12.3.2 2023-12-07 00:08:05 +00:00
Earl Warren
3a69f00287 CI remove example workflow 2023-12-06 15:12:28 +00:00
Earl Warren
b900c2dc05 CI: sample workflow running in docker 2023-12-06 15:10:07 +00:00
Michael Kriese
9d9c9ca6e1
ci: install deps and add markdownlint 2023-12-06 14:50:35 +01:00
Michael Kriese
87251acc82
ci: add prettier check 2023-12-06 14:39:08 +01:00
Michael Kriese
41c51cdb74
chore: add prettier linting 2023-12-06 14:32:09 +01:00
Michael Kriese
9705ad745c
ci: add more tests 2023-12-06 14:15:20 +01:00
Michael Kriese
58d4630eb8 ci: add chart testing (#111)
- closes #18

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/111
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-06 13:09:34 +00:00
Michael Kriese
ce4352b9bc
feat!: merge upstream changes
BREAKING CHANGE: See Gitea chart v9+ breaking changes at https://gitea.com/gitea/helm-chart#upgrading.
2023-12-06 12:18:05 +01:00
Michael Kriese
8c140d2f66
chore: linting 2023-12-06 12:08:19 +01:00
Michael Kriese
96678540cb
docs: fix readme 2023-12-06 12:05:14 +01:00
Michael Kriese
206aba2ba2
test: fix tests 2023-12-06 11:54:17 +01:00
Michael Kriese
4b35bcb402
feat!: merge upstream changes
BREAKING CHANGES: See Gitea chart breaking changes at https://gitea.com/gitea/helm-chart#upgrading.
2023-12-06 11:40:55 +01:00
Michael Kriese
baff39ecfa fix(deps): update helm release postgresql to v13.2.24 2023-12-06 00:08:09 +00:00
Renovate Bot
7e403d5ef6 chore(deps): update postgresql-ha docker tag to v12 (#528)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [postgresql-ha](https://github.com/bitnami/charts) ([source](https://github.com/bitnami/charts/tree/HEAD/bitnami/postgresql-ha)) | major | `11.9.4` -> `12.3.1` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy43Ny4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/528
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-12-04 19:49:43 +00:00
Michael Kriese
3bb15136dd ci(deps): update alpine docker tag to v3.18.5 2023-12-02 00:08:05 +00:00
Michael Kriese
c1b9488a3b fix(deps): update helm release postgresql to v13.2.23 2023-12-01 00:08:27 +00:00
Michael Kriese
88aaa94bf8 fix(deps): update helm release postgresql to v13.2.21 2023-11-28 00:08:41 +00:00
pat-s
0081cabe0b Bump to 1.21.1 (#576)
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.21.1
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/576
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-27 21:00:37 +00:00
justusbunsi
b265d87f55 Improve experience on writing unittests (#570)
While working on #409, I noticed that some unittests contains either
invalid assertion methods (`isNotEmpty`) or invalid properties (`any`)
for a specific assertion method (`notContains`).

As our tests pass - and I have ensured that they can fail - this seems
related to the YAML schema validation in the IDE.

I've noticed that `isNotEmpty` was replaced by `isNotNullOrEmpty`[^1]
in version v0.3.2[^2]. At least from a schema validation point of view.
It is still working. Maybe deprecated? I don't know.

Regarding the `any` property, the documentation seems incorrect. I've
filed a PR for it[^3]. As soon as that PR is merged and released, we
could probably validate the test YAML files in our PR workflow.

Last, since we renovate the used helm-unittest version, we should also
renovate the used YAML schema file.

[^1]: https://github.com/helm-unittest/helm-unittest/pull/139
[^2]: https://github.com/helm-unittest/helm-unittest/releases/tag/v0.3.2
[^3]: https://github.com/helm-unittest/helm-unittest/pull/243

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/570
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
2023-11-27 18:38:14 +00:00
justusbunsi
8bcd2dc63b Detect major dependency version bumps (#571)
As seen in #507 and #569, there is no guarantee for us that minor
dependency updates are actually minor updates for the dependent
application itself. The Chart version might be minor - and therefore
automatically merged when build is green - but the used Docker image
inside the Chart could still be a major version change.

To effectively prevent such automerge when the application major version
changes, there is now a test file that has the currently used major
versions hard-coded. In case of an actual major bump, this file has to
be adjusted.

Looking at `redis-cluster`, there might be several major Chart versions
with the same major application version.

This PR is related to #409 but does not fully resolve it.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/571
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
2023-11-27 18:36:47 +00:00
justusbunsi
34c1212939 Use helm dependency build in release build (#563)
Using `helm dependency update` may result in unwillingly updating the
dependencies while cutting a release. I wasn't able to do so. Most
likely due to the dependency pinning in Chart.yaml and Chart.lock.

Based on Helm documentation, `update` uses Chart.yaml[^1] while `build`
uses Chart.lock[^2].
All in all it is safer to use `helm dependency build`. :D

[^1]: https://helm.sh/docs/helm/helm_dependency_update/
[^2]: https://helm.sh/docs/helm/helm_dependency_build/

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/563
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
2023-11-27 18:35:42 +00:00
Michael Kriese
53457384ab feat(deps): update forgejo docker tag to v1.21.1-0 (#219)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/219
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-11-27 08:53:46 +00:00
Michael Kriese
594f7ccb54 fix(deps): update helm release postgresql to v13.2.18 2023-11-27 00:09:22 +00:00
Renovate Bot
5c4bcaa1e3 chore(config): migrate renovate config (#575)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-25 04:10:18 +00:00
Michael Kriese
d75d3f0acc fix(deps): update helm release postgresql to v13.2.16 2023-11-24 00:08:10 +00:00
Michael Kriese
5617db8d75 fix(deps): update helm release postgresql to v13.2.15 2023-11-23 00:08:23 +00:00
Michael Kriese
9701e915bf fix(deps): update helm release memcached to v6.7.1 2023-11-22 00:08:19 +00:00
Michael Kriese
b9f2d84359 fix(deps): update helm release postgresql to v13.2.14 (#212)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/212
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-11-21 08:29:03 +00:00
Michael Kriese
ba218804d5 fix(deps): update helm release memcached to v6.7.0 (#215)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/215
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-11-21 08:18:41 +00:00
pat-s
f7d661ee3a
fix release workflow 2023-11-16 22:07:25 +01:00
justusbunsi
6c0699e86e Switch imagePullPolicy to "IfNotPresent" (#568)
### Benefits

Less image pulls.

### Additional information

committed via GUI - so no signature on first commit.

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/568
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-11-16 21:00:39 +00:00
pat-s
d52ead0be7 Renovate: run tests on branches, group deps and adjust schedule to weekends (#556)
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/556
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-16 20:45:10 +00:00
pat-s
ead62a0dbc Bump to 1.21.0 (#566)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/566
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-16 20:42:17 +00:00
pat-s
7eea1acf05 chore: reduce redis-cluster pods and move HA out of "experimental" state (#565)
The pod reduction for `redis-cluster` should help users seeking for a Gitea deployment with less pods. Users seeking for a minimal deployment are further advised to follow https://gitea.com/gitea/helm-chart#user-content-single-pod-configurations.

HA is working fine in the provided configuration and should be moved out of the "experimental" state given that there were no reports of Gitea malfunctioning reported to HA usage in recent months/since v9 release.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/565
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-16 10:14:34 +00:00
pat-s
dcf1891edd Publish chart on Dockerhub (#525)
As title.

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/525
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
2023-11-14 23:27:27 +00:00