From 5dfdf2a315f7e45ed91d7e56a41aff6f11baa6a9 Mon Sep 17 00:00:00 2001 From: XiaoXiaoSN Date: Thu, 25 Jan 2024 18:48:11 +0800 Subject: [PATCH 1/2] fix: persistently save SQLite database --- charts/baget/Chart.yaml | 2 +- charts/baget/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/baget/Chart.yaml b/charts/baget/Chart.yaml index f0a55265..bbea6eab 100644 --- a/charts/baget/Chart.yaml +++ b/charts/baget/Chart.yaml @@ -10,4 +10,4 @@ name: baget sources: - https://github.com/loic-sharma/BaGet - https://hub.docker.com/r/loicsharma/baget -version: "1.0.5" +version: "1.0.6" diff --git a/charts/baget/templates/deployment.yaml b/charts/baget/templates/deployment.yaml index b8127b03..cda782df 100644 --- a/charts/baget/templates/deployment.yaml +++ b/charts/baget/templates/deployment.yaml @@ -64,7 +64,7 @@ spec: {{- end }} {{- if eq .Values.database.type "Sqlite" .}} - name: Database__ConnectionString - value: "Data Source=baget.db" + value: "Data Source=/app/packages/baget.db" {{- end }} livenessProbe: httpGet: From 40cc4d1f108e79977753d0e389f2e60ac2f9431a Mon Sep 17 00:00:00 2001 From: XiaoXiaoSN Date: Tue, 6 Feb 2024 17:03:12 +0800 Subject: [PATCH 2/2] ci(actions): skip existing release --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38be4de1..016b76e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,11 +23,13 @@ jobs: uses: azure/setup-helm@v3 with: version: v3.8.1 - + - name: Add Helm repos run: helm repo add bitnami https://charts.bitnami.com/bitnami - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.5.0 + uses: helm/chart-releaser-action@v1.6.0 env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: + skip_existing: true