mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
lock Docker version to 4.10.0 on macOS runners (#7082)
The macOS runners installing Docker are having problems initializing the new Docker version (4.11.0) which effectively blocks PRs with Go code. This locks the Docker version we install to 4.10.0, which works until we figure out a solution or a new Docker version goes out.
This commit is contained in:
parent
82ba1a00a2
commit
e40c5b02c1
4 changed files with 8 additions and 4 deletions
3
.github/workflows/fleet-and-orbit.yml
vendored
3
.github/workflows/fleet-and-orbit.yml
vendored
|
|
@ -198,7 +198,8 @@ jobs:
|
|||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
- name: Install Docker
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@ jobs:
|
|||
if: contains(matrix.os, 'macos')
|
||||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
|
|
|||
3
.github/workflows/fleetctl-preview.yml
vendored
3
.github/workflows/fleetctl-preview.yml
vendored
|
|
@ -24,7 +24,8 @@ jobs:
|
|||
if: contains(matrix.os, 'macos')
|
||||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
|
|
|||
3
.github/workflows/test-packaging.yml
vendored
3
.github/workflows/test-packaging.yml
vendored
|
|
@ -34,7 +34,8 @@ jobs:
|
|||
if: matrix.os == 'macos-latest'
|
||||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue