From f93611e85829486ad5199ff8d36d4ca6177eaa74 Mon Sep 17 00:00:00 2001 From: Pyrofab Date: Tue, 25 Jun 2024 22:16:41 +0200 Subject: [PATCH] Fix backup jobs (#8) * Fix backup jobs * Update lock files --- charts/cozy/Chart.lock | 6 +++--- charts/cozy/Chart.yaml | 4 ++-- charts/forum/Chart.lock | 6 +++--- charts/forum/Chart.yaml | 4 ++-- charts/modmail/Chart.lock | 6 +++--- charts/modmail/Chart.yaml | 4 ++-- charts/mongodb-s3-backup/Chart.yaml | 2 +- charts/mongodb-s3-backup/templates/cronjob.yaml | 2 +- charts/mongodb-s3-backup/values.yaml | 2 +- charts/postgresql-s3-backup/Chart.yaml | 2 +- charts/postgresql-s3-backup/templates/cronjob.yaml | 2 +- charts/postgresql-s3-backup/values.yaml | 2 +- charts/stats/Chart.lock | 6 +++--- charts/stats/Chart.yaml | 4 ++-- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/charts/cozy/Chart.lock b/charts/cozy/Chart.lock index 7dc8da8..5477757 100644 --- a/charts/cozy/Chart.lock +++ b/charts/cozy/Chart.lock @@ -4,6 +4,6 @@ dependencies: version: 13.16.2 - name: mongodb-s3-backup repository: file://../mongodb-s3-backup - version: 1.1.0 -digest: sha256:536a9fcebdaf9a4fdb28df8a89661e588ba135d99f2beefd44d61818eb12bcc4 -generated: "2024-06-04T01:57:58.435558+02:00" + version: 1.1.1 +digest: sha256:961d762246ae6a01725e8fada02f3955c14d124def7d7a2d966517cca3c3b217 +generated: "2024-06-25T22:06:57.265208+02:00" diff --git a/charts/cozy/Chart.yaml b/charts/cozy/Chart.yaml index e3abdb1..09e09bb 100644 --- a/charts/cozy/Chart.yaml +++ b/charts/cozy/Chart.yaml @@ -4,7 +4,7 @@ name: quilt-cozy # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.7 +version: 1.1.8 # This is the version number of the application being deployed (purely informational). appVersion: '1' description: helm chart to deploy the Quilt Cozy Discord bot @@ -21,5 +21,5 @@ dependencies: version: 13.16.2 repository: https://charts.bitnami.com/bitnami - name: mongodb-s3-backup - version: 1.1.0 + version: 1.1.1 repository: 'file://../mongodb-s3-backup' diff --git a/charts/forum/Chart.lock b/charts/forum/Chart.lock index 0de6e7e..ca43688 100644 --- a/charts/forum/Chart.lock +++ b/charts/forum/Chart.lock @@ -10,6 +10,6 @@ dependencies: version: 17.17.1 - name: postgresql-s3-backup repository: file://../postgresql-s3-backup - version: 1.1.0 -digest: sha256:7f5d43b804bb907131faba017d1455d5a0346de02450d8c604c2e14c44c16b11 -generated: "2024-06-04T01:58:08.795081+02:00" + version: 1.1.1 +digest: sha256:a9e5cd5c7f7b9835f3373d7133bb9c5c1acecb6ce5cf2f7c749b9f6626a83364 +generated: "2024-06-25T22:07:17.965135+02:00" diff --git a/charts/forum/Chart.yaml b/charts/forum/Chart.yaml index 1d66975..565ba25 100644 --- a/charts/forum/Chart.yaml +++ b/charts/forum/Chart.yaml @@ -4,7 +4,7 @@ name: quilt-forum # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.3 +version: 0.2.4 # This is the version number of the Discourse image being deployed (purely informational). appVersion: '3.2.1' description: helm chart to deploy the Quilt Discourse Forum @@ -27,5 +27,5 @@ dependencies: repository: https://charts.bitnami.com/bitnami version: 17.X.X - name: postgresql-s3-backup - version: 1.1.0 + version: 1.1.1 repository: 'file://../postgresql-s3-backup' diff --git a/charts/modmail/Chart.lock b/charts/modmail/Chart.lock index a156eff..a625f19 100644 --- a/charts/modmail/Chart.lock +++ b/charts/modmail/Chart.lock @@ -4,6 +4,6 @@ dependencies: version: 13.16.2 - name: mongodb-s3-backup repository: file://../mongodb-s3-backup - version: 1.1.0 -digest: sha256:536a9fcebdaf9a4fdb28df8a89661e588ba135d99f2beefd44d61818eb12bcc4 -generated: "2024-06-04T01:58:20.617544+02:00" + version: 1.1.1 +digest: sha256:961d762246ae6a01725e8fada02f3955c14d124def7d7a2d966517cca3c3b217 +generated: "2024-06-25T22:07:32.933608+02:00" diff --git a/charts/modmail/Chart.yaml b/charts/modmail/Chart.yaml index 95eded6..d8f3702 100644 --- a/charts/modmail/Chart.yaml +++ b/charts/modmail/Chart.yaml @@ -4,7 +4,7 @@ name: quilt-modmail # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.6 +version: 1.1.7 # This is the version number of the application being deployed (purely informational). appVersion: '1' description: helm chart to deploy Quilt's Modmail Discord bot @@ -21,5 +21,5 @@ dependencies: version: 13.16.2 repository: https://charts.bitnami.com/bitnami - name: mongodb-s3-backup - version: 1.1.0 + version: 1.1.1 repository: 'file://../mongodb-s3-backup' diff --git a/charts/mongodb-s3-backup/Chart.yaml b/charts/mongodb-s3-backup/Chart.yaml index 54956e2..5e77e08 100644 --- a/charts/mongodb-s3-backup/Chart.yaml +++ b/charts/mongodb-s3-backup/Chart.yaml @@ -4,7 +4,7 @@ name: mongodb-s3-backup # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.0 +version: 1.1.1 # This is the version number of the application being deployed (purely informational). appVersion: '1' description: helm chart handling Quilt's MongoDB backups to an S3 diff --git a/charts/mongodb-s3-backup/templates/cronjob.yaml b/charts/mongodb-s3-backup/templates/cronjob.yaml index f566015..7576610 100644 --- a/charts/mongodb-s3-backup/templates/cronjob.yaml +++ b/charts/mongodb-s3-backup/templates/cronjob.yaml @@ -18,7 +18,7 @@ spec: args: - > mongodump -h="{{ tpl .Values.database.host . }}" -u="{{ .Values.database.username | default "root" }}" -p="{{ .Values.database.password }}" --gzip --archive="backup.gz" && - aws --endpoint {{ .Values.endpoint }} s3 cp backup.gz s3://quilt-backups/{{ .Release.Name }}/`date -I`.gz + aws --endpoint {{ .Values.endpoint }} s3 cp backup.gz s3://quilt-backups/{{ .Release.Name }}/`date -I`.gz && aws --endpoint {{ .Values.endpoint }} s3 cp backup.gz s3://quilt-backups/latest/{{ .Release.Name }}.gz envFrom: - secretRef: diff --git a/charts/mongodb-s3-backup/values.yaml b/charts/mongodb-s3-backup/values.yaml index 9e57b68..69ed31f 100644 --- a/charts/mongodb-s3-backup/values.yaml +++ b/charts/mongodb-s3-backup/values.yaml @@ -5,4 +5,4 @@ database: password: '' awsSecretName: 'quilt-backups' endpoint: 'https://s3.eu-central-003.backblazeb2.com' -image: 'ghcr.io/quiltmc/mongodb-s3-backup:4b26b78' +image: 'ghcr.io/quiltmc/mongodb-s3-backup:b837205' diff --git a/charts/postgresql-s3-backup/Chart.yaml b/charts/postgresql-s3-backup/Chart.yaml index a424a86..61ec261 100644 --- a/charts/postgresql-s3-backup/Chart.yaml +++ b/charts/postgresql-s3-backup/Chart.yaml @@ -4,7 +4,7 @@ name: postgresql-s3-backup # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.0 +version: 1.1.1 # This is the version number of the application being deployed (purely informational). appVersion: '1' description: Helm chart handling Quilt's PostgreSQL backups to an S3 diff --git a/charts/postgresql-s3-backup/templates/cronjob.yaml b/charts/postgresql-s3-backup/templates/cronjob.yaml index 52baa2e..6b6722c 100644 --- a/charts/postgresql-s3-backup/templates/cronjob.yaml +++ b/charts/postgresql-s3-backup/templates/cronjob.yaml @@ -18,7 +18,7 @@ spec: args: - > pg_dump {{ .Values.database.dbName }} --clean --if-exists --quote-all-identifiers --no-password --file=backup.pgdump && - aws --endpoint {{ .Values.endpoint }} s3 cp backup.pgdump s3://quilt-backups/{{ .Release.Name }}/`date -I`.pgdump + aws --endpoint {{ .Values.endpoint }} s3 cp backup.pgdump s3://quilt-backups/{{ .Release.Name }}/`date -I`.pgdump && aws --endpoint {{ .Values.endpoint }} s3 cp backup.pgdump s3://quilt-backups/latest/{{ .Release.Name }}.pgdump env: - name: PGUSER diff --git a/charts/postgresql-s3-backup/values.yaml b/charts/postgresql-s3-backup/values.yaml index 6133b4e..2e08d4c 100644 --- a/charts/postgresql-s3-backup/values.yaml +++ b/charts/postgresql-s3-backup/values.yaml @@ -6,4 +6,4 @@ database: dbName: awsSecretName: 'quilt-backups' endpoint: 'https://s3.eu-central-003.backblazeb2.com' -image: 'ghcr.io/quiltmc/postgresql-s3-backup:4b26b78' +image: 'ghcr.io/quiltmc/postgresql-s3-backup:b837205' diff --git a/charts/stats/Chart.lock b/charts/stats/Chart.lock index 7517ea5..950c8fa 100644 --- a/charts/stats/Chart.lock +++ b/charts/stats/Chart.lock @@ -4,6 +4,6 @@ dependencies: version: 12.8.0 - name: postgresql-s3-backup repository: file://../postgresql-s3-backup - version: 1.1.0 -digest: sha256:4c7d7df84f62a0fdde7ab205b8b51186f620bc11d170c904c7726ebd6f68e83f -generated: "2024-06-04T01:58:31.566591+02:00" + version: 1.1.1 +digest: sha256:4b7f933dfd46fa41072c131f3d81e402e96949edd0bd9fe67e591761991045ab +generated: "2024-06-25T22:07:48.769312+02:00" diff --git a/charts/stats/Chart.yaml b/charts/stats/Chart.yaml index 2bc7c70..00b5997 100644 --- a/charts/stats/Chart.yaml +++ b/charts/stats/Chart.yaml @@ -4,7 +4,7 @@ name: quilt-stats # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.6 +version: 1.1.7 # This is the version number of the application being deployed (purely informational). appVersion: '1' description: helm chart to deploy Quilt's Stats Discord bot @@ -21,5 +21,5 @@ dependencies: version: 12.8.0 repository: https://charts.bitnami.com/bitnami - name: postgresql-s3-backup - version: 1.1.0 + version: 1.1.1 repository: 'file://../postgresql-s3-backup'