This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spike to try out the travis cookbooks
- Loading branch information
Brian Cunnie & Matthew Kocher
committed
Dec 8, 2011
1 parent
e31c638
commit 9d776b8
Showing
6 changed files
with
160 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/attributes/travis.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
travis_yaml = <<eos | ||
json: | ||
rvm: | ||
default: 1.8.7 | ||
rubies: | ||
- name: 1.9.3 | ||
- name: rbx-head | ||
arguments: --branch 2.0.testing | ||
using: 1.8.7 | ||
- name: rbx-head | ||
arguments: -n d19 --branch 2.0.testing -- --default-version=1.9 | ||
using: 1.9.3 | ||
check_for: rbx-head-d19 | ||
- name: 1.8.7 | ||
- name: jruby | ||
- name: ree | ||
- name: 1.9.2 | ||
- name: ruby-head | ||
- name: 1.8.6 | ||
gems: | ||
- bundler | ||
- rake | ||
- chef | ||
aliases: | ||
rbx: rbx-head | ||
rbx-2.0: rbx-head | ||
rbx-2.0.0pre: rbx-head | ||
rbx-18mode: rbx-head | ||
rbx-19mode: rbx-head-d19 | ||
mysql: | ||
server_root_password: "" | ||
postgresql: | ||
max_connections: 256 | ||
travis_build_environment: | ||
use_tmpfs_for_builds: false | ||
eos | ||
|
||
travis_config = YAML.load(travis_yaml) | ||
default.merge(travis_config['json']) |
22 changes: 12 additions & 10 deletions
22
lib/generators/lobot/templates/chef/cookbooks/pivotal_ci/recipes/default.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
include_recipe "pivotal_server::imagemagick" | ||
include_recipe "pivotal_server::sqlite" | ||
include_recipe "pivotal_server::libxml_prereqs" | ||
include_recipe "pivotal_server::nginx" | ||
include_recipe "pivotal_server::file" | ||
include_recipe "pivotal_server::curl_devel" | ||
include_recipe "pivotal_server::ca_cert" | ||
include_recipe "pivotal_server::node_js" | ||
include_recipe "pivotal_ci::id_rsa" | ||
include_recipe "pivotal_ci::jenkins" | ||
# include_recipe "pivotal_server::imagemagick" | ||
# include_recipe "pivotal_server::sqlite" | ||
# include_recipe "pivotal_server::libxml_prereqs" | ||
# include_recipe "pivotal_server::nginx" | ||
# include_recipe "pivotal_server::file" | ||
# include_recipe "pivotal_server::curl_devel" | ||
# include_recipe "pivotal_server::ca_cert" | ||
# include_recipe "pivotal_server::node_js" | ||
# include_recipe "pivotal_ci::id_rsa" | ||
# include_recipe "pivotal_ci::jenkins" | ||
|
||
execute "touch /tmp/help_im_stuck_in_the_machine" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters