This repository has been archived by the owner on Jul 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sam Kottler
committed
Jun 25, 2014
1 parent
0ecec2c
commit aa185c9
Showing
5 changed files
with
39 additions
and
0 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
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,7 @@ | ||
name 'rubygems-ci' | ||
maintainer 'RubyGems.org ops team' | ||
|
||
version '0.0.1' | ||
|
||
depends 'jenkins' | ||
depends 'rubygems' |
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,17 @@ | ||
include_recipe 'rubygems' | ||
|
||
plugins = data_bag_item('jenkins', 'plugins') | ||
|
||
plugins.each do |plugin| | ||
jenkins_plugin plugin do | ||
action [ :install, :enable ] | ||
end | ||
end | ||
|
||
# TODO: remove these three attributes once https://issues.jenkins-ci.org/browse/JENKINS-22346 | ||
# is fixed. | ||
node.default['jenkins']['master']['install_method'] = 'war' | ||
node.default['jenkins']['master']['version'] = '1.555' | ||
node.default['jenkins']['master']['source'] = "#{node['jenkins']['master']['mirror']}/war/#{node['jenkins']['master']['version']}/jenkins.war" | ||
|
||
include_recipe 'jenkins' |
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,5 @@ | ||
name 'ci' | ||
description 'CI server(s) powered by Jenkins' | ||
run_list( | ||
'recipe[rubygems-ci]' | ||
) |