From 7ecf76e02ecdff786aa0309b78c1b2137b70fad1 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Tue, 2 Mar 2021 17:58:00 +0100 Subject: [PATCH] scripts/vagrant: Drop vagrant-cachier There's almost no benefit coming from it CI-wise since all our VMs are already fully provisioned. The speed up of nightly jobs, which do run package updates, is minimal. Overall, it only slowers deployment of the autotest VMs. Signed-off-by: Michal Berger Change-Id: I68d9530533f0b0d7d2fb72ce82706d6bc0cf2e6e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6637 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris --- scripts/vagrant/Vagrantfile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/scripts/vagrant/Vagrantfile b/scripts/vagrant/Vagrantfile index 20fe7d1f9..b543d9d93 100644 --- a/scripts/vagrant/Vagrantfile +++ b/scripts/vagrant/Vagrantfile @@ -171,17 +171,6 @@ def setup_ssh(config) end end -def setup_vagrant_cachier(config, plugins_sync_backend) - if Vagrant.has_plugin?("vagrant-cachier") - config.cache.scope = :box - config.cache.synced_folder_opts = plugins_sync_backend - else - puts 'vagrant-cachier caches apt/yum etc to speed subsequent vagrant up' - puts 'to enable install vagrant-cachier plugin: ' - puts 'vagrant plugin install vagrant-cachier' - end -end - def deploy_test_vm(config) return unless ENV['DEPLOY_TEST_VM'] == "1" return unless ENV['SPDK_DIR'] @@ -314,10 +303,6 @@ Vagrant.configure(2) do |config| # rsync artifacts from build copy_spdk_artifacts(config, plugins_sync_backend) - # vagrant-cachier caches apt/yum etc to speed subsequent - # vagrant up - setup_vagrant_cachier(config, plugins_sync_backend) - # use http proxy if avaiable setup_proxy(config, distro)