Commit 7ecf76e0 authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

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: default avatarMichal Berger <michalx.berger@intel.com>
Change-Id: I68d9530533f0b0d7d2fb72ce82706d6bc0cf2e6e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6637


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 344cc21e
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -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)