-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8042 from madhavajay/madhava/colima-fix
Fixed issue with colima on mac runners
- Loading branch information
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,14 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-pip-py${{ matrix.python-version }}- | ||
- name: Fix Colima issue on MacOS Runners | ||
if: steps.changes.outputs.frontend == 'true' && matrix.os == 'macos-latest' | ||
shell: bash | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew update | ||
brew reinstall qemu | ||
- name: Docker on MacOS | ||
if: steps.changes.outputs.frontend == 'true' && matrix.os == 'macos-latest' | ||
uses: crazy-max/[email protected] | ||
|
@@ -144,6 +152,14 @@ jobs: | |
curl -sSL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose | ||
chmod +x ~/.docker/cli-plugins/docker-compose | ||
- name: Fix Colima issue on MacOS Runners | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
shell: bash | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew update | ||
brew reinstall qemu | ||
- name: Docker on MacOS | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
uses: crazy-max/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,6 +120,14 @@ jobs: | |
curl -sSL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose | ||
chmod +x ~/.docker/cli-plugins/docker-compose | ||
- name: Fix Colima issue on MacOS Runners | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
shell: bash | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew update | ||
brew reinstall qemu | ||
- name: Docker on MacOS | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
uses: crazy-max/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,6 +132,14 @@ jobs: | |
curl -sSL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose | ||
chmod +x ~/.docker/cli-plugins/docker-compose | ||
- name: Fix Colima issue on MacOS Runners | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
shell: bash | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew update | ||
brew reinstall qemu | ||
- name: Docker on MacOS | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
uses: crazy-max/[email protected] | ||
|
@@ -340,6 +348,14 @@ jobs: | |
curl -sSL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose | ||
chmod +x ~/.docker/cli-plugins/docker-compose | ||
- name: Fix Colima issue on MacOS Runners | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
shell: bash | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew update | ||
brew reinstall qemu | ||
- name: Docker on MacOS | ||
if: steps.changes.outputs.stack == 'true' && matrix.os == 'macos-latest' | ||
uses: crazy-max/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,14 @@ jobs: | |
pip install --upgrade tox packaging wheel --default-timeout=60 | ||
python -c "import platform; import os; os.system('pip install jaxlib==0.4.10 -f https://whls.blob.core.windows.net/unstable/index.html') if platform.system().lower() == 'windows' else ''" | ||
- name: Fix Colima issue on MacOS Runners | ||
if: steps.changes.outputs.syft == 'true' && matrix.os == 'macos-13' | ||
shell: bash | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew update | ||
brew reinstall qemu | ||
- name: Docker on MacOS | ||
if: steps.changes.outputs.syft == 'true' && matrix.os == 'macos-13' | ||
uses: crazy-max/[email protected] | ||
|
@@ -253,6 +261,14 @@ jobs: | |
chmod +x ~/.docker/cli-plugins/docker-compose | ||
docker compose version | ||
- name: Fix Colima issue on MacOS Runners | ||
if: (steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true') && matrix.os == 'macos-latest' | ||
shell: bash | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew update | ||
brew reinstall qemu | ||
- name: Docker on MacOS | ||
if: (steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true') && matrix.os == 'macos-latest' | ||
uses: crazy-max/[email protected] | ||
|