Compare commits

...

3 Commits

Author SHA1 Message Date
0bbab9c8a0 update chart and release configs
All checks were successful
generate-chart / generate-chart-publish (push) Successful in 36s
changelog / changelog (push) Successful in 9s
check-and-test / check-and-test (push) Successful in 49s
generate-chart / release-gitea (push) Successful in 9s
2026-01-12 14:47:05 -05:00
ff0ca37fe6 Merge pull request 'chore(deps): update lockfiles' (#1) from renovate/lock-file-maintenance into main
Some checks failed
changelog / changelog (push) Successful in 17s
check-and-test / check-and-test (push) Successful in 49s
generate-chart / generate-chart-publish (push) Failing after 1m46s
generate-chart / release-gitea (push) Has been skipped
Reviewed-on: #1
2026-01-12 00:16:04 +00:00
33cdb3d29f chore(deps): update lockfiles
All checks were successful
commitlint / check-and-test (pull_request) Successful in 19s
check-and-test / check-and-test (pull_request) Successful in 49s
2026-01-12 00:14:37 +00:00
3 changed files with 20 additions and 40 deletions

View File

@@ -16,7 +16,7 @@ jobs:
- name: Install packages via apt - name: Install packages via apt
run: | run: |
apt update --yes apt update --yes
apt install --yes curl ca-certificates curl gnupg jq apt install --yes curl ca-certificates curl gnupg jq s3cmd
- name: Install helm - name: Install helm
env: env:
@@ -46,18 +46,13 @@ jobs:
apt update --yes apt update --yes
apt install --yes python3 python3-pip apt-transport-https docker-ce-cli apt install --yes python3 python3-pip apt-transport-https docker-ce-cli
- name: Install awscli
run: |
pip install awscli --break-system-packages
aws --version
- name: Import GPG key - name: Import GPG key
id: import_gpg id: import_gpg
uses: https://github.com/crazy-max/ghaction-import-gpg@v6 uses: https://github.com/crazy-max/ghaction-import-gpg@v6
with: with:
gpg_private_key: ${{ secrets.GPGSIGN_KEY }} gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }} passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0 fingerprint: CCCDAD206FCE593128D2C7A22781E520334944DD
- name: Add Artifacthub.io annotations - name: Add Artifacthub.io annotations
run: | run: |
@@ -71,30 +66,26 @@ jobs:
# Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843 # Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843
- name: package chart - name: package chart
run: | run: |
echo ${{ secrets.DOCKER_CHARTS_PASSWORD }} | docker login -u ${{ secrets.DOCKER_CHARTS_USERNAME }} --password-stdin
# FIXME: use upstream after https://github.com/technosophos/helm-gpg/issues/1 is solved # FIXME: use upstream after https://github.com/technosophos/helm-gpg/issues/1 is solved
helm plugin install https://github.com/pat-s/helm-gpg helm plugin install https://github.com/pat-s/helm-gpg
helm dependency build helm dependency build
helm package --version "${GITHUB_REF#refs/tags/v}" ./ helm package --version "${GITHUB_REF#refs/tags/v}" ./
mkdir gitea mkdir gitea
mv gitea*.tgz gitea/ mv gitea*.tgz gitea/
curl --fail --location --output gitea/index.yaml --silent --show-error https://dl.gitea.com/charts/index.yaml curl --fail --location --output gitea/index.yaml --silent --show-error https://weyma-s3.infra.dubyatp.xyz/helm-bucket-ea34bc44-ef19-480d-a16a-1e583991f123/charts/index.yaml
helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml helm repo index gitea/ --url https://weyma-s3.infra.dubyatp.xyz/helm-bucket-ea34bc44-ef19-480d-a16a-1e583991f123/charts/index.yaml --merge gitea/index.yaml
# push to dockerhub
echo ${{ secrets.DOCKER_CHARTS_PASSWORD }} | helm registry login -u ${{ secrets.DOCKER_CHARTS_USERNAME }} registry-1.docker.io --password-stdin
helm push gitea/gitea-${GITHUB_REF#refs/tags/v}.tgz oci://registry-1.docker.io/giteacharts
helm registry logout registry-1.docker.io
- name: aws credential configure
uses: https://github.com/aws-actions/configure-aws-credentials@v5
with:
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Copy files to S3 and clear cache - name: Copy files to S3 and clear cache
run: | run: |
aws s3 sync gitea/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/ cat > /root/.s3cfg << EOF
[default]
access_key = ${{ secrets.S3_ACCESS_KEY }}
secret_key = ${{ secrets.S3_SECRET_KEY }}
host_base = weyma-s3.infra.dubyatp.xyz
host_bucket = weyma-s3.infra.dubyatp.xyz
use_https = True
EOF
s3cmd sync --recursive --acl-public gitea/ s3://${{ secrets.AWS_S3_BUCKET}}/charts/
release-gitea: release-gitea:
needs: generate-chart-publish needs: generate-chart-publish

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: gitea name: gitea
description: Gitea Helm chart for Kubernetes description: (Unofficial) Gitea Helm chart for Kubernetes
type: application type: application
version: 0.0.0 version: 0.0.0
# renovate datasource=github-releases depName=go-gitea/gitea extractVersion=^v(?<version>.*)$ # renovate datasource=github-releases depName=go-gitea/gitea extractVersion=^v(?<version>.*)$
@@ -10,7 +10,7 @@ icon: https://gitea.com/assets/img/logo.svg
annotations: annotations:
artifacthub.io/links: | artifacthub.io/links: |
- name: support - name: support
url: https://gitea.com/gitea/helm-gitea/issues url: https://git.dubyatp.xyz/williamp/helm-gitea/issues
keywords: keywords:
- git - git
@@ -26,19 +26,8 @@ sources:
- https://docker.gitea.com/gitea - https://docker.gitea.com/gitea
maintainers: maintainers:
# https://gitea.com/rossigee - name: William Peebles
- name: Ross Golder email: me@williamtpeebles.com
email: ross@golder.org
# https://gitea.com/volker.raschek
- name: Markus Pesch
email: markus.pesch+apps@cryptic.systems
# https://gitea.com/DaanSelen
- name: Daan Selen
email: dselen@nerthus.nl
# https://gitea.com/ChristopherHX
- name: Christopher Homberger
email: christopher.homberger@web.de
dependencies: dependencies:
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql # https://github.com/bitnami/charts/blob/main/bitnami/postgresql
- name: postgresql - name: postgresql

6
package-lock.json generated
View File

@@ -66,9 +66,9 @@
} }
}, },
"node_modules/@types/katex": { "node_modules/@types/katex": {
"version": "0.16.7", "version": "0.16.8",
"resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.7.tgz", "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz",
"integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==", "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },