6 Commits

6 changed files with 39 additions and 32 deletions

View File

@@ -6,7 +6,7 @@ on:
jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
CHART_DIR: bookstack/
CHART_VERSION: ${{ github.event.release.tag_name }}
@@ -31,12 +31,7 @@ jobs:
passphrase: ${{ secrets.GPG_PASSPHRASE }}
trust_level: 5
- name: Show keys in runner
run: |
echo "🔑 Keys inside CI:"
gpg --list-secret-keys --keyid-format LONG
# 4) “Generation1”SecretRing für Helm erzeugen (TMP, 600Rechte)
# 3) "Generation-1"-Secret-Ring für Helm erzeugen (TMP, 600 Rechte)
- name: Build legacy secret-keyring
run: |
set -euo pipefail
@@ -49,7 +44,7 @@ jobs:
echo "$PASSPHRASE" > /tmp/gpgring/passphrase.txt
chmod 600 /tmp/gpgring/passphrase.txt
# 5) Chart bauen & signieren
# 4) Chart bauen & signieren
- name: Package & sign chart
run: |
cp README.md "$CHART_DIR"/
@@ -61,7 +56,7 @@ jobs:
--keyring /tmp/gpgring/secring.gpg \
--passphrase-file /tmp/gpgring/passphrase.txt
# 6) In dein internes ChartRepo hochladen
# 5) In dein internes Chart-Repo hochladen
- name: Upload to ChartMuseum
env:
REPO_CREDENTIALS: ${{ secrets.REPO_CREDENTIALS }}
@@ -71,7 +66,7 @@ jobs:
-F "prov=@bookstack-$CHART_VERSION.tgz.prov" \
https://charts.morlana.net/api/charts
# 7) PublicKey aus Repo beilegen und als ReleaseAsset anhängen
# 6) Public-Key aus Repo beilegen und als Release-Asset anhängen
- name: Attach release assets
uses: softprops/action-gh-release@v2
with:
@@ -81,7 +76,7 @@ jobs:
bookstack-${{ env.CHART_VERSION }}.tgz.prov
pubkeys/morlana.asc
# 8) Aufräumen (optional, Runner ist ohnehin kurzlebig)
# 7) Aufräumen (optional, Runner ist ohnehin kurzlebig)
- name: Cleanup sensitive files
if: ${{ always() }}
run: rm -rf /tmp/gpgring

9
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,9 @@
{
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": false,
"scminput": false,
"yaml": true
}
}

View File

@@ -1,6 +1,15 @@
# Changelog
## 0.1.0+up25.5.0 - 2025-06-12
- **Changed** ✦ Packages upstream BookStack v25.5.0
- [Release Notes](https://github.com/solidnerd/docker-bookstack/releases/tag/25.5.0)
- [Project homepage](https://www.bookstackapp.com/)
## 0.1.0+up25.2.3 2025-05-08
- **Added** Initial Helm chart for BookStack. ✦ Packages upstream BookStack v25.2.3 [Project homepage](https://www.bookstackapp.com/)
- **Added** Initial Helm chart for BookStack.
- ✦ Packages upstream BookStack v25.2.3
- [Project homepage](https://www.bookstackapp.com/)
- **Added** ✦ Ingress, persistence, TLS and SMTP settings readymade
- **Added** ✦ Includes optional MariaDB and Redis subcharts [MariaDB subchart](https://artifacthub.io/packages/helm/bitnami/mariadb) [Redis subchart](https://artifacthub.io/packages/helm/bitnami/redis)
- **Added** ✦ Includes optional MariaDB and Redis subcharts
- [MariaDB subchart](https://artifacthub.io/packages/helm/bitnami/mariadb)
- [Redis subchart](https://artifacthub.io/packages/helm/bitnami/redis)

View File

@@ -1,6 +1,6 @@
# BookStack Helm Chart
Deploys the BookStack wiki platform on Kubernetes with optional MariaDB and Redis subcharts.
Deploys the BookStack wiki platform on Kubernetes with optional MariaDB and Redis sub-charts.
---

View File

@@ -1,12 +1,13 @@
apiVersion: v2
name: bookstack
description: A Helm chart for Kubernetes
description: |
Deploys the BookStack wiki platform on Kubernetes with optional MariaDB and Redis sub-charts.
type: application
version: "0.1.0+up25.2.3"
version: "0.1.0+up25.5.0"
appVersion: "25.2.3"
appVersion: "25.5.0"
dependencies:
- name: mariadb
@@ -32,20 +33,13 @@ annotations:
- name: Florian Weber
email: kosmos@morlana.net
artifacthub.io/signKey: |
fingerprint: BCE21EEA25DE14B418196DA1FF6F7246FAA99C30
fingerprint: 8975 6E20 1E4C 99B1 A2E9 5712 DF7D F259 CD8F CAAA
url: https://raw.githubusercontent.com/flweber/helm-bookstack/refs/heads/main/pubkeys/morlana.asc
artifacthub.io/changes: |
- kind: added
description: Initial Helm chart for BookStack. ✦ Packages upstream BookStack v25.2.3
- kind: changed
description: ✦ Packages upstream BookStack v25.5.0
links:
- name: Release Notes
url: https://github.com/solidnerd/docker-bookstack/releases/tag/25.5.0
- name: Project homepage
url: https://www.bookstackapp.com/
- kind: added
description: ✦ Ingress, persistence, TLS and SMTP settings readymade
- kind: added
description: ✦ Includes optional MariaDB and Redis subcharts
links:
- name: MariaDB subchart
url: https://artifacthub.io/packages/helm/bitnami/mariadb
- name: Redis subchart
url: https://artifacthub.io/packages/helm/bitnami/redis

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""
generate_changelog.py Wandelt den ArtifactHubChangelog in Chart.yaml
in eine MarkdownDatei (CHANGELOG.md) um.
generate_changelog.py - Wandelt den Artifact Hub-Changelog in Chart.yaml
in eine Markdown-Datei (CHANGELOG.md) um.
Aufruf:
python generate_changelog.py # takes ./Chart.yaml
@@ -42,7 +42,7 @@ def render_markdown(chart: dict, changes: list[dict]) -> str:
version = chart.get("version", "Unversioniert")
today = dt.date.today().isoformat()
heading = f"## {version} {today}\n"
heading = f"## {version} - {today}\n"
bullets = []
for item in changes: