From 30aab659a309b66d047580d48f601f39cde11eb3 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Wed, 21 Aug 2024 08:53:16 +0200 Subject: [PATCH] Update dependencies (#284) * Update dependencies * Add updatecli configuration for improved dependency updates * Switch to latest zammad image for reduced image size --- .github/ct.yaml | 2 +- .github/updatecli.yaml | 96 ++++++++++++++++++++++++++++++++++++++++++ zammad/Chart.yaml | 6 +-- 3 files changed, 100 insertions(+), 4 deletions(-) create mode 100644 .github/updatecli.yaml diff --git a/.github/ct.yaml b/.github/ct.yaml index 759f6410..17ab77f2 100644 --- a/.github/ct.yaml +++ b/.github/ct.yaml @@ -4,7 +4,7 @@ chart-repos: - bitnami=https://charts.bitnami.com/bitnami check-version-increment: true debug: true -upgrade: true +# upgrade: true # Causes issues because of low performance on default GitHub actions servers. target-branch: main namespace: zammad release-label: zammad diff --git a/.github/updatecli.yaml b/.github/updatecli.yaml new file mode 100644 index 00000000..e82167fe --- /dev/null +++ b/.github/updatecli.yaml @@ -0,0 +1,96 @@ +name: "Update Zammad version and dependency charts (patch and minor only)" + +sources: + zammad: + kind: dockerimage + spec: + image: "zammad/zammad-docker-compose" + architecture: "linux/amd64" + tagfilter: "6\\.3.*" + elasticsearch: + kind: helmchart + spec: + url: https://charts.bitnami.com/bitnami + name: elasticsearch + versionfilter: + pattern: "19.x.x" + minio: + kind: helmchart + spec: + url: https://charts.bitnami.com/bitnami + name: minio + versionfilter: + pattern: "13.x.x" + memcached: + kind: helmchart + spec: + url: https://charts.bitnami.com/bitnami + name: memcached + versionfilter: + pattern: "6.x.x" + postgresql: + kind: helmchart + spec: + url: https://charts.bitnami.com/bitnami + name: postgresql + versionfilter: + pattern: "12.x.x" + redis: + kind: helmchart + spec: + url: https://charts.bitnami.com/bitnami + name: redis + versionfilter: + pattern: "17.x.x" + +conditions: {} + +targets: + zammad: + kind: helmchart + sourceid: zammad + spec: + name: "zammad" + file: "Chart.yaml" + key: "$.appVersion" + versionincrement: patch + elasticsearch: + kind: helmchart + sourceid: elasticsearch + spec: + name: "zammad" + file: "Chart.yaml" + key: "$.dependencies[0].version" + versionincrement: patch + minio: + kind: helmchart + sourceid: minio + spec: + name: "zammad" + file: "Chart.yaml" + key: "$.dependencies[1].version" + versionincrement: patch + memcached: + kind: helmchart + sourceid: memcached + spec: + name: "zammad" + file: "Chart.yaml" + key: "$.dependencies[2].version" + versionincrement: patch + postgresql: + kind: helmchart + sourceid: postgresql + spec: + name: "zammad" + file: "Chart.yaml" + key: "$.dependencies[3].version" + versionincrement: patch + redis: + kind: helmchart + sourceid: redis + spec: + name: "zammad" + file: "Chart.yaml" + key: "$.dependencies[4].version" + versionincrement: patch \ No newline at end of file diff --git a/zammad/Chart.yaml b/zammad/Chart.yaml index b0917184..eac0db3a 100644 --- a/zammad/Chart.yaml +++ b/zammad/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: zammad -version: 12.3.0 -appVersion: 6.3.1-91 +version: 12.3.1 +appVersion: 6.3.1-99 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: 19.17.6 + version: 19.21.2 condition: zammadConfig.elasticsearch.enabled - name: minio version: 13.8.4