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

Bump to Lima 1.0.0-beta.0 #7666

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

jandubois
Copy link
Member

@jandubois jandubois commented Oct 21, 2024

Get rid of limactl.ventura, we are going to use the macOS-13 binaries everywhere. Testing by the Lima project itself indicates that releases build on latest XCode still work on older macOS versions.

Fixes #7463
Closes #7669

@jandubois jandubois marked this pull request as ready for review October 21, 2024 20:26
@jandubois jandubois requested a review from Nino-K October 21, 2024 20:27
if (platform === 'darwin') {
platform = 'macos-11.amd64';
platform = 'macos-13.amd64';
Copy link
Member

Choose a reason for hiding this comment

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

Optional, would it make sense to go in a variable?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure what should go into a variable. I've turned the 4 lines into a single line with expression interpolations, but that's all I can think off.

The hard-coded macos-13 is a bit annoying, but I don't know how we can parameterize it; it depends on a GitHub Action workflow in a different repo...

@@ -36,24 +32,10 @@ func SetupLimaHome(appHome string) error {
if !stat.Mode().IsDir() {
return fmt.Errorf("path %q exists but isn't a directory", candidatePath)
}
os.Setenv("LIMA_HOME", candidatePath)
_ = os.Setenv("LIMA_HOME", candidatePath)
return nil
Copy link
Member

Choose a reason for hiding this comment

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

We should just return os.Setenv("LIMA_HOME", candidatePath).

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure

Get rid of `limactl.ventura`, we are going to use the macOS-13 binaries
everywhere. Testing by the Lima project itself indicates that releases
build on latest XCode still work on older macOS versions.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
Copy link
Member Author

@jandubois jandubois left a comment

Choose a reason for hiding this comment

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

PTAL

@jandubois jandubois requested a review from Nino-K October 22, 2024 18:26
@Nino-K Nino-K enabled auto-merge October 22, 2024 18:33
@Nino-K Nino-K merged commit 2f93183 into rancher-sandbox:main Oct 22, 2024
20 checks passed
@jandubois jandubois deleted the bump-lime-1.0.0.rd0 branch October 22, 2024 18:56
@jandubois jandubois added this to the 1.17 milestone Oct 22, 2024
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.

Rancher Desktop no longer works on openSUSE Tumbleweed
2 participants