Skip to content

Conversation

@arybolovlev
Copy link
Collaborator

@arybolovlev arybolovlev commented Nov 18, 2024

Description

Add Helm chart unit tests using Terratest. While Terratest is currently used to render manifests from the Helm chart, this may be excessive for our needs. In the future, consider transitioning to the Helm SDK to simplify and streamline the process.

Usage Example

Terratest

$ make test-helm
...
PASS
ok  	github.com/hashicorp/hcp-terraform-operator/charts/test/unit	2.207s

References

N/A.

Community Note

  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

@github-actions github-actions bot added documentation Improvements or additions to documentation helm-chart github_actions Pull requests that update GitHub Actions code size/L size/XL dependencies Pull requests that update a dependency file golang test and removed size/L dependencies Pull requests that update a dependency file labels Nov 18, 2024
@arybolovlev arybolovlev force-pushed the add-helm-chart-validation branch from 8332594 to f323a24 Compare December 2, 2024 14:20
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Dec 2, 2024
@arybolovlev arybolovlev force-pushed the add-helm-chart-validation branch from 576bbcd to 193339e Compare December 10, 2024 10:34
@arybolovlev arybolovlev force-pushed the add-helm-chart-validation branch from 0b4fa38 to c158048 Compare January 3, 2025 10:16
@arybolovlev arybolovlev force-pushed the add-helm-chart-validation branch from c158048 to fa0b43b Compare January 3, 2025 10:51
@arybolovlev arybolovlev force-pushed the add-helm-chart-validation branch from 0c53016 to d71c33a Compare January 3, 2025 11:00
@arybolovlev arybolovlev marked this pull request as ready for review January 4, 2025 14:16
@arybolovlev arybolovlev requested a review from a team as a code owner January 4, 2025 14:16
@arybolovlev arybolovlev merged commit 3109625 into main Jan 9, 2025
9 checks passed
@arybolovlev arybolovlev deleted the add-helm-chart-validation branch January 9, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code golang helm-chart size/XL test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants