Commit graph

660 commits

Author SHA1 Message Date
Michael Kriese
07fe95bc00
ci: testing 2023-12-07 14:39:53 +01:00
Michael Kriese
59e114acd0
ci: testing 2023-12-07 14:38:39 +01:00
Michael Kriese
15ff8f9d1a
ci: fix and split 2023-12-07 14:28:37 +01:00
Michael Kriese
5dfeda6e9e
ci: create cache 2023-12-07 14:14:51 +01:00
Michael Kriese
230e442e91
ci: testing 2023-12-07 13:24:10 +01:00
Michael Kriese
0d0a67a449
ci: update 2023-12-07 13:16:33 +01:00
Michael Kriese
602aed7690
ci: remove woodpecker 2023-12-07 12:24:19 +01:00
Michael Kriese
db93cf6145
ci: more fixes 2023-12-07 12:23:44 +01:00
Michael Kriese
7cfcffb23e
ci: fix 2023-12-07 12:13:09 +01:00
Michael Kriese
0be7ca9089
ci: update 2023-12-07 12:08:36 +01:00
Michael Kriese
0a14dfafd0
ci: fix 2023-12-07 11:46:52 +01:00
Michael Kriese
90b950de61
ci: fix 2023-12-07 11:44:03 +01:00
Michael Kriese
2e7f1554e6
ci: update 2023-12-07 11:41:09 +01:00
Michael Kriese
9f44b4f323
ci: update 2023-12-07 11:20:37 +01:00
Michael Kriese
6c4ff1fd5f
ci: update 2023-12-07 11:05:32 +01:00
Michael Kriese
b42203ca02
ci: update 2023-12-07 10:25:17 +01:00
Michael Kriese
d708ade428
ci: more testing 2023-12-07 10:16:57 +01:00
Michael Kriese
83ea1c643d
ci: more testing 2023-12-07 10:07:36 +01:00
Michael Kriese
9cefead429
ci: use node image 2023-12-07 09:58:12 +01:00
Michael Kriese
b5f5fe0725
ci: switch to actions 2023-12-07 09:44:11 +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