Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced test #165

Merged
merged 4 commits into from
May 22, 2024
Merged

Advanced test #165

merged 4 commits into from
May 22, 2024

Conversation

nineinchnick
Copy link
Member

Test more values.yaml combinations:

  • defaults
  • single node (coordinator only) - this has a few conditions in the chart
  • a complete values.yaml file with as many features enabled as possible - this is the end goal, so far I added TLS, password auth and some access control rules

I moved the custom-values.yaml file to the root dir so it's more explicit and doesn't rely on some undocumented behavior of chart-testing.

All of this will allow us to ask contributors to test their changes by either updating test-values.yaml or adding another test cases.

test.sh Outdated
Comment on lines 61 to 63
ct install "${CT_ARGS[@]}" --helm-extra-set-args "$HELM_EXTRA_SET_ARGS"
ct install "${CT_ARGS[@]}" --helm-extra-set-args "$HELM_EXTRA_SET_ARGS --set server.workers=0"
ct install "${CT_ARGS[@]}" --helm-extra-set-args "$HELM_EXTRA_SET_ARGS --values test-values.yaml"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these three configuration specifically?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First one is for testing chart defaults.
Second one tests single-node deployments, which has a few conditions all over the chart.
The last one is a starting point for a test with most coverage.

@nineinchnick nineinchnick merged commit 10e2060 into trinodb:main May 22, 2024
8 checks passed
@nineinchnick nineinchnick deleted the advanced-test branch May 22, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants