29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
========================== For Ubuntu 12.10 server =============================
|
|
------------------------------- For tests -------------------------------------
|
|
sudo apt-get install python-pip postgresql postgresql-server-dev-all python-dev
|
|
sudo apt-get install python-libvirt libvirt-bin virt-manager
|
|
sudo apt-get install qemu-utils qemu-kvm pm-utils
|
|
virt-manager # for creating pool 'default'
|
|
sudo pip install virtualenv
|
|
sudo usermod $USER -G libvirtd,sudo
|
|
reboot
|
|
#check output
|
|
kvm-ok
|
|
#should be 'KVM acceleration can be used'
|
|
cat /sys/module/kvm_intel/parameters/nested
|
|
#should be 'Y'
|
|
virtualenv venv/fuelweb_test --system-site-packages
|
|
. venv/fuelweb_test/bin/activate
|
|
pip install -r fuelweb_test/requirements.txt
|
|
sudo sed -ir 's/peer/trust/' /etc/postgresql/9.1/main/pg_hba.conf
|
|
sudo service postgresql restart
|
|
django-admin.py syncdb --settings devops.settings
|
|
|
|
sh "utils/jenkins/system_tests.sh" -t test -w $(pwd) -j "fuelweb_test" -i "$(pwd)/build/iso/fuelweb-centos-6.4-x86_64.iso" -V $(pwd)/venv/fuelweb_test
|
|
|
|
# For more information about test run you could use
|
|
sh "utils/jenkins/system_tests.sh" -h
|
|
|
|
------------------------------- For 'make iso' -----------------------------------
|
|
http://docs.mirantis.com/fuel-dev/develop/env.html#building-the-fuel-iso
|