From 4a33acfcb8f8606440f9d21390b0f048365cbde4 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Thu, 21 Nov 2024 15:00:20 +0100 Subject: [PATCH] Patch-level image updates (#303) * Patch-level image updates * Add test for storage volume write-ability. --- .github/updatecli.yaml | 4 ++-- zammad/Chart.yaml | 10 +++++----- zammad/templates/tests/run-tests.yaml | 14 ++++++++++++-- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/updatecli.yaml b/.github/updatecli.yaml index 7aa13136..87497028 100644 --- a/.github/updatecli.yaml +++ b/.github/updatecli.yaml @@ -7,8 +7,8 @@ sources: image: "zammad/zammad-docker-compose" architecture: "linux/amd64" # tagfilter: "^6\\.4\\.0$" - tagfilter: "^6\\.4\\.0-\\d{1}" - # tagfilter: "^6\\.4\\.0-\\d{2}" + # tagfilter: "^6\\.4\\.0-\\d{1}" + tagfilter: "^6\\.4\\.0-\\d{2}" # tagfilter: "^6\\.4\\.0-\\d{3}" alpine: kind: dockerimage diff --git a/zammad/Chart.yaml b/zammad/Chart.yaml index 4ac88bd9..207776f5 100755 --- a/zammad/Chart.yaml +++ b/zammad/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: zammad -version: 13.0.1 -appVersion: 6.4.0-4 +version: 13.0.2 +appVersion: 6.4.0-27 description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails. home: https://zammad.org icon: https://raw.githubusercontent.com/zammad/zammad-documentation/main/images/zammad_logo_600x520.png @@ -16,7 +16,7 @@ maintainers: dependencies: - name: elasticsearch repository: https://charts.bitnami.com/bitnami - version: 21.3.22 + version: 21.3.25 condition: zammadConfig.elasticsearch.enabled - name: minio version: 14.8.5 @@ -27,10 +27,10 @@ dependencies: repository: https://charts.bitnami.com/bitnami condition: zammadConfig.memcached.enabled - name: postgresql - version: 16.1.2 + version: 16.2.1 repository: https://charts.bitnami.com/bitnami condition: zammadConfig.postgresql.enabled - name: redis - version: 20.2.1 + version: 20.3.0 repository: https://charts.bitnami.com/bitnami condition: zammadConfig.redis.enabled diff --git a/zammad/templates/tests/run-tests.yaml b/zammad/templates/tests/run-tests.yaml index c6593ac0..a94a3366 100644 --- a/zammad/templates/tests/run-tests.yaml +++ b/zammad/templates/tests/run-tests.yaml @@ -12,10 +12,20 @@ data: namespace :helm do desc 'Runs a set of Helm tests' task test: :environment do |_task, args| - puts 'Checking if temporary file can be created...' - Tempfile.create do |f| + + puts 'Checking if temporary file can be created…' + Tempfile.create do |_f| puts ' Temporary file was created successfully.' end + + {{- if .Values.zammadConfig.storageVolume.enabled }} + puts 'Checking if storage file can be created…' + File.write('/opt/zammad/storage/test.txt', 'test content') + puts ' Storage file was created successfully.' + {{- else }} + puts 'Storage volume not enabled, not testing it…' + {{- end }} + end end end