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

NPM wrapper #542

Open
daretodave opened this issue Nov 10, 2021 · 3 comments
Open

NPM wrapper #542

daretodave opened this issue Nov 10, 2021 · 3 comments

Comments

@daretodave
Copy link

daretodave commented Nov 10, 2021

Just sharing a wrapper I made for node:
https://github.com/daretodave/node-ytt

The package fetches the latest release on post installation so ytt can be installed by just running -

$ npm i -g node-ytt-cli

$ ytt --version

@daretodave daretodave added the carvel triage This issue has not yet been triaged for relevance label Nov 10, 2021
@cari-lynn
Copy link
Contributor

Wow, awesome work! Thanks for creating and sharing this with us @daretodave !

@cari-lynn cari-lynn removed the carvel triage This issue has not yet been triaged for relevance label Dec 8, 2021
@aaronshurley aaronshurley moved this to To Triage in Carvel Aug 18, 2022
@github-project-automation github-project-automation bot moved this to To Triage in Carvel Feb 14, 2023
@scastria
Copy link

scastria commented May 27, 2024

This doesn't work for me. I installed this node wrapper package, but when I try to use it in my node JS code with --help as shown in the README, I get a return code of 127. I think that means the wrapper is installed, but NOT the ytt binary itself. How do I debug that?

FYI: I am trying to do this inside Forge from Atlasssian to use their new Dynamic Pipelines feature and modify a bitbucket-pipelines.yml file dynamically

@daretodave
Copy link
Author

Thanks all for bringing this to my attention, this wrapper has been fixed!

@scastria addressed this in daretodave/node-ytt#3

then

ytt --version
# prints ytt version 0.49.0

the ci/cd will continue to autopublish any changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Triage
Development

No branches or pull requests

3 participants