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

feat: embed ytt #272

Merged
merged 10 commits into from
Apr 20, 2024
Merged

feat: embed ytt #272

merged 10 commits into from
Apr 20, 2024

Conversation

kbudde
Copy link
Member

@kbudde kbudde commented Apr 20, 2024

Changes:

  • Embedded ytt (increased binary size +5MB)
  • Removed ytt from dockerfile (-15MB)
  • Updated go to 1.22 (required by ytt)
  • Fixed: By default use the myks binary which was called to render; before it was the first myks in PATH which could have a different vendir/ytt version

Still an issue: While running go test a test binary is created which is not providing the embedded sub commands. Fallback to "myks" command in path (as before).

Question: Do we want to embedd ytt as well? If not, I would update the PR to only include the fix.

@kbudde kbudde changed the title [feat] embedd ytt feat: embedd ytt Apr 20, 2024
@Zebradil
Copy link
Member

Nice 👍

For tests, we can use a script which builds a new myks binary from the current state and adds it into PATH.

Do we want to embedd ytt as well?

I think yes, why not? In the future, we can change to run it as a library rather than as a standalone process.

@Zebradil Zebradil changed the title feat: embedd ytt feat: embed ytt Apr 20, 2024
@Zebradil Zebradil merged commit 2520648 into main Apr 20, 2024
6 checks passed
@Zebradil Zebradil deleted the embbed-ytt branch April 20, 2024 22:42
@Zebradil
Copy link
Member

I have added a task go:test command to run tests with the dev version of myks in PATH.

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