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 0c044ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/cgroup2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ jobs:
- name: Check out code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

# fix https://github.com/kubernetes-sigs/kind/issues/3411
- name: Setup Virtualbox
run: |
brew uninstall virtualbox
vbcask_url="https://raw.githubusercontent.com/Homebrew/homebrew-cask/aa3c55951fc9d687acce43e5c0338f42c1ddff7b/Casks/virtualbox.rb"
download_with_retries $vbcask_url
brew install ./virtualbox.rb
rm ./virtualbox.rb
- 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 0c044ef

Please sign in to comment.