-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
tenv failing to install #308
Comments
Come to think about it the curl command to download a specified version is not right, should it not be
|
from my checks this only seems to be an issue when defining the tenv version that is not latest. |
Hi @ego93, really appreciate the comprehensive issue and your follow-up steps as well — stellar report.
Might be worth noting that
I suspect you're spot-on: great catch, thank you for identifying!
Another great spot. I think I took GitHub's hosted runner for granted and didn't consider alternative architectures. Though, this issue on the whole has me wondering: should I really be packaging For existing users reliant on |
@rdhar happy to help where I can for the community. I find it handy that tenv is included in this action, but I also see your point on why it shouldn't be. It's simple enough to install ourselves however for the end-users without knowledge of writing workflows, tenv doesn't seem to have an action of there own example: Just make sure if you decide to remove tenv change the major version, as this would be a breaking change for some. |
Great recommendations. Admittedly, I'm still keen to continue packaging However, it's the architecture bit that's really thrown me off. Sure, it's easy enough for me to add yet another input parameter to select the architecture (or extend And, thinking it through, wouldn't new users gravitate towards setup-terraform/tofu actions anyway? Only those looking for tenv-specific benefits would seek it out in the first place (for example, I reached for it when I needed to test TF-via-PR against both terraform and tofu simultaneously as part of the same workflow. I reckon next steps should be:
Sound like a plan? |
Sounds like a plan to me. Re the architecture, from other actions I have used it can go two ways:
As an ideal solution you could combine the both with it auto detecting the arch but let the user manually override for edge cases.
|
@rdhar in my use case I'm in the process of migrating from Terraform to OpenToFu, with tenv it makes it simple for me to switch tool based on directory. However I can use the setup-terraform/opentofu with a if statement. |
Super-interesting. Pretty much aligned with my use-case as well in terms of needing to context-switch between terraform and tofu dynamically. Since there isn't really a sizable user-base of TF-via-PR, it's tricky get meaningful data from a poll in order to help decide on continued inclusion of I'll ask around to try and scrape together some feedback. Might be worth asking |
Thank you by the way for getting the fix out, and for creating this action. It's been a lifesaver in my move to GitHub Actions. |
Ah, no worries — and thank you for the sponsorship! Now I've gotta figure out how to pass it on to the |
Describe the bug
I am running
v11.4.3
and running into an issue with the install step oftenv
v3.2.2
I've also noticed that the install command of tenv is hardcoded to use
amd64
, which means it will not work for arm or other types or system architecture.TF-via-PR/action.yml
Line 289 in 6cb2fda
TF-via-PR/action.yml
Line 290 in 6cb2fda
Logs
To Reproduce
Expected behavior
I would expect tenv to install without error
Screenshots
Additional context
tenv_version
is not tested in your test workflowThe text was updated successfully, but these errors were encountered: