Skip to content

Commit

Permalink
Merge pull request #2 from codefresh-io/fix/condition-for-tests
Browse files Browse the repository at this point in the history
fix: add condition for helm tests
  • Loading branch information
mikhail-klimko authored Nov 19, 2024
2 parents c8d2e3f + e010744 commit c7760ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/helm/garage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion script/helm/garage/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -95,6 +95,7 @@ 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 | `[]` | |

----------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Test bucket access with
{{- if .Values.tests.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -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 }}
1 change: 1 addition & 0 deletions script/helm/garage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ monitoring:
sink: ""

tests:
enabled: true
awsCliImage: "amazon/aws-cli:2.13.2"

# -- Config hook for argo workflows
Expand Down

0 comments on commit c7760ce

Please sign in to comment.