Move Vagrant-based tests from GitHub Actions to Cirrus CI
Cirrus CI supports nested virtualization and free to use from open source projects. runc has been using the service since https://github.com/opencontainers/runc/pull/3088. Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -19,17 +19,23 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = ENV["BOX"] || "fedora/35-cloud-base"
|
||||
config.vm.box_version = ENV["BOX_VERSION"]
|
||||
|
||||
memory = 4096
|
||||
cpus = 2
|
||||
disk_size = 60
|
||||
config.vm.provider :virtualbox do |v|
|
||||
v.memory = memory
|
||||
v.cpus = cpus
|
||||
v.disk :disk, size: "#{disk_size}GB", primary: true
|
||||
end
|
||||
config.vm.provider :libvirt do |v|
|
||||
v.memory = memory
|
||||
v.cpus = cpus
|
||||
v.machine_virtual_size = disk_size
|
||||
end
|
||||
|
||||
config.vm.provision 'shell', path: 'script/resize-vagrant-root.sh'
|
||||
|
||||
# Disabled by default. To run:
|
||||
# vagrant up --provision-with=upgrade-packages
|
||||
# To upgrade only specific packages:
|
||||
|
||||
Reference in New Issue
Block a user