Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added hudson

  • Loading branch information...
commit f8469127c8cc25429209282ad4c1a675aa77c2fe 1 parent e8de2ee
@jferris jferris authored
Showing with 16 additions and 2 deletions.
  1. +1 −0  config.rb
  2. +1 −2  deploy.rb
  3. +3 −0  main.rb
  4. +11 −0 packages/hudson.rb
View
1  config.rb
@@ -0,0 +1 @@
+HOST = "192.168.56.101"
View
3  deploy.rb
@@ -1,4 +1,3 @@
-# Fill slice_url in - where you're installing your stack to
-role :master, "192.168.56.101"
+role :master, HOST
default_run_options[:pty] = true
View
3  main.rb
@@ -1,3 +1,5 @@
+require 'config'
+require 'packages/hudson'
require 'packages/ruby'
deployment do
@@ -13,6 +15,7 @@
end
policy :ci, :roles => :master do
+ requires :hudson
requires :ruby
requires :rubygems
end
View
11 packages/hudson.rb
@@ -0,0 +1,11 @@
+package :hudson do
+ description 'Hudson CI Server'
+ deb "http://hudson-ci.org/downloads/debian/hudson.deb"
+ requires :hudson_dependencies
+end
+
+package :hudson_dependencies do
+ description "Hudson Dependencies"
+ apt %w(daemon openjdk-6-jre java-virtual-machine)
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.