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

Remove packr and use go:embed #39

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Conversation

carolynvs
Copy link
Collaborator

When we copy the mixin schema into the helm3 mixin binary, previously we used the packr library. Now that Go 1.16 supports embedding files into a binary, we don't need to use it anymore (its difficult to build properly).

I have updated helm3 to use go:embed for the schema and fixed some broken unit tests.

I haven't been able to test this locally with my VS Code because there's a bug I'm running into getporter/vscode-extension#48. I'm going to try later tonight on a different computer.

When we copy the mixin schema into the helm3 mixin binary, previously we
used the packr library. Now that Go 1.16 supports embedding files into a
binary, we don't need to use it anymore (its difficult to build
properly).

I have updated helm3 to use go:embed for the schema and fixed some
broken unit tests.

Signed-off-by: Carolyn Van Slyck <[email protected]>
@MChorfa
Copy link
Owner

MChorfa commented Oct 8, 2021

Thank you @carolynvs for the fix. I tried the draft and it works in my end

@carolynvs carolynvs marked this pull request as ready for review October 8, 2021 18:23
@carolynvs
Copy link
Collaborator Author

Thanks for checking, I don't know what is causing all my problems with VS Code lately. I think I need to do a clean install. 🔥

@MChorfa MChorfa merged commit e14ba12 into MChorfa:master Oct 8, 2021
@carolynvs carolynvs deleted the drop-packr branch October 8, 2021 19:23
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