From b033b7a060c9a9d0f7435520a000ca318dd1dd60 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Mon, 18 Nov 2024 19:15:35 +0300 Subject: [PATCH 1/3] fix: add condition for helm tests --- script/helm/garage/Chart.yaml | 2 +- .../garage/templates/test/test-workflows-bucket-access.yaml | 2 ++ script/helm/garage/values.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/script/helm/garage/Chart.yaml b/script/helm/garage/Chart.yaml index 2efeffc2..b3e20c05 100644 --- a/script/helm/garage/Chart.yaml +++ b/script/helm/garage/Chart.yaml @@ -17,7 +17,7 @@ type: application # 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.5.0-cf.1 +version: 0.5.0-cf.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/script/helm/garage/templates/test/test-workflows-bucket-access.yaml b/script/helm/garage/templates/test/test-workflows-bucket-access.yaml index 5326af91..86bae6f3 100644 --- a/script/helm/garage/templates/test/test-workflows-bucket-access.yaml +++ b/script/helm/garage/templates/test/test-workflows-bucket-access.yaml @@ -1,4 +1,5 @@ # Test bucket access with +{{- if .Values.tests.enabled }} apiVersion: batch/v1 kind: Job metadata: @@ -57,3 +58,4 @@ spec: key: secretKey - name: GARAGE_S3_API_URL value: {{ printf "http://%s:%s" (include "garage.fullname" .) (toString .Values.service.s3.api.port) }} +{{- end }} diff --git a/script/helm/garage/values.yaml b/script/helm/garage/values.yaml index a78142f3..662dd7dd 100644 --- a/script/helm/garage/values.yaml +++ b/script/helm/garage/values.yaml @@ -236,6 +236,7 @@ monitoring: sink: "" tests: + enabled: true awsCliImage: "amazon/aws-cli:2.13.2" # -- Config hook for argo workflows From 4b4ab4a669a970d91eba78a818b04f5f92e19bda Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Tue, 19 Nov 2024 12:42:22 +0300 Subject: [PATCH 2/3] fix: add condition for helm tests --- script/helm/garage/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/helm/garage/README.md b/script/helm/garage/README.md index b954b423..fbbef343 100644 --- a/script/helm/garage/README.md +++ b/script/helm/garage/README.md @@ -1,6 +1,6 @@ # garage -![Version: 0.5.0-cf.1](https://img.shields.io/badge/Version-0.5.0--cf.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.9.4](https://img.shields.io/badge/AppVersion-v0.9.4-informational?style=flat-square) +![Version: 0.5.0-cf.2](https://img.shields.io/badge/Version-0.5.0--cf.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.9.4](https://img.shields.io/badge/AppVersion-v0.9.4-informational?style=flat-square) S3-compatible object store for small self-hosted geo-distributed deployments @@ -95,7 +95,8 @@ S3-compatible object store for small self-hosted geo-distributed deployments | serviceAccount.create | bool | `true` | | | serviceAccount.name | string | `""` | | | tests.awsCliImage | string | `"amazon/aws-cli:2.13.2"` | | +| tests.enabled | bool | `true` | | | tolerations | list | `[]` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.9.1](https://github.com/norwoodj/helm-docs/releases/v1.9.1) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) From e010744a6c23ba5e13c7b9561401f6796d3df8d6 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Tue, 19 Nov 2024 12:43:59 +0300 Subject: [PATCH 3/3] fix: add condition for helm tests --- script/helm/garage/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/helm/garage/README.md b/script/helm/garage/README.md index fbbef343..9f6831b7 100644 --- a/script/helm/garage/README.md +++ b/script/helm/garage/README.md @@ -99,4 +99,4 @@ S3-compatible object store for small self-hosted geo-distributed deployments | tolerations | list | `[]` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) +Autogenerated from chart metadata using [helm-docs v1.9.1](https://github.com/norwoodj/helm-docs/releases/v1.9.1)