Skip to content

Commit

Permalink
add Fedora 37 and 38 Vagrant images
Browse files Browse the repository at this point in the history
Summary:
Fedora 36 is EOL, so I wanted to verify that Watchman built correctly
on Fedora 37 and Fedora 38. (It does.)

Reviewed By: genevievehelsel

Differential Revision: D48566983

fbshipit-source-id: 6796629c23a56660d973a31e20b1ff5d0cb85ddc
  • Loading branch information
chadaustin authored and facebook-github-bot committed Aug 23, 2023
1 parent ec7db31 commit 6373d34
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions watchman/build/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,23 +165,25 @@ Vagrant.configure("2") do |config|
sync_fuse ubuntu
end

config.vm.define "watchman-fedora-35", autostart: false do |fedora35|
fedora35.vm.box = "generic/fedora35"
fedora35.vm.hostname = "watchman-fedora-35"

provision_fedora fedora35
provider_linux fedora35
sync_fuse fedora35
end

config.vm.define "watchman-fedora-36", autostart: false do |fedora36|
fedora36.vm.box = "generic/fedora36"
fedora36.vm.hostname = "watchman-fedora-36"

provision_fedora fedora36
provider_linux fedora36
sync_fuse fedora36
end
fedora_vms = [
{name: "watchman-fedora-35", box: "generic/fedora35"},
{name: "watchman-fedora-36", box: "generic/fedora36"},
{name: "watchman-fedora-37", box: "generic/fedora37"},
# boxen needs many more packages installed by default. Maybe
# generic/ will release a Fedora 38 box soon.
{name: "watchman-fedora-38", box: "boxen/fedora-38-x86_64"},
]

fedora_vms.each { |fedora_vm|
config.vm.define fedora_vm[:name], autostart: false do |config|
config.vm.box = fedora_vm[:box]
config.vm.hostname = fedora_vm[:name]

provision_fedora config
provider_linux config
sync_fuse config
end
}

config.vm.define "watchman-freebsd" do |freebsd|
freebsd.vm.box = "generic/freebsd12"
Expand Down

0 comments on commit 6373d34

Please sign in to comment.