Permalink
Browse files

Add Lobot CI

Change-Id: Ie58324ae197c0ef9ee4d8c968cdf68d44463e0aa
  • Loading branch information...
1 parent 9fb7b90 commit 9528c4d23f435cdf866c19e426e91ac8ba0f4d78 @mariash mariash committed Jan 17, 2013
Showing with 73 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +2 −1 micro/Gemfile
  3. +32 −0 micro/Gemfile.lock
  4. +30 −0 micro/config/lobot.yml.template
  5. +7 −0 micro/script/ci_build.sh
View
@@ -2,4 +2,5 @@
micro/public/assets/js/*.js
micro/spec/micro/tmp/
.idea
-micro/tmp
+micro/tmp
+lobot.yml
View
@@ -7,7 +7,7 @@ gem 'netaddr'
gem 'blobstore_client', '~> 0.3.13'
gem 'posix-spawn'
gem 'ruby-atmos-pure'
-gem 'sigar', ">=0.7.2"
+gem 'sigar', '>=0.7.2'
gem 'uuidtools'
gem 'yajl-ruby', require: 'yajl/json_gem'
gem 'json'
@@ -58,4 +58,5 @@ group :development do
gem 'jasmine', '= 1.3.0'
gem 'execjs'
gem 'therubyracer'
+ gem 'lobot', :git => 'git://github.com/pivotal/lobot.git', :submodules => true
end
View
@@ -12,6 +12,19 @@ GIT
monit_api (1.0.2)
crack
+GIT
+ remote: git://github.com/pivotal/lobot.git
+ revision: 927bca39678be387237e7434bd89242d98b7c8a1
+ submodules: true
+ specs:
+ lobot (2.0.1.pre)
+ ci_reporter (~> 1.7)
+ fog (~> 1.6)
+ hashie
+ httpclient
+ net-ssh
+ thor
+
GEM
remote: http://rubygems.org/
specs:
@@ -57,11 +70,24 @@ GEM
daemons (1.1.9)
diff-lcs (1.1.3)
eventmachine (1.0.0)
+ excon (0.16.10)
execjs (1.4.0)
multi_json (~> 1.0)
fakeweb (1.3.0)
ffi (1.2.0)
+ fog (1.8.0)
+ builder
+ excon (~> 0.14)
+ formatador (~> 0.2.0)
+ mime-types
+ multi_json (~> 1.0)
+ net-scp (~> 1.0.4)
+ net-ssh (>= 2.1.3)
+ nokogiri (~> 1.5.0)
+ ruby-hmac
+ formatador (0.2.4)
gibberish (1.2.0)
+ hashie (1.2.0)
highline (1.6.15)
hike (1.2.1)
httpclient (2.3.0.1)
@@ -85,7 +111,11 @@ GEM
eventmachine (>= 0.12.10)
json_pure (>= 1.6.1)
thin (>= 1.3.1)
+ net-scp (1.0.4)
+ net-ssh (>= 1.99.1)
+ net-ssh (2.6.3)
netaddr (1.5.0)
+ nokogiri (1.5.6)
posix-spawn (0.3.6)
progressbar (0.12.0)
rack (1.4.1)
@@ -142,6 +172,7 @@ GEM
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
+ thor (0.16.0)
tilt (1.3.3)
uglifier (1.3.0)
execjs (>= 0.3.0)
@@ -167,6 +198,7 @@ DEPENDENCIES
highline
jasmine (= 1.3.0)
json
+ lobot!
monit_api!
nats (= 0.4.22)
netaddr
@@ -0,0 +1,30 @@
+---
+ssh_port: 22
+master: <YOUR IP>
+server_ssh_key: ~/.ssh/id_rsa
+recipes:
+- pivotal_ci::jenkins
+- pivotal_ci::limited_travis_ci_environment
+- pivotal_ci
+cookbook_paths:
+- ./chef/cookbooks/
+- ./chef/travis-cookbooks/ci_environment
+node_attributes:
+ jenkins:
+ builds:
+ - name: micro
+ repository: git://github.com/cloudfoundry/micro.git
+ branch: master
+ command: micro/script/ci_build.sh
+ travis_build_environment:
+ user: jenkins
+ group: nogroup
+ home: /var/lib/jenkins
+ nginx:
+ basic_auth_user: <YOUR AUTH USER>
+ basic_auth_password: <YOUR AUTH PASSWORD>
+instance_size: c1.medium
+github_ssh_key: ~/.ssh/id_rsa
+aws_key: <YOUR AWS KEY>
+aws_secret: <YOUR AWS SECRET>
+instance_id: <YOUR AWS INSTANCE ID>
View
@@ -0,0 +1,7 @@
+#!/bin/bash -l
+
+source .rvmrc
+cd micro
+echo "Installing gems"
+(gem install bundler --no-ri --no-rdoc) && (bundle check || bundle install)
+rspec

0 comments on commit 9528c4d

Please sign in to comment.