-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ubuntu-20.04-arm runner doesn't seem to have the GitHub CLI installed #10192
Comments
`main` failure: https://github.com/firezone/firezone/actions/runs/9847918080/job/27190842443 Opened an issue: actions/runner-images#10192 gh cli instructions: https://github.com/cli/cli/blob/trunk/docs/install_linux.md#debian-ubuntu-linux-raspberry-pi-os-apt
Hi @jamilbk , Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating. |
`main` failure: https://github.com/firezone/firezone/actions/runs/9847918080/job/27190842443 Opened an issue: actions/runner-images#10192 gh cli instructions: https://github.com/cli/cli/blob/trunk/docs/install_linux.md#debian-ubuntu-linux-raspberry-pi-os-apt
hi @kishorekumar-anchala -- that does not resolve the bug. According to your documentation here, the GitHub CLI should be pre-installed in the runner image. https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md#cli-tools |
Hi @jamilbk, To resolve the gh: command not found error in your CI pipeline, please try using below steps:-
steps: *Using GitHub Actions setup-gh Action:- steps: Requesting you to try this resolution and provide the update on this, thanks:) |
Hi @Prabhatkumar59 -- I understand how to install the GitHub CLI. That's not the issue. The issue is that the Are we expected to install the GitHub CLI on all runner images? Is it expected that the Either the docs need to be updated or the runner image needs to be fixed. |
@jamilbk-- Thanks for your reply, will look into this and will update you after investigating. |
Similarly, the Windows 11 ARM image doesn't have Bash installed https://github.com/firezone/firezone/actions/runs/9863219247/job/27235517455#step:3:28 Should I open another issue for that? I can't tell if these images are provided by GitHub or by us |
Hi @jamilbk-- You can try by adding a conditional installation step in your CI workflow for the GitHub CLI:- jobs:
Basically, this approach states that your CI pipeline behaves consistently across different runner images (x86_64 and arm64). While ideally, the runner images should have consistent software pre-installed but in mean time, I will investigate more on this and update you, thanks:) |
Hi @ReactorScram-- I will investigate on "the Windows 11 ARM image doesn't have Bash installed" and then will update you, thanks. |
Thanks, we've already implemented this work-around but we would prefer waiting for an official response from GitHub here. |
Hi @ReactorScram-- The issue you're experiencing with the Windows 11 ARM image not having Bash installed which is similar to this issue with the GitHub CLI on the arm64 runner. For this, you can modify your workflow to handle the absence of Bash on Windows ARM images. You can install Bash or use PowerShell scripts as an alternative. You can try by using below steps with example:- Install GitHub CLI (if needed):- Use PowerShell Instead of Bash:- Example Workflow jobs:
You can modify your workflows to install the necessary tools (gh CLI, Bash) as needed. also can use PowerShell scripts where possible. so, by following these above steps, you can maintain functionality in your CI pipeline while addressing the underlying issues with the runner images. |
@Prabhatkumar59 Will the amd64 MSI and exe work on ARM? |
@ReactorScram-- The amd64 MSI and EXE installers are intended for x86_64 architecture and will not work directly on ARM architecture. For ARM-based Windows systems, you need to ensure that you use ARM-compatible binaries or installers. |
Hi @ReactorScram- Did you get the resolution for above Windows 11 ARM image? |
@jamilbk - As I did not any update from you so, we are closing this issue. Feel free to reach out to us...thanks |
Was this issue resolved? What's the reason for closing the issue? |
@Prabhatkumar59 No I did not try it because I was so perplexed by the example code showing an x86_64 MSI on ARM Also I think it turned out Git for Windows just doesn't build for ARM yet |
Description
https://github.com/firezone/firezone/actions/runs/9847918080/job/27190842443#step:13:36
We've been running this CI pipeline successfully for months on the equivalent x86_64 runner.
Seems like the package is missing?
Platforms affected
Runner images affected
Image version and build link
https://github.com/firezone/firezone/actions/runs/9847918080/job/27190842443#step:13:36
20.04.202407040
Is it regression?
Not sure
Expected behavior
gh
command to be availableActual behavior
gh
is not in$PATH
.Repro steps
gh
command.The text was updated successfully, but these errors were encountered: