Skip to content

Commit

Permalink
update ci fedora 38
Browse files Browse the repository at this point in the history
Signed-off-by: Kay Yan <[email protected]>
  • Loading branch information
yankay committed Nov 1, 2023
1 parent a9fbf70 commit 68a6992
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/cgroup2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
docker:
name: Cgroup v2
# nested virtualization is only available on macOS hosts
runs-on: macos-12
runs-on: macos-13
timeout-minutes: 30
strategy:
fail-fast: false
Expand All @@ -31,6 +31,16 @@ jobs:
- name: Check out code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

#fix https://github.com/kubernetes-sigs/kind/issues/3411
# brew uninstall virtualbox
# vbcask_url="https://raw.githubusercontent.com/Homebrew/homebrew-cask/aa3c55951fc9d687acce43e5c0338f42c1ddff7b/Casks/virtualbox.rb"
# curl -LO $vbcask_url
# brew install ./virtualbox.rb
# rm ./virtualbox.rb
- name: Setup Virtualbox
run: |
brew cask install vagrant
- name: Boot Fedora
run: |
ln -sf ./hack/ci/Vagrantfile ./Vagrantfile
Expand Down
6 changes: 1 addition & 5 deletions hack/ci/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

# Vagrant box for testing kind with cgroup v2
Vagrant.configure("2") do |config|
# `config.vm.box = "fedora/37-cloud-base"` seems flaky,
# so we specify the URL explicitly.
# Mirrors can be found at here: https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora/37/x86_64
config.vm.box = "dummy"
config.vm.box_url = "https://iad.mirror.rackspace.com/fedora/releases/37/Cloud/x86_64/images/Fedora-Cloud-Base-Vagrant-37-1.7.x86_64.vagrant-virtualbox.box"
config.vm.box = "fedora/38-cloud-base"
# macOS github actions runners have 3 cores and 14 GB of ram
# assume some ram is needed for the host environment but very little CPU
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
Expand Down

0 comments on commit 68a6992

Please sign in to comment.