Skip to content

Commit dbf7a93

Browse files
authored
Merge pull request #524 from mercedes-benz/chore/update_workflow_example
chore(trg5.09): update workflow example to always use latest stable version of helm
2 parents 69481b1 + 130cf83 commit dbf7a93

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

docs/release/trg-5/trg-5-09.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
title: TRG 5.09 - Helm test
33
---
44

5-
| Status | Created | Post-History |
6-
|------------|-------------|--------------------|
7-
| Update | 10-Nov-2023 | Bump kind version |
8-
| Active | 10-Nov-2023 | |
9-
| Prerelease | 7-Mar-2023 | Moved out of draft |
10-
| Draft | 23-Feb-2023 | Draft release |
5+
| Status | Created | Post-History |
6+
|------------|-------------|-------------------------------------------------|
7+
| Update | 05-Dec-2023 | Updated example, with customizable helm version |
8+
| Update | 10-Nov-2023 | Bump kind version |
9+
| Active | 10-Nov-2023 | |
10+
| Prerelease | 7-Mar-2023 | Moved out of draft |
11+
| Draft | 23-Feb-2023 | Draft release |
1112

1213
## Why
1314

@@ -18,11 +19,11 @@ GitHub Actions simplifies the open source infrastructure requirements as otherwi
1819

1920
This is the base for future e2e tests.
2021

21-
This also allows to move the responsibility of verifing the helm chart functionality from the system team back to the development team.
22+
This also allows to move the responsibility of verifying the helm chart functionality from the system team back to the development team.
2223

2324
## Description
2425

25-
Helm charts and their dependend images (the application to test) need to be validated by installing them and verifing that they are running successfully.
26+
Helm charts and their dependent images (the application to test) need to be validated by installing them and verifying that they are running successfully.
2627

2728
Helm test is the technical solution helm provides to verify that a helm chart works as expected. It basically installs the helm chart (which installs and runs the application) and then allows an additional
2829
container to run. This test container can do everything, especially calling an api, executing tests etc.
@@ -69,6 +70,11 @@ on:
6970
default: 'x.x.x'
7071
required: false
7172
type: string
73+
helm_version:
74+
description: 'helm version to test (default = latest)'
75+
default: 'latest'
76+
required: false
77+
type: string
7278

7379
jobs:
7480
lint-test:
@@ -97,7 +103,7 @@ jobs:
97103
- name: Set up Helm
98104
uses: azure/setup-helm@v3
99105
with:
100-
version: v3.9.3
106+
version: ${{ github.event.inputs.helm_version || 'latest' }}
101107

102108
- uses: actions/setup-python@v4
103109
with:

0 commit comments

Comments
 (0)