A lightweight solution for configuration of baremetal nodes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Vagrantfile 979B

1234567891011121314151617181920212223242526272829
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. Vagrant.configure("2") do |config|
  4. config.vm.box = "generic/ubuntu1604"
  5. [:virtualbox, :parallels, :libvirt, :hyperv].each do |provider|
  6. config.vm.provider provider do |vplh, override|
  7. vplh.cpus = 4
  8. vplh.memory = 4096
  9. end
  10. end
  11. config.vm.synced_folder "./", "/root/deploy/airship-divingbell"
  12. config.vm.define "dbtest" do |node|
  13. node.vm.hostname = "dbtest"
  14. node.vm.provision :shell, inline: <<-SHELL
  15. #mkdir /root/deploy
  16. #git clone https://git.airshipit.org/airship-divingbell /root/deploy/airship-divingbell
  17. git clone https://git.openstack.org/openstack/openstack-helm-infra /root/deploy/openstack-helm-infra
  18. cd /root/deploy/openstack-helm-infra
  19. ./tools/gate/devel/start.sh full
  20. cd /root/deploy/airship-divingbell/
  21. ./tools/gate/scripts/010-build-charts.sh
  22. ./tools/gate/scripts/020-test-divingbell.sh
  23. SHELL
  24. end
  25. end