Commit 1dab81ced0888087619073368ed71be97d075788

Authored by Antonio Terceiro
1 parent e0f0255d

ci: install stuff needed for tests

Rakefile.ci
1 1 ENV['CHAKE_NODES'] = 'nodes-ci.yaml'
2 2 ENV['CHAKE_RSYNC_OPTIONS'] = '--exclude .vagrant/ --exclude docs/_build'
  3 +ENV['CHAKE_TMPDIR'] = 'tmp/chake.ci'
3 4 require 'chake'
... ...
cookbooks/ci/files/default/contrib.list 0 → 100644
... ... @@ -0,0 +1,2 @@
  1 +deb http://ftp.br.debian.org/debian/ jessie contrib
  2 +deb-src http://ftp.br.debian.org/debian/ jessie contrib
... ...
cookbooks/ci/recipes/default.rb
1   -# nothing yet
  1 +include_recipe 'ci::spb'
... ...
cookbooks/ci/recipes/spb.rb 0 → 100644
... ... @@ -0,0 +1,15 @@
  1 +cookbook_file '/etc/apt/sources.list.d/contrib.list' do
  2 + notifies :run, 'execute[apt-update]', :immediately
  3 +end
  4 +
  5 +execute 'apt-update' do
  6 + command 'apt-get update'
  7 + action :nothing
  8 +end
  9 +package 'virtualbox'
  10 +
  11 +package 'vagrant'
  12 +package 'rake'
  13 +
  14 +# FIXME not in the archive yet
  15 +# package 'chake'
... ...