diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2020-04-13 12:56:55 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2020-04-13 12:56:55 +0300 |
commit | d18920e62357d8ef53c160d32ed4b173b1860b9a (patch) | |
tree | 498c75a6840633abea7e6fcb956467a779292830 /vagrant | |
parent | 43ab0522996a2141293acfc9cb037bd3ae002296 (diff) | |
download | bindfs-d18920e62357d8ef53c160d32ed4b173b1860b9a.tar.gz |
Added centos8 to Vagrant tests.
Diffstat (limited to 'vagrant')
-rw-r--r-- | vagrant/centos8/Vagrantfile | 22 | ||||
-rwxr-xr-x | vagrant/test.rb | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vagrant/centos8/Vagrantfile b/vagrant/centos8/Vagrantfile new file mode 100644 index 0000000..3676bc2 --- /dev/null +++ b/vagrant/centos8/Vagrantfile @@ -0,0 +1,22 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "centos/8" + + config.vm.synced_folder ".", "/vagrant", disabled: true + config.vm.synced_folder "../../", "/bindfs", + type: "rsync", + rsync__auto: false, + rsync__exclude: ["vagrant"], + rsync__args: ["-av", "--delete-after"] + + config.vm.provider "virtualbox" do |v| + v.name = "bindfs-centos8" + end + + config.vm.provision "shell", inline: <<-SHELL + yum install -y fuse fuse-devel gcc make pkg-config ruby valgrind + echo user_allow_other > /etc/fuse.conf + SHELL +end diff --git a/vagrant/test.rb b/vagrant/test.rb index b49da83..0077b91 100755 --- a/vagrant/test.rb +++ b/vagrant/test.rb @@ -35,7 +35,7 @@ end dirs = Dir.glob('*/Vagrantfile').map { |path| File.dirname(path) } unless specifically_selected_vms.empty? - dirs = dirs.select { |dir| ARGV.include?(dir) } + dirs = dirs.select { |dir| specifically_selected_vms.include?(dir) } end def with_retries(n, options = {}, &block) |