File tree Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -174,11 +174,10 @@ jobs:
174
174
uses : crazy-max/ghaction-dump-context@v2
175
175
176
176
test-freebsd-amd64 :
177
- runs-on : macos-13
177
+ runs-on : ubuntu-22.04
178
178
needs :
179
179
- build
180
180
env :
181
- VAGRANT_VAGRANTFILE : hack/Vagrantfile.freebsd13
182
181
GOOS : freebsd
183
182
steps :
184
183
-
@@ -195,25 +194,23 @@ jobs:
195
194
uses : actions/cache@v4
196
195
with :
197
196
path : ~/.vagrant.d/boxes
198
- key : ${{ runner.os }}-vagrant-${{ hashFiles('hack/Vagrantfile.freebsd13 ') }}
197
+ key : ${{ runner.os }}-vagrant-${{ hashFiles('hack/Vagrantfile.freebsd ') }}
199
198
restore-keys : |
200
199
${{ runner.os }}-vagrant-
201
200
-
202
- name : Install vagrant and VirtualBox
203
- run : |
204
- set -x
205
- brew tap hashicorp/tap
206
- brew install hashicorp/tap/hashicorp-vagrant
207
- brew install --cask virtualbox
208
- -
209
- name : Check versions
201
+ name : Install vagrant
210
202
run : |
211
203
set -x
204
+ sudo apt-get update
205
+ sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant vagrant-libvirt ruby-libvirt
206
+ sudo systemctl enable --now libvirtd
207
+ sudo chmod a+rw /var/run/libvirt/libvirt-sock
208
+ vagrant plugin install vagrant-libvirt
212
209
vagrant --version
213
- VBoxManage -v
214
210
-
215
211
name : Set up vagrant
216
212
run : |
213
+ ln -sf hack/Vagrantfile.freebsd Vagrantfile
217
214
vagrant up --no-tty
218
215
-
219
216
name : Smoke test
@@ -233,7 +230,3 @@ jobs:
233
230
if : always()
234
231
run : |
235
232
vagrant ssh -- "sudo cat /vagrant/.tmp/logs/containerd"
236
- -
237
- name : Dump context
238
- if : failure()
239
- uses : crazy-max/ghaction-dump-context@v2
Original file line number Diff line number Diff line change 2
2
# vi: set ft=ruby :
3
3
4
4
Vagrant . configure ( "2" ) do |config |
5
- config . vm . define "fbsd_13_2" do |fbsd_13_2 |
6
- fbsd_13_2 . vm . box = "freebsd/FreeBSD-13.2-RELEASE"
7
- end
8
-
5
+ config . vm . box = "generic/freebsd14"
9
6
config . vm . boot_timeout = 900
10
7
config . vm . synced_folder "." , "/vagrant" , type : "rsync"
11
8
config . ssh . keep_alive = true
You can’t perform that action at this time.
0 commit comments