diff --git a/.forgejo/actions/setup-node/action.yml b/.forgejo/actions/setup-node/action.yml index 9794bba..5ab39be 100644 --- a/.forgejo/actions/setup-node/action.yml +++ b/.forgejo/actions/setup-node/action.yml @@ -10,7 +10,7 @@ runs: with: standalone: true - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: node-version-file: .node-version cache: 'pnpm' diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 5c9af41..5418491 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -14,8 +14,8 @@ permissions: contents: read env: - HELM_VERSION: v3.17.3 # 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_VERSION: v3.17.2 # renovate: datasource=github-releases depName=helm packageName=helm/helm + 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 KUBECTL_VERSION: v1.32.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes CT_GITHUB_GROUPS: true @@ -94,9 +94,9 @@ jobs: - v1.28.15+k3s1 # renovate: k3s # https://github.com/k3s-io/k3s/blob/master/channel.yaml#L3-L4 # stable version - - v1.31.7+k3s1 # renovate: k3s + - v1.31.6+k3s1 # renovate: k3s # newest version - - v1.32.3+k3s1 # renovate: k3s + - v1.32.2+k3s1 # renovate: k3s steps: - run: cat /etc/os-release @@ -189,6 +189,7 @@ jobs: - name: login to registries run: | 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 env: CODEBERG_TOKEN: ${{secrets.API_TOKEN}} @@ -197,6 +198,7 @@ jobs: - name: publish forgejo helm chart 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://code.forgejo.org/forgejo-contrib helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-helm - name: publish forgejo release diff --git a/.vscode/settings.json b/.vscode/settings.json index 3cdb257..da15f96 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,7 +4,7 @@ ".github/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" ] }, diff --git a/Chart.lock b/Chart.lock index b2f2098..bff1098 100644 --- a/Chart.lock +++ b/Chart.lock @@ -4,15 +4,15 @@ dependencies: version: 2.30.0 - name: postgresql repository: oci://ghcr.io/visualon/bitnamicharts - version: 16.6.3 + version: 16.5.6 - name: postgresql-ha repository: oci://ghcr.io/visualon/bitnamicharts - version: 15.3.12 + version: 15.3.8 - name: redis-cluster repository: oci://ghcr.io/visualon/bitnamicharts - version: 11.5.0 + version: 11.4.6 - name: redis repository: oci://ghcr.io/visualon/bitnamicharts - version: 20.11.5 -digest: sha256:ed2dcbb769529ce01be7bbc98e1f58ed30ee6572d6dd3683f6c8f490ace776c7 -generated: "2025-04-14T00:00:47.95599756Z" + version: 20.11.4 +digest: sha256:a9c9f0779663336dd22ca4896f22bb64427e28f20aa567aee2f18474f8e31a23 +generated: "2025-03-26T15:31:33.532188569Z" diff --git a/Chart.yaml b/Chart.yaml index cf6fb7a..8218677 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,7 @@ name: forgejo description: Forgejo Helm chart for Kubernetes type: application 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 home: https://forgejo.org/ @@ -37,20 +37,20 @@ dependencies: # https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml - name: postgresql repository: oci://ghcr.io/visualon/bitnamicharts - version: 16.6.3 + version: 16.5.6 condition: postgresql.enabled # https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/Chart.yaml - name: postgresql-ha repository: oci://ghcr.io/visualon/bitnamicharts - version: 15.3.12 + version: 15.3.8 condition: postgresql-ha.enabled # https://github.com/bitnami/charts/blob/main/bitnami/redis-cluster/Chart.yaml - name: redis-cluster repository: oci://ghcr.io/visualon/bitnamicharts - version: 11.5.0 + version: 11.4.6 condition: redis-cluster.enabled # https://github.com/bitnami/charts/blob/main/bitnami/redis/Chart.yaml - name: redis repository: oci://ghcr.io/visualon/bitnamicharts - version: 20.11.5 + version: 20.11.4 condition: redis.enabled diff --git a/README.md b/README.md index 0769442..8a448fa 100644 --- a/README.md +++ b/README.md @@ -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**! 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 PostgreSQL and PostgreSQL HA are now using PostgreSQL v17. diff --git a/ci/v10-values.yaml b/ci/v10-values.yaml new file mode 100644 index 0000000..253b35b --- /dev/null +++ b/ci/v10-values.yaml @@ -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 diff --git a/package.json b/package.json index ed254e8..d4cccfc 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,11 @@ "conventional-changelog-conventionalcommits": "8.0.0", "conventional-changelog-core": "9.0.0", "husky": "9.1.7", - "lint-staged": "15.5.1", + "lint-staged": "15.5.0", "markdownlint-cli": "0.44.0", "prettier": "3.5.3" }, - "packageManager": "pnpm@10.8.1", + "packageManager": "pnpm@10.7.0", "engines": { "node": "^22.0.0", "pnpm": "^10.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e89d8b2..387c3dc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ importers: specifier: 9.1.7 version: 9.1.7 lint-staged: - specifier: 15.5.1 - version: 15.5.1 + specifier: 15.5.0 + version: 15.5.0 markdownlint-cli: specifier: 0.44.0 version: 0.44.0 @@ -399,8 +399,8 @@ packages: linkify-it@5.0.0: resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} - lint-staged@15.5.1: - resolution: {integrity: sha512-6m7u8mue4Xn6wK6gZvSCQwBvMBR36xfY24nF5bMTf2MHDYG6S3yhJuOgdYVw99hsjyDt2d4z168b3naI8+NWtQ==} + lint-staged@15.5.0: + resolution: {integrity: sha512-WyCzSbfYGhK7cU+UuDDkzUiytbfbi0ZdPy2orwtM75P3WTtQBzmG40cCxIa8Ii2+XjfxzLH6Be46tUfWS85Xfg==} engines: {node: '>=18.12.0'} hasBin: true @@ -1103,7 +1103,7 @@ snapshots: dependencies: uc.micro: 2.1.0 - lint-staged@15.5.1: + lint-staged@15.5.0: dependencies: chalk: 5.4.1 commander: 13.1.0