Compare commits

..

No commits in common. "v12.0.0" and "main" have entirely different histories.

9 changed files with 55 additions and 29 deletions

View file

@ -10,7 +10,7 @@ runs:
with: with:
standalone: true standalone: true
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 - uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with: with:
node-version-file: .node-version node-version-file: .node-version
cache: 'pnpm' cache: 'pnpm'

View file

@ -14,8 +14,8 @@ permissions:
contents: read contents: read
env: env:
HELM_VERSION: v3.17.3 # renovate: datasource=github-releases depName=helm packageName=helm/helm HELM_VERSION: v3.17.2 # renovate: datasource=github-releases depName=helm packageName=helm/helm
HELM_UNITTEST_VERSION: v0.8.1 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest HELM_UNITTEST_VERSION: v0.7.2 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest
HELM_CHART_TESTING_VERSION: v3.12.0 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing HELM_CHART_TESTING_VERSION: v3.12.0 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing
KUBECTL_VERSION: v1.32.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes KUBECTL_VERSION: v1.32.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
CT_GITHUB_GROUPS: true CT_GITHUB_GROUPS: true
@ -94,9 +94,9 @@ jobs:
- v1.28.15+k3s1 # renovate: k3s - v1.28.15+k3s1 # renovate: k3s
# https://github.com/k3s-io/k3s/blob/master/channel.yaml#L3-L4 # https://github.com/k3s-io/k3s/blob/master/channel.yaml#L3-L4
# stable version # stable version
- v1.31.7+k3s1 # renovate: k3s - v1.31.6+k3s1 # renovate: k3s
# newest version # newest version
- v1.32.3+k3s1 # renovate: k3s - v1.32.2+k3s1 # renovate: k3s
steps: steps:
- run: cat /etc/os-release - run: cat /etc/os-release
@ -189,6 +189,7 @@ jobs:
- name: login to registries - name: login to registries
run: | run: |
echo ${CODEBERG_TOKEN} | helm registry login -u viceice --password-stdin codeberg.org/forgejo-contrib echo ${CODEBERG_TOKEN} | helm registry login -u viceice --password-stdin codeberg.org/forgejo-contrib
echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-contrib
echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-helm echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-helm
env: env:
CODEBERG_TOKEN: ${{secrets.API_TOKEN}} CODEBERG_TOKEN: ${{secrets.API_TOKEN}}
@ -197,6 +198,7 @@ jobs:
- name: publish forgejo helm chart - name: publish forgejo helm chart
run: | run: |
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://codeberg.org/forgejo-contrib helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://codeberg.org/forgejo-contrib
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-contrib
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-helm helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-helm
- name: publish forgejo release - name: publish forgejo release

View file

@ -4,7 +4,7 @@
".github/workflows/*", ".github/workflows/*",
".forgejo/workflows/*" ".forgejo/workflows/*"
], ],
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v0.8.1/schema/helm-testsuite.json": [ "https://raw.githubusercontent.com/helm-unittest/helm-unittest/v0.7.2/schema/helm-testsuite.json": [
"/unittests/**/*.yaml" "/unittests/**/*.yaml"
] ]
}, },

View file

@ -4,15 +4,15 @@ dependencies:
version: 2.30.0 version: 2.30.0
- name: postgresql - name: postgresql
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 16.6.3 version: 16.5.6
- name: postgresql-ha - name: postgresql-ha
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 15.3.12 version: 15.3.8
- name: redis-cluster - name: redis-cluster
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 11.5.0 version: 11.4.6
- name: redis - name: redis
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 20.11.5 version: 20.11.4
digest: sha256:ed2dcbb769529ce01be7bbc98e1f58ed30ee6572d6dd3683f6c8f490ace776c7 digest: sha256:a9c9f0779663336dd22ca4896f22bb64427e28f20aa567aee2f18474f8e31a23
generated: "2025-04-14T00:00:47.95599756Z" generated: "2025-03-26T15:31:33.532188569Z"

View file

@ -3,7 +3,7 @@ name: forgejo
description: Forgejo Helm chart for Kubernetes description: Forgejo Helm chart for Kubernetes
type: application type: application
version: 0.0.0 version: 0.0.0
appVersion: 11.0.0 appVersion: 10.0.3
icon: https://code.forgejo.org/forgejo/forgejo/raw/branch/forgejo/assets/logo.svg icon: https://code.forgejo.org/forgejo/forgejo/raw/branch/forgejo/assets/logo.svg
home: https://forgejo.org/ home: https://forgejo.org/
@ -37,20 +37,20 @@ dependencies:
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml # https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml
- name: postgresql - name: postgresql
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 16.6.3 version: 16.5.6
condition: postgresql.enabled condition: postgresql.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/Chart.yaml # https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/Chart.yaml
- name: postgresql-ha - name: postgresql-ha
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 15.3.12 version: 15.3.8
condition: postgresql-ha.enabled condition: postgresql-ha.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/redis-cluster/Chart.yaml # https://github.com/bitnami/charts/blob/main/bitnami/redis-cluster/Chart.yaml
- name: redis-cluster - name: redis-cluster
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 11.5.0 version: 11.4.6
condition: redis-cluster.enabled condition: redis-cluster.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/redis/Chart.yaml # https://github.com/bitnami/charts/blob/main/bitnami/redis/Chart.yaml
- name: redis - name: redis
repository: oci://ghcr.io/visualon/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 20.11.5 version: 20.11.4
condition: redis.enabled condition: redis.enabled

View file

@ -1218,11 +1218,6 @@ This section lists major and breaking changes of each Helm Chart version.
Please read them carefully to upgrade successfully, especially the change of the **default database backend**! Please read them carefully to upgrade successfully, especially the change of the **default database backend**!
If you miss this, blindly upgrading may delete your Postgres instance and you may lose your data! If you miss this, blindly upgrading may delete your Postgres instance and you may lose your data!
### To v12
You need Forgejo v11+ to use this Helm Chart version.
Forgejo v10 is now EOL.
### To v11 ### To v11
PostgreSQL and PostgreSQL HA are now using PostgreSQL v17. PostgreSQL and PostgreSQL HA are now using PostgreSQL v17.

29
ci/v10-values.yaml Normal file
View file

@ -0,0 +1,29 @@
image:
registry: codeberg.org
repository: forgejo-experimental/forgejo
tag: 10 # don't pin, manifests can be missing
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
test:
image:
name: code.forgejo.org/oci/busybox
redis-cluster:
enabled: false
postgresql-ha:
enabled: false
persistence:
enabled: false
gitea:
config:
database:
DB_TYPE: sqlite3
session:
PROVIDER: memory
cache:
ADAPTER: memory
queue:
TYPE: level

View file

@ -19,11 +19,11 @@
"conventional-changelog-conventionalcommits": "8.0.0", "conventional-changelog-conventionalcommits": "8.0.0",
"conventional-changelog-core": "9.0.0", "conventional-changelog-core": "9.0.0",
"husky": "9.1.7", "husky": "9.1.7",
"lint-staged": "15.5.1", "lint-staged": "15.5.0",
"markdownlint-cli": "0.44.0", "markdownlint-cli": "0.44.0",
"prettier": "3.5.3" "prettier": "3.5.3"
}, },
"packageManager": "pnpm@10.8.1", "packageManager": "pnpm@10.7.0",
"engines": { "engines": {
"node": "^22.0.0", "node": "^22.0.0",
"pnpm": "^10.0.0" "pnpm": "^10.0.0"

View file

@ -24,8 +24,8 @@ importers:
specifier: 9.1.7 specifier: 9.1.7
version: 9.1.7 version: 9.1.7
lint-staged: lint-staged:
specifier: 15.5.1 specifier: 15.5.0
version: 15.5.1 version: 15.5.0
markdownlint-cli: markdownlint-cli:
specifier: 0.44.0 specifier: 0.44.0
version: 0.44.0 version: 0.44.0
@ -399,8 +399,8 @@ packages:
linkify-it@5.0.0: linkify-it@5.0.0:
resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==}
lint-staged@15.5.1: lint-staged@15.5.0:
resolution: {integrity: sha512-6m7u8mue4Xn6wK6gZvSCQwBvMBR36xfY24nF5bMTf2MHDYG6S3yhJuOgdYVw99hsjyDt2d4z168b3naI8+NWtQ==} resolution: {integrity: sha512-WyCzSbfYGhK7cU+UuDDkzUiytbfbi0ZdPy2orwtM75P3WTtQBzmG40cCxIa8Ii2+XjfxzLH6Be46tUfWS85Xfg==}
engines: {node: '>=18.12.0'} engines: {node: '>=18.12.0'}
hasBin: true hasBin: true
@ -1103,7 +1103,7 @@ snapshots:
dependencies: dependencies:
uc.micro: 2.1.0 uc.micro: 2.1.0
lint-staged@15.5.1: lint-staged@15.5.0:
dependencies: dependencies:
chalk: 5.4.1 chalk: 5.4.1
commander: 13.1.0 commander: 13.1.0