Skip to content
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: Fix workaround for Homebrew node in Cirrus on macOS #1002

Merged
merged 2 commits into from
May 15, 2024

Conversation

DeeDeeG
Copy link
Member

@DeeDeeG DeeDeeG commented May 13, 2024

This workaround was necessary before because something broke.

Now the workaround is the thing that breaks things.

Go figure. [EDIT: workaround just needed to be tweaked to hit the right package name. Mostly still valid after all.]


Follow-up to #961.

This one is a little more straight-forward than 961, thank goodness. Apparently, Homebrew's node cask is not preinstalled anymore in the latest CI base images we've been auto-updated to, so trying to remove it gives an error now.

Solution: Don't do that. 👍 (Remove node@20 cask instead!)

Verification Process

Ran this through Cirrus via a custom cron job. It worked. CI is passing for that run with the fix. 👍
https://cirrus-ci.com/task/5146025353019392

This workaround was necessary before because something broke.

Now the workaround is the thing that breaks things.

Go figure.
@DeeDeeG DeeDeeG marked this pull request as draft May 13, 2024 22:19
Apparently it's not the "node" cask anymore in the base CI image,
it's the "node@20" cask. Wow.

The workaround of uninstalling this is still needed,
it's just that the package name has changed.
@DeeDeeG DeeDeeG marked this pull request as ready for review May 13, 2024 23:57
@DeeDeeG DeeDeeG changed the title CI: Remove workaround for Homebrew node in Cirrus on macOS CI: Update workaround for Homebrew node in Cirrus on macOS May 13, 2024
@DeeDeeG DeeDeeG changed the title CI: Update workaround for Homebrew node in Cirrus on macOS CI: Fix workaround for Homebrew node in Cirrus on macOS May 13, 2024
Copy link
Contributor

@savetheclocktower savetheclocktower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Easy to understand, seems to work. Rubber-stamp.

@DeeDeeG
Copy link
Member Author

DeeDeeG commented May 15, 2024

Thanks for the review. 👍

@DeeDeeG DeeDeeG merged commit 7a4e8ca into master May 15, 2024
105 checks passed
@DeeDeeG DeeDeeG deleted the CI-fix-Cirrus-on-macOS-no-homebrew-uninstall-node branch August 10, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants