-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
CI experiences failures due to Homebrew being removed from $PATH on GitHub runners #13923
Comments
CC @Homebrew/linux. See, in particular: actions/runner-images#6283, actions/runner-images#6280 |
Hey! Yeah, we had to remove brew from PATH on linux despite all the efforts, we can not predict how people parse tooolchain or the system variables in their code, which caused us some painful issues and I do not think it is an issue you guys can help with, as the usage can be totally arbitrary and purely depends on the design of an end customer. |
@mikhailkoliada Is this only for Ubuntu <22.04? Do you have any ideas/dates when 22.04 will become ubuntu-latest? |
@MikeMcQuaid currently these are all ubuntus, for consistency. We are planning to migrate ubuntu-22.04 to latest next quarter. |
@mikhailkoliada I cannot reproduce this, it seems Ubuntu 22.04 still has
Thanks! |
@MikeMcQuaid for 22.04 changes will be rolled out this week probably too, last week we had to fix only 18.04 and 20.04 quickly due to direct impact |
There are an increasing number of PR's in |
Actually, actions/runner-images#6280 looks like something we can and should fix, since |
@carlocab I am afraid it is the tip of the iceberg. We had reports where customers (including premium ones) did not expect to have toolchain other than from Ubuntu's repo being present in the runner at all, i.e. it is not even a problem that gcc-12 does not work, the problem is that exists, say, in $PATH |
You had the exact same issue with |
@mikhailkoliada The issue was presumably with it (
|
Both of these suggestions sound good to me. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
We have mitigated this with the Homebrew/setup-homebrew action. We don't control what GitHub Actions does so have no ability to influence beyond that. |
Dumb question: where is said action? |
brew config
outputbrew doctor
outputVerification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
CI that uses the
20220922.2
Ubuntu image fails due to GitHub removing Homebrew from $PATH.actions/runner-images#6283
What happened (include all command output)?
CI fails if it uses the
20220922.2
Ubuntu runner image.What did you expect to happen?
CI succeeds or fails
Step-by-step reproduction instructions (by running
brew
commands)Example: Homebrew/homebrew-cask#132241
The text was updated successfully, but these errors were encountered: