github-action-helm3 icon indicating copy to clipboard operation
github-action-helm3 copied to clipboard

Does not work on centos runners

Open Frisch12 opened this issue 1 year ago • 3 comments

This actions does not work on CentOS-Runners. You should mention this in the Readme, so people are not confused if the action fails to run.

Frisch12 avatar Jan 29 '24 22:01 Frisch12

Since GitHub isn't providing CentOS based runners I'm assuming you're using self hosted runners. Which means I can't do anything to fix it without error messages. But did you install nodejs on your runners before using this action?

WyriHaximus avatar Jan 30 '24 09:01 WyriHaximus

Oh yes, you're right. The Error message is dpkg: Command not found.

Frisch12 avatar Jan 30 '24 11:01 Frisch12

Ow yeah that makes sense. dpkg is used to figure out the processor architecture the action runs on to download kubectl. it runs dpkg --print-architecture what would be the command for that in CentOS? Need either amd64 or arm64 as outcome of the command.

Alternatively I'll use something like: https://github.com/helm/helm/blob/main/scripts/get-helm-3#L35-L47

WyriHaximus avatar Jan 30 '24 14:01 WyriHaximus