Skip to content

Commit

Permalink
Fix backup jobs (#8)
Browse files Browse the repository at this point in the history
* Fix backup jobs

* Update lock files
  • Loading branch information
Pyrofab authored Jun 25, 2024
1 parent b837205 commit f93611e
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions charts/cozy/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions charts/cozy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
6 changes: 3 additions & 3 deletions charts/forum/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions charts/forum/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
6 changes: 3 additions & 3 deletions charts/modmail/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions charts/modmail/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
2 changes: 1 addition & 1 deletion charts/mongodb-s3-backup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/mongodb-s3-backup/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/mongodb-s3-backup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion charts/postgresql-s3-backup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/postgresql-s3-backup/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/postgresql-s3-backup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
6 changes: 3 additions & 3 deletions charts/stats/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions charts/stats/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'

0 comments on commit f93611e

Please sign in to comment.