Skip to content

[bug/1798] Read local helm path from CUSTOM_HELM_PATH env var#2

Merged
agentpoyo merged 4 commits intomainfrom
bug/1798
Aug 23, 2023
Merged

[bug/1798] Read local helm path from CUSTOM_HELM_PATH env var#2
agentpoyo merged 4 commits intomainfrom
bug/1798

Conversation

@HashNuke
Copy link
Contributor

@HashNuke HashNuke commented Aug 23, 2023

Issues: cncf/cnf-testsuite#1798

Change summary

  • Read CUSTOM_HELM_PATH env var for local helm path
  • Bump shard.yml version to 1.0.2
  • Resolve unrelated GitHub annotation warning in the PR.

Before this change:

Local helm path was being read from the shard's current directory. This is within the lib dir when the shard is installed.

After this change:

Local helm path is read from CUSTOM_HELM_PATH env var if set and if the file is available.

Reason for this change

The cnf-testsuite project installs Helm in a path relative to the testsuite binary. To be able to find the custom helm binary, the shard needs to be informed about the custom helm path.

@HashNuke
Copy link
Contributor Author

Fixed GitHub annotation warning too.

CleanShot 2023-08-23 at 09 57 16@2x

Copy link
Collaborator

@agentpoyo agentpoyo left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants