looztra / asdf-stern

stern (https://github.com/wercker/stern) plugin for asdf
Apache License 2.0
4 stars 3 forks source link

amd64 downloaded on aarch64 #15

Open markbluhm opened 1 week ago

markbluhm commented 1 week ago

I can work on this some day but just did some comparing to other plugins and thought I'd drop my notes off before I got back to work...

Looks like we have a static function name for the arch here https://github.com/looztra/asdf-stern/blob/master/bin/install#L29

Could change it to something like what is found in the terraform plugin

Side note... ran into similar problem with jq's plugin

markbluhm commented 1 week ago

my ugly temporary workaround to still use asdf for the version management part was to just download the right bin for the same version from their github release tag and put it in here the output from the install script.

[2024-06-20 15:47:03] INFO: Creating bin directory [/home/mark/.asdf/installs/stern/1.30.0/bin] (install_tool)

overwrote the stern bin in that subfolder with the stern bin from stern's github release tag gz for aarch64 (might have used arm64)