Created recipe to install reqs for CI
This commit is contained in:
parent
ba59964855
commit
fde3e78286
|
@ -1,6 +1,2 @@
|
|||
Django==1.4
|
||||
django-piston==0.2.3
|
||||
django-celery-with-redis==2.5
|
||||
jsonfield==0.9
|
||||
django-nose==1.0
|
||||
simplejson==2.5.2
|
||||
# Provide requirements to vagrant/cookbooks/nailgun/recipes/deps.rb
|
||||
# To install it, see scripts/ci/solo.rb
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"recipes": [ "nailgun::deps" ]
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# To run chef-solo from this folder use the following command:
|
||||
# sudo chef-solo -l debug -c solo.rb -j solo.json
|
||||
|
||||
file_cache_path "/tmp/chef"
|
||||
cookbook_path File.expand_path(File.join(File.dirname(__FILE__), '../../vagrant/cookbooks'))
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
{ 'django-piston' => '0.2.3',
|
||||
'django-celery' => '2.5.5',
|
||||
'redis' => '2.4.12',
|
||||
'jsonfield' => '0.9',
|
||||
'django-nose' => '1.0',
|
||||
'simplejson' => '2.5.2'
|
||||
}.each do |package, version|
|
||||
python_pip package do
|
||||
version version
|
||||
action :install
|
||||
end
|
||||
end
|
||||
|
|
@ -1,16 +1,6 @@
|
|||
|
||||
include_recipe 'django'
|
||||
|
||||
{ 'django-piston' => '0.2.3',
|
||||
'django-celery' => '2.5.5',
|
||||
'redis' => '2.4.12',
|
||||
'jsonfield' => '0.9'
|
||||
}.each do |package, version|
|
||||
python_pip package do
|
||||
version version
|
||||
action :install
|
||||
end
|
||||
end
|
||||
include_recipe 'nailgun::deps'
|
||||
|
||||
execute 'Preseed Nailgun database' do
|
||||
command 'python manage.py loaddata nailgun/fixtures/default_env.json'
|
||||
|
|
Loading…
Reference in New Issue