opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.77k stars 1.82k forks source link

Switch macos runner from `macos-13` to `macos-latest` once github finalize their migrations #13417

Open peterzhuamazon opened 6 months ago

peterzhuamazon commented 6 months ago

Is your feature request related to a problem? Please describe

Awaiting: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

Switch to macos-13 runner for precommit and assemble github actions due to macos-latest is now arm64 https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners

The github readme is having inconsistent chart compares to github website for macos14. https://github.com/actions/runner-images/blob/main/README.md

We will keep it to macos-13 for the time being. Thanks.

Plus, docker does not support M instances of apple silicon. https://github.com/douglascamata/setup-docker-macos-action?tab=readme-ov-file#arm64-processors-m1-m2-m3-series-used-on-macos-14-images-are-unsupported

Related Issues

https://github.com/opensearch-project/OpenSearch/actions/runs/8848170993/job/24297484417?pr=13410

Describe the solution you'd like

See desciption

Related component

Other

Describe alternatives you've considered

No response

Additional context

No response

PRs:

peterzhuamazon commented 4 months ago

Related:

peterzhuamazon commented 3 months ago

MacOS Arm64 Min Artifact is out now:

peterzhuamazon commented 3 months ago

Waiting for apple to support adding nested virtualization on M3 and later instances on macos15. https://developer.apple.com/documentation/virtualization/vzgenericplatformconfiguration/4360553-isnestedvirtualizationsupported

Thanks.