Skip to content

Commit

Permalink
Merge pull request #524 from mercedes-benz/chore/update_workflow_example
Browse files Browse the repository at this point in the history
chore(trg5.09): update workflow example to always use latest stable version of helm
  • Loading branch information
FaGru3n authored Dec 12, 2023
2 parents 69481b1 + 130cf83 commit dbf7a93
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions docs/release/trg-5/trg-5-09.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
title: TRG 5.09 - Helm test
---

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

## Why

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

This is the base for future e2e tests.

This also allows to move the responsibility of verifing the helm chart functionality from the system team back to the development team.
This also allows to move the responsibility of verifying the helm chart functionality from the system team back to the development team.

## Description

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

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
container to run. This test container can do everything, especially calling an api, executing tests etc.
Expand Down Expand Up @@ -69,6 +70,11 @@ on:
default: 'x.x.x'
required: false
type: string
helm_version:
description: 'helm version to test (default = latest)'
default: 'latest'
required: false
type: string

jobs:
lint-test:
Expand Down Expand Up @@ -97,7 +103,7 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.9.3
version: ${{ github.event.inputs.helm_version || 'latest' }}

- uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit dbf7a93

Please sign in to comment.