Add tasks for building all boxes
This commit is contained in:
parent
2df893e4f4
commit
53484d3caf
1 changed files with 17 additions and 0 deletions
|
@ -148,6 +148,9 @@ namespace :boxes do
|
||||||
BuildUbuntuBoxTask.
|
BuildUbuntuBoxTask.
|
||||||
new(:raring64,
|
new(:raring64,
|
||||||
:raring, 'amd64', chef: false, puppet: puppet, babushka: babushka)
|
:raring, 'amd64', chef: false, puppet: puppet, babushka: babushka)
|
||||||
|
|
||||||
|
desc 'Build all Ubuntu boxes'
|
||||||
|
task :all => %w( precise64 quantal64 raring64 )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -168,6 +171,20 @@ namespace :boxes do
|
||||||
BuildDebianBoxTask.
|
BuildDebianBoxTask.
|
||||||
new(:sid64,
|
new(:sid64,
|
||||||
:sid, 'amd64', chef: false, puppet: puppet, babushka: babushka)
|
:sid, 'amd64', chef: false, puppet: puppet, babushka: babushka)
|
||||||
|
|
||||||
|
desc 'Build all Debian boxes'
|
||||||
|
task :all => %w( squeeze64 wheezy64 sid64 )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :enable_puppet do
|
||||||
|
ENV['PUPPET'] = '1'
|
||||||
|
end
|
||||||
|
|
||||||
|
task :enable_chef do
|
||||||
|
ENV['CHEF'] = '1'
|
||||||
|
end
|
||||||
|
|
||||||
|
desc 'Build all base boxes for release'
|
||||||
|
task :build_all => %w( enable_puppet enable_chef ubuntu:build:all debian:build:all )
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue